/* Giriş / Kayıt sayfasına özel stiller */

.auth { display: grid; min-height: calc(100vh - var(--header-h)); }

.auth-visual { display: none; position: relative; }
.auth-image { position: absolute; inset: 0; }
.auth-quote {
    position: absolute; left: 2.5rem; right: 2.5rem; bottom: 2.5rem;
    padding: 1.5rem 1.75rem; border-radius: var(--radius-lg);
    background: rgba(250, 248, 245, 0.9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.auth-quote p { font-family: var(--font-serif); font-style: italic; font-size: 1.3rem; color: var(--ink); line-height: 1.4; }
.auth-quote cite { display: block; margin-top: 0.5rem; font-style: normal; font-size: 0.85rem; color: var(--sage); }

.auth-panel { display: flex; justify-content: center; padding: 2rem 1.25rem 3rem; }
.auth-card { width: 100%; max-width: 440px; }

.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--stone); margin-bottom: 2rem; }
.auth-tab {
    min-height: 48px; border: none; background: none; cursor: pointer;
    font-family: var(--font-sans); font-size: 0.95rem; color: var(--ink-muted);
    border-bottom: 2px solid transparent; margin-bottom: -1px;
    transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.auth-tab.is-active { color: var(--ink); border-bottom-color: var(--ink); }

.auth-title { font-size: clamp(2rem, 5vw, 2.5rem); margin-bottom: 0.6rem; }
.auth-sub { margin-bottom: 1.75rem; }

.btn-block { width: 100%; }
.btn-google { width: 100%; background: #fff; border: 1px solid var(--stone); color: var(--ink); }
.btn-google:hover { border-color: var(--ink); }

.divider { display: flex; align-items: center; gap: 0.85rem; margin: 1.5rem 0; font-size: 0.825rem; color: var(--ink-muted); }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--stone); }

.field-hint { font-size: 0.8rem; color: var(--ink-muted); }
.optional { font-weight: 400; color: var(--ink-muted); }

.consent { display: flex; gap: 0.75rem; align-items: flex-start; margin: 0.5rem 0 1.5rem; font-size: 0.85rem; color: var(--ink-soft); cursor: pointer; }
.consent input { width: 18px; height: 18px; margin-top: 2px; flex-shrink: 0; accent-color: var(--sage); }
.consent-link { text-decoration: underline; text-underline-offset: 2px; }

.auth-switch { margin-top: 1.5rem; text-align: center; font-size: 0.9rem; }
.auth-switch a { color: var(--sage); font-weight: 500; }

.auth-alert { padding: 0.9rem 1rem; border-radius: var(--radius-sm); font-size: 0.9rem; margin-bottom: 1.5rem; }
.auth-alert.success { background: var(--sage-soft); color: var(--sage-dark); }
.auth-alert.error { background: #FDECEA; color: #8A1C12; }

.back-link { background: none; border: none; cursor: pointer; min-height: 44px; font-size: 0.9rem; color: var(--ink-muted); margin-bottom: 0.5rem; }
.back-link:hover { color: var(--ink); }

/* Soru grupları */
.q { border: none; margin-bottom: 1.75rem; }
.q legend, .q-label { font-weight: 500; font-size: 0.95rem; margin-bottom: 0.75rem; color: var(--ink); display: block; }
.country-group { margin-bottom: 1.75rem; }
.auth-select {
    width: 100%;
    min-height: 48px;
    padding: 0.7rem 2.5rem 0.7rem 1rem;
    border: 1px solid var(--stone);
    border-radius: var(--radius-sm);
    background-color: #fff;
    color: var(--ink);
    font-family: var(--font-sans);
    font-size: 0.95rem;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2378716C' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 16px;
    transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.auth-select:focus {
    outline: none;
    border-color: var(--sage);
    box-shadow: 0 0 0 3px var(--sage-soft);
}
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span {
    display: inline-flex; align-items: center; min-height: 44px; padding: 0 1.1rem;
    border: 1px solid var(--stone); border-radius: 999px; background: #fff;
    font-size: 0.9rem; color: var(--ink-soft);
    transition: all 0.2s var(--ease);
}
.chip:hover span { border-color: var(--ink); }
.chip input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip input:focus-visible + span { outline: 2px solid var(--sage); outline-offset: 2px; }

.inline-check { display: inline-flex; align-items: center; gap: 0.6rem; margin-top: 0.85rem; min-height: 44px; font-size: 0.9rem; color: var(--ink-soft); cursor: pointer; }
.inline-check input { width: 18px; height: 18px; accent-color: var(--sage); }

@media (min-width: 1024px) {
    .auth { grid-template-columns: 1fr 1fr; }
    .auth-visual { display: block; }
    .auth-panel { align-items: center; padding: 3rem; }
}
