:root { 
    --gold: #e7aa51; 
    --navy: #14213d; 
    --light: #f8fafc; 
}

/* Genel Wrapper */
.auth-wrapper { 
    background: var(--light); 
    padding: 40px 20px; 
    min-height: 100vh; 
    display: flex; 
    align-items: center; 
    justify-content: center;
}

/* Kart Yapısı */
.auth-card { 
    width: 100%;
    max-width: 450px; 
    background: #fff; 
    padding: 40px; 
    border-radius: 20px; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.05); 
    border-top: 5px solid var(--gold); 
}

.auth-header { text-align: center; margin-bottom: 30px; }
.auth-header h2 { font-size: 26px; font-weight: 800; color: var(--navy); }
.auth-header p { font-size: 14px; color: #64748b; margin-top: 8px; }

.f-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 20px; }

/* Grid Düzeni */
.f-row { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 15px; 
}

label { font-size: 12px; font-weight: 700; color: var(--navy); text-transform: uppercase; }

input { 
    padding: 14px; 
    border: 1.5px solid #eef2f6; 
    border-radius: 10px; 
    outline: none; 
    transition: 0.3s; 
    font-size: 16px; 
}

input:focus { border-color: var(--gold); }

.btn-auth { 
    width: 100%; 
    padding: 16px; 
    background: var(--navy); 
    color: #fff; 
    border: none; 
    border-radius: 10px; 
    font-weight: 800; 
    cursor: pointer; 
    transition: 0.3s; 
    font-size: 16px;
}

.btn-auth:hover { background: var(--gold); transform: translateY(-2px); }

/* --- ALT KISIM (GİRİŞ/KAYIT LİNKLERİ) --- */
.auth-footer { 
    margin-top: 25px; 
    color: #64748b; 
    font-size: 14px; 
    font-weight: 500; 
    display: flex;         /* Flexbox eklendi */
    flex-wrap: wrap;       /* Sığmazsa alt satıra atar */
    justify-content: center; 
    align-items: center;
    gap: 5px;              /* Margin yerine gap kullanmak daha sağlıklı */
    line-height: 1.4;
}

.auth-footer a { 
    color: var(--navy); 
    text-decoration: none; 
    font-weight: 700; 
    transition: all 0.3s ease; 
    border-bottom: 2px solid transparent;
    white-space: nowrap;   /* "Giriş Yap" kendi içinde bölünmez */
}

.auth-footer a:hover { 
    color: var(--gold); 
    border-bottom-color: var(--gold); 
}

/* --- RESPONSIVE AYARLAR --- */

/* Tablet (768px altı) */
@media (max-width: 768px) {
    .auth-wrapper { padding: 20px 15px; }
    .auth-card { padding: 30px 20px; }
}

/* Küçük Telefonlar (480px altı) */
@media (max-width: 480px) {
    .auth-header h2 { font-size: 22px; }
    
    .f-row { 
        grid-template-columns: 1fr; /* Şifre alanlarını alt alta yap */
        gap: 0;
    }
    
    .f-row .f-group { margin-bottom: 20px; }
    
    /* Mobilde metinlerin daha ferah durması için */
    .auth-footer {
        flex-direction: column; /* Mobilde her şeyi ortalayıp alt alta diz */
        gap: 8px;
    }

    .btn-auth { padding: 14px; }
}