/* --- css/giris.css --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700;900&display=swap');

body {
    background-color: #bb8e74;
    font-family: 'Inter', sans-serif;
    color: #4d2600;
    background-image: radial-gradient(circle at 50% 50%,  #f2dbb5 0%,  #e2ab6d 100%); /*saydamlı arka planlar yüzde yüz olan sağdaki  #ad5e31 0%, #bb8e74 100% */
}

.auth-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 80px; /* Header'ın altında kalmasın diye boşluk */
}

.auth-container {
    display: flex;
    width: 100%;
    max-width: 1200px;
    padding: 40px;
    gap: 80px;
    align-items: center;
}

/* --- SOL TARAF (YAZILAR) --- */
.auth-left {
    flex: 1;
}

.neon-subtitle {
    color: #4d2600; /* Görseldeki neon yeşil */
    font-weight: 800;
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 15px;
}

.main-title {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1;
    margin: 0 0 20px 0;
    text-transform: uppercase;
}

.description {
    color: #4d2600;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
    max-width: 400px;
}

.badge-box {
    display: inline-block;
    border: 1px solid #4d2600;
    color: #4d2600;
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 500;
}

/* --- SAĞ TARAF (FORM KARTI) --- */
.auth-right {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.form-card {
    background:   #e2ab6d;  /* kutu tamamı  #ad7351; */
    border: 1px solid #ffffff0d;
    border-radius: 16px;
    padding: 40px;
    width: 100%;
    max-width: 500px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px); /* Arka planı bulanıklaştırma efekti */
}

.form-area {
    display: none; /* JS ile açılıp kapanacak */
}

.form-area.active {
    display: block;
    animation: fadeIn 0.4s ease-out forwards;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.form-card h2 {
    font-size: 1.8rem;
    font-weight: 900;
    text-transform: uppercase;
    margin: 0 0 10px 0;
    text-align: center;
}

.form-subtitle {
    text-align: center;
    color: #4d2600;
    font-size: 0.9rem;
    margin-bottom: 30px;
}

/* INPUT TASARIMLARI */
.input-row {
    display: flex;
    gap: 20px;
}

.input-group {
    margin-bottom: 20px;
    flex: 1;
}

.input-group label {
    display: block;
    font-size: 0.75rem;
    font-weight: 800;
    color: #4d2600;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.input-group input {
    width: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff; /* yazılan metin: koyu kahve zeminde beyaz, rahat okunur */
    padding: 14px 16px;
    border-radius: 8px;
    font-size: 0.95rem;
    outline: none;
    transition: all 0.3s;
    box-sizing: border-box;
}

.input-group input:focus {
    border-color: #4d2600;
    box-shadow: 0 0 0 3px rgba(77, 38, 0, 0.3); /* kutu koyulaşmıyor, sadece çerçeve belirginleşiyor */
}

.input-group input::placeholder { color: rgba(255, 255, 255, 0.8); /*kutuların içindeki yazılar*/ }

/* CHECKBOX & DİĞERLERİ */
.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 25px;
}

.checkbox-group input { margin-top: 4px; }
.checkbox-group label { font-size: 0.75rem; color: #4d2600; line-height: 1.4; }

.forgot-password { text-align: right; margin-bottom: 20px; }
.forgot-password a { color: #4d2600; font-size: 0.85rem; text-decoration: none; }
.forgot-password a:hover { color: #000000; text-decoration: underline; }

/* NEON YEŞİL BUTON */
.neon-btn {
    width: 100%;
    background-color: #c27e36;
    color: #000000;
    border: none;
    padding: 16px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 800;
    cursor: pointer;
    text-transform: uppercase;
    transition: all 0.3s;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.neon-btn:hover {
    background-color: #df9e5b;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(77, 38, 0, 0.3);
}

.toggle-text {
    text-align: center;
    margin-top: 20px;
    font-size: 0.9rem;
    color: #4d2600;
}

.toggle-text a {
    color: #4d2600;
    font-weight: 800;
    text-decoration: underline;
}
.toggle-text a:hover { color: #000000; }

/* MOBİL UYUM */
@media (max-width: 900px) {
    .auth-container { flex-direction: column; gap: 40px; padding: 20px; }
    .auth-left, .auth-right { width: 100%; justify-content: center; }
    .main-title { font-size: 3rem; }
    .input-row { flex-direction: column; gap: 0; }
}


/* --- ŞİFRE POP-UP'LARI (Şifremi Unuttum / Yeni Şifre Oluştur) --- */
.auth-modal {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
    background: rgba(0, 0, 0, 0.8); z-index: 100000;
    display: none; justify-content: center; align-items: center;
    padding: 20px; box-sizing: border-box;
}
.auth-modal.open { display: flex; }

.auth-modal-box {
    position: relative;
    background: #e2ab6d; color: #4d2600;
    border-radius: 16px; width: 100%; max-width: 460px;
    padding: 40px 36px 32px; box-sizing: border-box;
    max-height: 92vh; overflow-y: auto;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
}
.auth-modal-box h2 { margin: 0 0 10px 0; font-size: 1.5rem; font-weight: 900; text-transform: uppercase; text-align: center; }

.auth-modal-state { display: none; }
.auth-modal-state.active { display: block; animation: fadeIn 0.3s ease-out forwards; }

.auth-modal-text { text-align: center; font-size: 0.9rem; line-height: 1.5; margin: 0 0 24px 0; }
.auth-modal-icon { text-align: center; font-size: 2.4rem; margin-bottom: 12px; color: #4d2600; }

.auth-modal-error { color: #8b1a10; font-size: 0.85rem; font-weight: 700; text-align: center; margin: 0 0 14px 0; }
.auth-modal-error:empty { display: none; }

.auth-modal-close {
    position: absolute; top: 12px; right: 16px;
    background: none; border: none; color: #4d2600;
    font-size: 1.8rem; line-height: 1; cursor: pointer;
}
.auth-modal-close:hover { color: #000000; }

.auth-modal-footer { text-align: center; margin: 16px 0 0 0; }
.auth-modal-link {
    background: none; border: none; padding: 0; cursor: pointer;
    color: #4d2600; font-weight: 800; font-size: 0.9rem; font-family: inherit; text-decoration: underline;
}
.auth-modal-link:hover { color: #000000; }

.auth-modal .neon-btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; box-shadow: none; }
