/*
 * auth.css — Üyelik (Account) sayfaları: Giriş, Kayıt, Şifre sıfırlama,
 * E-posta doğrulama, Bilgilendirme.
 *
 * Temanın login.html tasarımı (iki sütunlu kart: koyu tanıtım paneli + form
 * paneli) baz alınmıştır. style.css yalnızca tema .html dosyalarından üretildiği
 * için (bkz. tailwind-suplement.css notu) bu sayfaların kullandığı bazı Tailwind
 * sınıfları (max-w-[520px], p-[50px_50px] vb.) style.css'te YOKTU ve kartlar
 * bozuk görünüyordu. public-content.css / home-sections.css ile aynı yaklaşım:
 * Tailwind'den BAĞIMSIZ, anlamlı sınıflar ve PROJE renk paleti (#3756f7 / #232f4b).
 */

.auth-page {
    background: #f9faff;
    padding: 80px 0;
    min-height: 68vh;
    display: flex;
    align-items: center;
}

.auth-card {
    display: flex;
    flex-wrap: wrap;
    max-width: 1040px;
    margin: 0 auto;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 14px 60px rgba(35, 47, 75, .10);
}

/* --- Koyu tanıtım paneli (sol) --- */
.auth-side {
    width: 42%;
    color: #fff;
    padding: 48px 42px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-image: linear-gradient(155deg, #232f4b 0%, #2d3e63 60%, #3756f7 160%);
}
.auth-side-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 28px;
}
.auth-logo img { max-height: 40px; width: auto; }
.auth-side-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 42px;
    padding: 0 18px;
    border: 2px solid rgba(255, 255, 255, .85);
    border-radius: 6px;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    transition: all .2s;
}
.auth-side-btn:hover { background: #fff; color: #232f4b; }
.auth-side-mid { padding: 26px 0; }
.auth-side-mid h3 { font-size: 28px; line-height: 1.3; font-weight: 700; color: #fff; margin: 0 0 14px; }
.auth-side-mid p { font-size: 15px; line-height: 1.75; color: rgba(255, 255, 255, .82); margin: 0; }
.auth-side-list { list-style: none; margin: 18px 0 0; padding: 0; }
.auth-side-list li { position: relative; padding-left: 26px; font-size: 15px; color: rgba(255, 255, 255, .82); margin-bottom: 10px; }
.auth-side-list li::before {
    content: "\2713";
    position: absolute; left: 0; top: 0;
    width: 18px; height: 18px; line-height: 18px; text-align: center;
    font-size: 11px; border-radius: 50%;
    background: rgba(255, 255, 255, .18); color: #fff;
}

/* --- Form paneli (sağ) --- */
.auth-main {
    width: 58%;
    padding: 54px 56px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.auth-title { font-size: 30px; font-weight: 700; color: #232f4b; margin: 0 0 8px; }
.auth-subtitle { font-size: 15px; color: #687693; margin: 0 0 28px; line-height: 1.5; }

.auth-form .auth-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.auth-group { margin-bottom: 18px; }
.auth-label { display: block; font-size: 14px; font-weight: 600; color: #687693; margin-bottom: 7px; }
.auth-input {
    width: 100%;
    height: 54px;
    padding: 0 18px;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    font-size: 15px;
    color: #232f4b;
    background: #fff;
    font-family: inherit;
    transition: border-color .2s;
}
.auth-input:focus { outline: 0; border-color: #3756f7; }
.auth-input::placeholder { color: #9aa1b1; }

.auth-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    margin: 2px 0 6px;
}
.auth-check { display: flex; align-items: center; gap: 8px; font-size: 14px; color: #676b79; cursor: pointer; }
.auth-check input { width: 16px; height: 16px; }
.auth-link { font-size: 14px; color: #687693; transition: color .2s; }
.auth-link:hover { color: #3756f7; }

.auth-btn {
    width: 100%;
    height: 52px;
    margin-top: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #3756f7;
    color: #fff;
    border: 2px solid #3756f7;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all .2s;
}
.auth-btn:hover { background: transparent; color: #3756f7; }
.auth-btn--ghost { background: transparent; color: #3756f7; }
.auth-btn--ghost:hover { background: #3756f7; color: #fff; }
.auth-btn--inline { width: auto; padding: 0 30px; }

.auth-foot { font-size: 15px; color: #687693; text-align: center; margin-top: 26px; }
.auth-foot a { color: #3756f7; font-weight: 600; }
.auth-foot a:hover { text-decoration: underline; }

/* Doğrulama / uyarı kutuları */
.auth-alert { padding: 12px 18px; border-radius: 6px; font-size: 14px; line-height: 1.5; margin-bottom: 20px; }
.auth-alert.ok { background: #e6f6ec; border: 1px solid #9fdfb8; color: #1c7a43; }
.auth-alert.err { background: #fdecec; border: 1px solid #f5b5b5; color: #c0392b; }
.auth-alert.info { background: #eef2ff; border: 1px solid #c7d2fe; color: #3756f7; }
.auth-alert ul { list-style: none; margin: 0; padding: 0; }
.auth-alert li { display: block; }
.field-err { display: block; color: #c0392b; font-size: 13px; margin-top: 5px; }

/* Durum (sonuç) ekranları: Verify / Bilgi */
.auth-card--solo { max-width: 560px; }
.auth-card--solo .auth-main { width: 100%; text-align: center; padding: 54px 50px; }
.auth-icon {
    width: 86px; height: 86px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 24px;
    font-size: 38px;
}
.auth-icon.ok { background: #e6f6ec; color: #1c7a43; }
.auth-icon.err { background: #fdecec; color: #c0392b; }
.auth-icon.info { background: #eef2ff; color: #3756f7; }
.auth-msg { font-size: 16px; color: #374151; line-height: 1.7; margin: 0 0 26px; }
.auth-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

/* Responsive (tema ile aynı: md <= 991px, sm <= 767px) */
@media (max-width: 991px) {
    .auth-side, .auth-main { width: 100%; }
    .auth-side { padding: 36px 32px; }
    .auth-main { padding: 44px 40px; }
    .auth-side-mid { padding: 18px 0; }
}
@media (max-width: 767px) {
    .auth-page { padding: 40px 0; }
    .auth-main { padding: 32px 24px; }
    .auth-card--solo .auth-main { padding: 40px 24px; }
    .auth-form .auth-row { grid-template-columns: 1fr; gap: 0; }
    .auth-side-mid { display: none; }
}
