/* Giriş / kayıt — site paleti ile uyumlu */

.auth-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: var(--page-bg);
}

.auth-main {
    flex: 1 0 auto;
    padding: 7.5rem 1.5rem 3rem;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    background:
        linear-gradient(rgba(18, 14, 10, 0.35), rgba(18, 14, 10, 0.35)),
        radial-gradient(ellipse 120% 80% at 50% -20%, rgba(195, 154, 107, 0.12), transparent 55%),
        url("../img/login.png") center / cover no-repeat;
}

.auth-panel {
    width: 100%;
    max-width: 26rem;
    padding: 2.25rem 2rem 2rem;
    background: #fdfaf6;
    border: 1px solid var(--border-subtle);
    border-radius: 0.5rem;
    box-shadow:
        0 1px 2px rgba(62, 51, 37, 0.06),
        0 12px 40px rgba(62, 51, 37, 0.06);
}

.auth-panel__eyebrow {
    margin: 0 0 0.35rem;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.auth-panel__title {
    margin: 0 0 0.5rem;
    font-family: "Outfit", "Poppins", sans-serif;
    font-size: 1.65rem;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.auth-panel__lead {
    margin: 0 0 1.5rem;
    font-size: 0.95rem;
    line-height: 1.55;
    color: var(--text-muted);
}

.auth-panel__lead a {
    color: var(--accent);
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.auth-panel__lead a:hover {
    color: var(--text-primary);
}

.auth-panel__err {
    margin: 0 0 1rem;
    padding: 0.65rem 0.85rem;
    font-size: 0.9rem;
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
    border-radius: 0.35rem;
}

.auth-panel__ok {
    margin: 0 0 1rem;
    padding: 0.65rem 0.85rem;
    font-size: 0.9rem;
    background: #f0fdf4;
    color: #166534;
    border: 1px solid #bbf7d0;
    border-radius: 0.35rem;
}

.auth-form__label {
    display: block;
    margin-top: 1rem;
    margin-bottom: 0.35rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-primary);
}

.auth-form__label:first-of-type,
.auth-form .auth-form__label:first-child {
    margin-top: 0;
}

.auth-form__optional {
    font-weight: 400;
    color: var(--text-muted);
}

.auth-form__input {
    display: block;
    width: 100%;
    padding: 0.65rem 0.85rem;
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--text-primary);
    background: #fff;
    border: 1px solid var(--border-subtle);
    border-radius: 0.35rem;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.auth-form__input:focus {
    outline: none;
    border-color: rgba(195, 154, 107, 0.65);
    box-shadow: 0 0 0 3px rgba(195, 154, 107, 0.15);
}

.auth-form__hint {
    display: block;
    margin-top: 0.35rem;
    font-size: 0.78rem;
    color: var(--text-muted);
}

.auth-form__check {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    margin-top: 0.85rem;
    font-size: 0.82rem;
    line-height: 1.45;
    color: var(--text-muted);
}

.auth-form__check input {
    margin-top: 0.2rem;
    width: 1rem;
    height: 1rem;
    flex: 0 0 auto;
}

.auth-form__check a {
    color: var(--text-primary);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.auth-form__check a:hover {
    color: var(--accent);
}

.auth-form__ghost-wrap {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.auth-form__ghost {
    opacity: 0;
    pointer-events: none;
}

.auth-form__submit {
    width: 100%;
    margin-top: 1.75rem;
    padding: 0.75rem 1.25rem;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #fdfaf6;
    background: #3e3325;
    border: 1px solid #2d2419;
    border-radius: 0.35rem;
    cursor: pointer;
    transition: background 0.15s ease, transform 0.1s ease;
}

.auth-form__submit:hover {
    background: #2d2419;
}

.auth-form__submit:active {
    transform: translateY(1px);
}

.auth-panel__foot {
    margin: 1.75rem 0 0;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border-subtle);
    font-size: 0.9rem;
}

.auth-panel__foot a {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--text-muted);
}

.auth-panel__foot a:hover {
    color: var(--accent);
}

.auth-page .site-footer {
    margin-top: 0;
    padding: 1.2rem 2rem 1.4rem;
    background: #fdfaf6;
}

@media (max-width: 520px) {
    .auth-panel {
        padding: 1.75rem 1.35rem 1.5rem;
    }

    .auth-panel__title {
        font-size: 1.4rem;
    }
}
