/* Genel Ayarlar - Kaydırma Çubuğunu Engelleme */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden; /* Scroll çıkmasını engeller */
}

body {
    background-color: #f4f7f6;
    /* Modern Vektörel Çizgiler / Dalga Arka Planı (SVG) */
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320" preserveAspectRatio="none"><path fill="%230d6efd" fill-opacity="0.05" d="M0,192L48,197.3C96,203,192,213,288,192C384,171,480,117,576,112C672,107,768,149,864,165.3C960,181,1056,171,1152,149.3C1248,128,1344,96,1392,80L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path><path fill="%230d6efd" fill-opacity="0.08" d="M0,96L48,112C96,128,192,160,288,186.7C384,213,480,235,576,213.3C672,192,768,128,864,128C960,128,1056,192,1152,208C1248,224,1344,192,1392,176L1440,160L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
    /* Görselin tekrarlanarak kayması için 'repeat-x' ve boyut genişletmesi yapıldı */
    background-size: 200% 100%;
    background-position: 0% 100%;
    background-repeat: repeat-x;
    font-family: 'Ubuntu', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    /* 18 saniyede sonsuz döngü şeklinde yumuşak hareket */
    animation: waveMove 18s ease-in-out infinite alternate;
}

/* Dalganın Yumuşakça Sağa-Sola Kayma Animasyonu */
@keyframes waveMove {
    0% {
        background-position: 0% 100%;
    }

    100% {
        background-position: 100% 100%;
    }
}

/* Ana Giriş Kartı - Arka plan üzerine belirgin çıkması için cam efekti (backdrop-filter) ve hafif gölge */
.login-card {
    max-width: 450px;
    width: 100%;
    background: rgba(255, 255, 255, 0.95); /* Arka planı hafif geçirgen şeffaf beyaz */
    backdrop-filter: blur(8px); /* Cam efekti bulanıklığı */
    border: 1px solid rgba(222, 226, 230, 0.7);
    border-radius: 16px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    padding: 28px 32px;
}

.login-logo {
    height: 120px;
    width: auto;
    object-fit: contain;
}

/* Açıklama Yazısı */
.subtitle {
    font-size: 0.85rem;
    color: #6c757d;
    line-height: 1.4;
}

/* Input Etiketleri */
.form-label-custom {
    font-size: 0.75rem;
    font-weight: 700;
    color: #6c757d;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
    display: block;
}

/* Input Grupları */
.input-group {
    border: 1px solid #ced4da;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.2s ease;
}

    .input-group:focus-within {
        border-color: #0d6efd;
        box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.15);
    }

.input-group-text {
    background-color: #f8f9fa;
    border: none;
    color: #0d6efd;
    width: 45px;
    justify-content: center;
    font-size: 0.95rem;
}

.form-control {
    border: none;
    padding: 8px 12px;
    font-size: 0.9rem;
}

    .form-control:focus {
        box-shadow: none;
    }

/* BUTONLAR - Canlı Renkler & Focus Desteği */
.btn-custom {
    border-radius: 10px;
    padding: 9px 14px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s ease;
    border: none;
    color: #ffffff !important;
}

    .btn-custom:active {
        transform: scale(0.98);
    }

    .btn-custom:focus,
    .btn-custom:active,
    .btn-custom:focus-visible {
        box-shadow: none !important;
        outline: none !important;
    }

/* 1. Mavi Giriş Butonu */
.btn-login {
    background-color: #0d6efd !important;
    font-size: 0.95rem;
    color: #ffffff !important;
}

    .btn-login:hover {
        background-color: #0b5ed7 !important;
        color: #ffffff !important;
    }

    .btn-login:focus,
    .btn-login:active {
        background-color: #0a58ca !important;
        color: #ffffff !important;
    }

/* 2. Turuncu Şifremi Unuttum Butonu */
.btn-forget {
    background-color: #fd7e14 !important;
    font-size: 0.85rem;
    color: #ffffff !important;
}

    .btn-forget:hover {
        background-color: #e86c05 !important;
        color: #ffffff !important;
    }

    .btn-forget:focus,
    .btn-forget:active {
        background-color: #dc6000 !important;
        color: #ffffff !important;
    }

/* 3. Yeşil Yeni Üyelik / Başvuru Butonu */
.btn-member {
    background-color: #198754 !important;
    font-size: 0.85rem;
    color: #ffffff !important;
}

    .btn-member:hover {
        background-color: #157347 !important;
        color: #ffffff !important;
    }

    .btn-member:focus,
    .btn-member:active {
        background-color: #146c43 !important;
        color: #ffffff !important;
    }

/* Butonlar Devre Dışı (Çift Tıklamada Soluklaşma) Stilleri */
.btn-custom:disabled,
.btn-custom.disabled {
    opacity: 0.65;
    cursor: not-allowed;
    pointer-events: none;
    box-shadow: none !important;
}

.btn-login:disabled {
    background-color: #0d6efd !important;
    color: #ffffff !important;
}

.btn-forget:disabled {
    background-color: #fd7e14 !important;
    color: #ffffff !important;
}

.btn-member:disabled {
    background-color: #198754 !important;
    color: #ffffff !important;
}

/* Alt Bilgi Kutusu */
.info-box {
    background-color: #eef5ff;
    border: 1px solid #cce1ff;
    border-radius: 12px;
    padding: 10px 12px;
    margin-top: 10px;
    text-align: center;
}

.info-title {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    color: #0d6efd;
    margin-bottom: 2px;
}

.info-text {
    font-size: 0.75rem;
    color: #495057;
    margin: 0;
    line-height: 1.35;
}

/* Alertler - İkon Desteği ve Hizalama */
#O_PASSWORD_ERROR,
#O_PASSWORD_SUCCESS {
    display: none;
    border-radius: 10px;
    font-size: 0.85rem;
    align-items: center;
    justify-content: center;
}

    #O_PASSWORD_ERROR i,
    #O_PASSWORD_SUCCESS i {
        font-size: 0.95rem;
    }
