﻿/* ===== RW-846 Kullanıcı İşlemleri — profesyonel çift panelli kart ===== */
:root {
    --auth-accent: #7a2f8f; /* tema moru; gerekirse tek yerden ayarla */
    --auth-border: #e4e7ec;
    --auth-text: #1f2430;
    --auth-muted: #6b7280;
}

.account-auth {
    background: #eef1f6;
    padding: 70px 0;
}

.auth-wrapper {
    display: flex;
    max-width: 960px;
    margin: 0 auto;
    background: #fff;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 30px 70px rgba(17, 24, 39, .12);
    min-height: 580px;
}

/* Sol görsel panel */
.auth-visual {
    position: relative;
    flex: 0 0 44%;
    background-size: cover;
    background-position: center;
}

    .auth-visual::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(160deg, rgba(122,47,143,.45), rgba(20,20,40,.75));
    }

.auth-visual_content {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 42px 38px;
    color: #fff;
}

    .auth-visual_content h3 {
        color: #fff;
        font-size: 30px;
        line-height: 1.2;
        margin-bottom: 12px;
    }

    .auth-visual_content p {
        color: rgba(255,255,255,.85);
        margin: 0;
    }

/* Sağ form panel */
.auth-form {
    flex: 1;
    padding: 48px 46px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.auth-form_title {
    font-size: 26px;
    margin-bottom: 4px;
    color: var(--auth-text);
}

.auth-form_text {
    color: var(--auth-muted);
    margin-bottom: 26px;
}

.auth-form .form-group {
    margin-bottom: 16px;
}

    .auth-form .form-group input[type="text"],
    .auth-form .form-group input[type="email"],
    .auth-form .form-group input[type="password"] {
        width: 100%;
        height: 50px;
        padding: 10px 16px;
        border: 1px solid var(--auth-border);
        border-radius: 10px;
        background: #fff;
        transition: border-color .25s ease, box-shadow .25s ease;
    }

    .auth-form .form-group input:focus {
        border-color: var(--auth-accent);
        box-shadow: 0 0 0 3px rgba(122,47,143,.12);
        outline: none;
    }

.account-form_options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 4px;
}

    .account-form_options .check-box label {
        margin: 0;
        cursor: pointer;
        color: var(--auth-muted);
    }

.account-link {
    color: var(--auth-accent);
    font-weight: 600;
}

.auth-form .button-box .theme-btn {
    width: 100%;
    justify-content: center;
    margin-top: 6px;
}

.account-divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 22px 0;
    color: #9aa1ac;
}

    .account-divider::before, .account-divider::after {
        content: "";
        flex: 1;
        height: 1px;
        background: var(--auth-border);
    }

    .account-divider span {
        padding: 0 14px;
        font-size: 13px;
        text-transform: uppercase;
        letter-spacing: .5px;
    }

.social-login {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.social-login-btn {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    height: 50px;
    padding: 0 20px;
    border: 1px solid var(--auth-border);
    border-radius: 10px;
    background: #fff;
    color: #333;
    font-weight: 600;
    transition: box-shadow .25s ease, border-color .25s ease, transform .05s ease;
}

    .social-login-btn:hover {
        border-color: #cfd3da;
        box-shadow: 0 6px 16px rgba(0,0,0,.08);
        color: #333;
    }

    .social-login-btn:active {
        transform: translateY(1px);
    }

    .social-login-btn img {
        width: 20px;
        height: 20px;
    }

.account-card_footer {
    text-align: center;
    margin-top: 22px;
    color: var(--auth-muted);
}

    .account-card_footer a {
        color: var(--auth-accent);
        font-weight: 600;
    }

/* Responsive: mobilde alt alta */
@media (max-width: 767px) {
    .account-auth {
        padding: 30px 0;
    }

    .auth-wrapper {
        flex-direction: column;
        min-height: 0;
    }

    .auth-visual {
        flex: none;
        min-height: 170px;
    }

    .auth-visual_content {
        padding: 22px 24px;
    }

    .auth-form {
        padding: 32px 24px;
    }
}
