/* css/login.css */

/* Tüm sayfayı ortalayan alan */
.auth-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

/* Kart */
.auth-card {
    /* %70 opak cam efekti */
    background: rgba(10, 10, 15, 0.7);
    backdrop-filter: blur(20px);

    border-radius: 24px;
    padding: 32px 28px;
    max-width: 480px;
    width: 100%;

    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.55);
    border: 1px solid rgba(0, 255, 255, 0.12);
    /* hafif turkuaz çerçeve dokunuşu */
}

/* LOGO BÖLÜMÜ – merkezde beyaz, dışa doğru turkuaz halo */

.auth-logo {
    display: flex;
    justify-content: center;
    margin-bottom: 18px;
    position: relative;
    padding: 10px;
}

/* Merkez beyaz, kenarlara doğru turkuaz geçişli ışık */
.auth-logo::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 999px;

    background: radial-gradient(circle,
            rgba(255, 255, 255, 0.95) 0%,
            /* merkez: parlak beyaz */
            rgba(0, 255, 255, 0.55) 40%,
            /* orta bölgede canlı turkuaz */
            rgba(0, 200, 255, 0.25) 65%,
            /* dışa doğru hafifleyen turkuaz */
            transparent 80%
            /* tamamen kaybolduğu kısım */
        );

    filter: blur(10px);
    opacity: 0.95;
    z-index: 0;
}

/* Logo */
.auth-logo img {
    height: 90px;
    width: auto;
    position: relative;
    z-index: 1;
    /* Turkuaz ağırlıklı, mor YOK */
    filter:
        drop-shadow(0 0 10px rgba(0, 255, 255, 0.7)) drop-shadow(0 0 22px rgba(0, 220, 255, 0.55));
}

/* Başlıklar */
.auth-title {
    text-align: center;
    font-size: 1.4rem;
    margin: 4px 0 4px;
    color: #fff;
}

.auth-subtitle {
    text-align: center;
    font-size: 0.9rem;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.65);
}

/* Form */
.auth-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.auth-row {
    display: flex;
    gap: 12px;
}

.auth-row .auth-field {
    flex: 1;
}

.auth-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.auth-field label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
}

.auth-field input[type="text"],
.auth-field input[type="email"],
.auth-field input[type="password"],
.auth-field input[type="file"] {
    width: 100%;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 9px 11px;
    font-size: 0.9rem;
    background: rgba(3, 5, 10, 0.85);
    color: #fff;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.auth-field input[type="file"] {
    padding: 6px 8px;
    font-size: 0.8rem;
}

.auth-field input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.auth-field input:focus {
    border-color: rgba(0, 200, 255, 0.9);
    box-shadow: 0 0 0 1px rgba(0, 200, 255, 0.4);
    background: rgba(6, 10, 20, 0.95);
}

.auth-field small {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
}

/* Şifre notu için ekstra sınıf */
.auth-note {
    margin-top: -6px;
}

/* TRANSPARAN TURKUAZ BUTON – GİRİŞ YAP */

.auth-btn {
    margin-top: 8px;
    width: 100%;
    border-radius: 999px;
    padding: 10px 16px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;

    background: transparent;
    border: 1px solid rgba(0, 255, 255, 0.75);
    color: #bffcff;

    box-shadow:
        0 0 0 1px rgba(0, 255, 255, 0.18),
        0 0 18px rgba(0, 255, 255, 0.28);

    text-align: center;
    transition:
        transform 0.15s ease,
        box-shadow 0.15s ease,
        background-color 0.15s ease,
        color 0.15s ease;
}

.auth-btn:hover {
    background-color: rgba(0, 255, 255, 0.12);
    box-shadow:
        0 0 0 1px rgba(0, 255, 255, 0.3),
        0 0 26px rgba(0, 255, 255, 0.4);
    transform: translateY(-1px);
}

.auth-btn:active {
    background-color: rgba(0, 255, 255, 0.2);
    box-shadow:
        0 0 0 1px rgba(0, 255, 255, 0.35),
        0 0 16px rgba(0, 255, 255, 0.35);
    transform: translateY(0);
}

/* Uyarı kutuları */
.auth-alert {
    border-radius: 14px;
    padding: 10px 12px;
    font-size: 0.85rem;
    margin-bottom: 10px;
}

.auth-alert ul {
    margin: 0;
    padding-left: 18px;
}

.auth-alert-error {
    background: rgba(255, 40, 80, 0.12);
    border: 1px solid rgba(255, 70, 110, 0.4);
    color: #ffb4c3;
}

.auth-alert-success {
    background: rgba(0, 200, 130, 0.14);
    border: 1px solid rgba(0, 220, 150, 0.5);
    color: #b9ffdf;
}

/* Alt yazı */
.auth-footer-text {
    margin-top: 14px;
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

.auth-footer-text a {
    color: #42e8ff;
    text-decoration: none;
    font-weight: 500;
}

.auth-footer-text a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 480px) {
    .auth-card {
        padding: 24px 18px;
        border-radius: 20px;
    }

    .auth-row {
        flex-direction: column;
    }
}

/* === ŞİFRE GÖSTER/GİZLE BUTONU (LOGIN) === */

/* Şifre alanındaki "Göster/Gizle" butonu –
   input genişliğinde, ince ve inputa yakın */
.auth-field .password-toggle {
    margin-top: 2px;
    /* inputa biraz daha yaklaşsın */

    width: 100%;
    box-sizing: border-box;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 26px;
    padding: 4px 10px;
    border-radius: 12px;
    /* inputlarla aynı köşe */

    font-size: 0.78rem;
    font-weight: 500;
    cursor: pointer;

    background: transparent;
    border: 1px solid rgba(0, 255, 255, 0.75);
    color: #bffcff;

    box-shadow:
        0 0 0 1px rgba(0, 255, 255, 0.18),
        0 0 14px rgba(0, 255, 255, 0.25);

    text-align: center;
    outline: none;

    appearance: none;
    -webkit-appearance: none;
}

/* Hover efekti – Giriş Yap / Kayıt Ol butonlarıyla aynı ışık */
.auth-field .password-toggle:hover {
    background-color: rgba(0, 255, 255, 0.12);
    box-shadow:
        0 0 0 1px rgba(0, 255, 255, 0.30),
        0 0 20px rgba(0, 255, 255, 0.45);
    transform: translateY(-1px);
}

/* Tıklandığında */
.auth-field .password-toggle:active {
    transform: translateY(0);
    box-shadow:
        0 0 0 1px rgba(0, 255, 255, 0.35),
        0 0 12px rgba(0, 255, 255, 0.35);
}