/* Giriş / Üye ol */
:root {
    --brand-color: #d4899f;
    --brand-dark: #b56b85;
    --accent-purple: #a87bb0;
    --dark-text: #4a3040;
    --gradient-brand: linear-gradient(135deg, #f4b8cc 0%, #d4899f 45%, #a87bb0 100%);
}

.auth-page-body {
    margin: 0;
    min-height: 100vh;
    font-family: 'Nunito', system-ui, sans-serif;
    color: var(--dark-text);
    background: #fdf8fa;
}

.auth-page {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
}

.auth-bg-shape {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.auth-bg-shape-1 {
    width: 420px;
    height: 420px;
    top: -120px;
    left: -100px;
    background: radial-gradient(circle, rgba(244, 184, 204, 0.35) 0%, transparent 70%);
}

.auth-bg-shape-2 {
    width: 360px;
    height: 360px;
    right: -80px;
    bottom: -80px;
    background: radial-gradient(circle, rgba(168, 123, 176, 0.22) 0%, transparent 70%);
}

.auth-layout {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr;
    max-width: 1040px;
    margin: 0 auto;
    padding: 24px 16px;
    align-items: center;
    gap: 32px;
}

/* Sol panel — masaüstü */
.auth-side {
    display: none;
}

.auth-side-inner {
    padding: 12px 8px;
}

.auth-side-eyebrow {
    margin: 0 0 10px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--brand-color);
}

.auth-side-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(2rem, 4vw, 2.6rem);
    font-weight: 600;
    line-height: 1.12;
    color: var(--dark-text);
    margin: 0 0 14px;
}

.auth-side-text {
    margin: 0 0 24px;
    font-size: 0.92rem;
    color: #8f7a86;
    line-height: 1.55;
    max-width: 360px;
}

.auth-side-perks {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.auth-side-perks li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.88rem;
    font-weight: 600;
    color: #6a5560;
}

.auth-side-perks i {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: #fff;
    border: 1px solid #f0e4ea;
    color: var(--brand-color);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.auth-main {
    width: 100%;
    max-width: 440px;
    margin: 0 auto;
}

.auth-top-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 14px;
    padding: 8px 12px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid #f0e4ea;
    font-size: 0.8rem;
    font-weight: 600;
    color: #8f7a86;
    text-decoration: none;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.auth-top-link:hover {
    background: #fff;
    color: var(--brand-color);
    border-color: #f0c4d4;
}

.auth-card {
    background: #fff;
    border: 1px solid #f0e4ea;
    border-radius: 22px;
    padding: 0;
    box-shadow: 0 24px 60px rgba(74, 48, 64, 0.1);
    overflow: hidden;
}

.auth-card-top {
    padding: 28px 28px 20px;
    background: linear-gradient(180deg, #fff9fb 0%, #fff 100%);
    border-bottom: 1px solid #f5eef2;
    text-align: center;
}

.auth-brand-link {
    display: inline-block;
    text-decoration: none;
    margin-bottom: 10px;
}

.auth-page .site-logo-text {
    display: inline-flex;
    align-items: center;
    line-height: 1.05;
}

.auth-page .site-logo-text-main {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-weight: 700;
    font-size: 1.75rem;
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 0.02em;
}

.auth-page .site-logo-img--auth {
    height: 42px;
    width: auto;
    object-fit: contain;
}

.auth-card-lead {
    margin: 0;
    font-size: 0.84rem;
    color: #8f7a86;
    line-height: 1.45;
}

.auth-tabs {
    display: flex;
    position: relative;
    margin: 0 28px;
    border-bottom: 1px solid #f5eef2;
}

.auth-tab {
    flex: 1;
    border: none;
    background: transparent;
    padding: 14px 0;
    font-family: 'Nunito', sans-serif;
    font-size: 0.88rem;
    font-weight: 700;
    color: #b09aa6;
    cursor: pointer;
    position: relative;
    z-index: 1;
}

.auth-tab.is-active {
    color: var(--dark-text);
}

.auth-tab-indicator {
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 50%;
    height: 2px;
    background: var(--gradient-brand);
    border-radius: 2px;
    transition: transform 0.25s ease;
}

.auth-panel {
    display: none;
    padding: 22px 28px 0;
}

.auth-panel.is-active {
    display: block;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.auth-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.auth-label {
    font-size: 0.76rem;
    font-weight: 600;
    color: #9a8490;
}

.auth-input-wrap {
    position: relative;
}

.auth-input-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.05rem;
    color: #c4b0ba;
    pointer-events: none;
    z-index: 1;
}

.auth-input {
    width: 100%;
    border: 1px solid #f0e4ea;
    border-radius: 12px;
    padding: 12px 14px 12px 42px;
    font-family: 'Nunito', sans-serif;
    font-size: 0.9rem;
    background: #faf8f9;
    color: var(--dark-text);
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
    box-sizing: border-box;
}

.auth-input.has-toggle {
    padding-right: 44px;
}

.auth-input:focus {
    outline: none;
    border-color: #f0c4d4;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(212, 137, 159, 0.12);
}

.auth-input:focus + .auth-input-icon,
.auth-input-wrap:focus-within .auth-input-icon {
    color: var(--brand-color);
}

.auth-input-code {
    padding-left: 14px;
    text-align: center;
    letter-spacing: 0.35em;
    font-weight: 700;
    font-size: 1.1rem;
}

.auth-toggle-password {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: transparent;
    color: #c4b0ba;
    font-size: 1.15rem;
    cursor: pointer;
    padding: 4px;
    z-index: 2;
}

.auth-toggle-password:hover {
    color: var(--brand-color);
}

.auth-row-between {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: -2px;
}

.auth-remember {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    color: #8f7a86;
    cursor: pointer;
    margin: 0;
}

.auth-remember input {
    accent-color: var(--brand-color);
}

.auth-link {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--brand-color);
    text-decoration: none;
}

.auth-link:hover {
    color: var(--brand-dark);
}

.auth-consents {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.auth-consent {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 0.76rem;
    color: #8f7a86;
    line-height: 1.45;
    cursor: pointer;
    margin: 0;
}

.auth-consent input {
    margin-top: 3px;
    accent-color: var(--brand-color);
    flex-shrink: 0;
}

.auth-submit-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    margin-top: 4px;
    padding: 14px 16px;
    border: none;
    border-radius: 12px;
    background: var(--gradient-brand);
    color: #fff;
    font-family: 'Nunito', sans-serif;
    font-size: 0.92rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 12px 28px rgba(212, 137, 159, 0.32);
    transition: opacity 0.2s, transform 0.15s;
    text-decoration: none;
}

.auth-submit-btn:hover:not(:disabled) {
    opacity: 0.95;
    transform: translateY(-1px);
    color: #fff;
}

.auth-submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.auth-trust-row {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    padding: 18px 28px 24px;
    border-top: 1px solid #f5eef2;
    margin-top: 20px;
}

.auth-trust-row span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.74rem;
    font-weight: 600;
    color: #b09aa6;
}

.auth-trust-row i {
    color: var(--brand-color);
    font-size: 0.95rem;
}

.auth-guest-checkout {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    margin: 0 28px 20px;
    padding: 12px 16px;
    border-radius: 10px;
    border: 1px solid #e8d8e0;
    background: #fff;
    color: var(--dark-text) !important;
    font-size: 0.86rem;
    font-weight: 600;
    text-decoration: none;
    transition: border-color 0.2s, background 0.2s;
}

.auth-guest-checkout:hover {
    border-color: var(--brand-color);
    background: #fdf8fa;
    color: var(--dark-text) !important;
}

.auth-verify-head {
    text-align: center;
    padding: 28px 28px 0;
}

.auth-verify-head h2 {
    font-family: 'Cormorant Garamond', Georgia, serif;
}

.auth-card-verify .auth-form {
    padding: 0 28px;
}

.auth-card-verify .auth-cancel-btn {
    margin: 14px 28px 24px;
    width: calc(100% - 56px);
}

.auth-verify-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 14px;
    border-radius: 50%;
    background: linear-gradient(135deg, #fce8ef, #fff5f8);
    border: 1px solid #f5d6e2;
    color: var(--brand-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.auth-verify-head h2 {
    margin: 0 0 8px;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--dark-text);
}

.auth-verify-head p {
    margin: 0;
    font-size: 0.84rem;
    color: #8f7a86;
    line-height: 1.45;
}

.auth-verify-target {
    margin-top: 8px !important;
    font-weight: 600;
    color: var(--brand-color) !important;
}

.auth-cancel-btn {
    display: block;
    width: 100%;
    margin-top: 10px;
    padding: 12px;
    border: 1px solid #f0e4ea;
    border-radius: 12px;
    background: #fff;
    color: #8f7a86;
    font-family: 'Nunito', sans-serif;
    font-size: 0.86rem;
    font-weight: 600;
    cursor: pointer;
}

.auth-cancel-btn:hover {
    background: #faf8f9;
}

.auth-info-box {
    display: flex;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 12px;
    background: #fff9fb;
    border: 1px solid #f5eef2;
    margin: 20px 28px;
}

.auth-info-box i {
    color: var(--brand-color);
    font-size: 1.3rem;
    flex-shrink: 0;
}

.auth-info-box p {
    margin: 0;
    font-size: 0.84rem;
    color: #8f7a86;
    line-height: 1.5;
}

.auth-info-box a {
    color: var(--brand-color);
    font-weight: 600;
}

.auth-submit-btn-link {
    margin: 0 28px 24px;
    width: calc(100% - 56px);
}

.auth-footer-note {
    margin: 16px 0 0;
    text-align: center;
    font-size: 0.72rem;
    color: #c4b0ba;
}

.d-none {
    display: none !important;
}

@media (min-width: 900px) {
    .auth-layout {
        grid-template-columns: 1fr 1fr;
        padding: 40px 32px;
        gap: 48px;
    }

    .auth-side {
        display: block;
    }

    .auth-main {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .auth-card-top,
    .auth-panel,
    .auth-tabs {
        padding-left: 20px;
        padding-right: 20px;
    }

    .auth-tabs {
        margin: 0 20px;
    }

    .auth-panel {
        padding-top: 18px;
    }

    .auth-trust-row {
        padding-left: 20px;
        padding-right: 20px;
    }
}
