/* Genel ayarlar */
body {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    
    background-size: cover;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

    /* Blur efektli overlay */
    body::before {
        content: '';
        position: absolute;
        inset: 0;
        background-color: rgba(255, 255, 255, 0.3);
        backdrop-filter: blur(1.6px);
        z-index: 0;
    }

/* Ana kutu */
.login-container {
    width: 100%;
    max-width: 400px;
    padding: 20px;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    z-index: 1;
    position: relative;
}

.form-box {
    width: 100%;
    background-color: #ffffff; /* Opak beyaz, transparan değil */
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    padding: 40px;
    box-sizing: border-box;
}


    /* Başlık */
    .form-box h2 {
        margin-bottom: 20px;
        color: #333;
        font-size: 17px;
        text-align: center;
    }

/* Logo kutusu */
.logo-box {
    text-align: center;
    margin-bottom: 20px;
}

    .logo-box img {
        width: 220px;
        height: auto;
        border-radius: 12px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    }

/* Giriş alanları */
.input-group {
    width: 100%;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
}

    .input-group input {
        padding: 12px;
        border: 1px solid #ccc;
        border-radius: 8px;
        font-size: 15px;
        transition: border-color 0.3s ease;
        width: 100%;
        box-sizing: border-box;
    }

        .input-group input:focus {
            border-color: #4a90e2;
            outline: none;
        }

/* Giriş butonu */
.btn-login {
    background-color: #c32322;
    color: white;
    border: none;
    padding: 12px 20px;
    width: 100%;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 10px;
}

    .btn-login:hover {
        background-color: #878787;
    }

.password-reset-link {
    margin-top: 20px; /* Üst boşluk */
    margin-bottom: 10px; /* Alt boşluk */
    text-align: center; /* Ortala */
}

    .password-reset-link a {
        font-size: 16px;
        color: #c32322;
        text-decoration: none;
        font-weight: 600;
    }

        .password-reset-link a:hover {
            text-decoration: underline;

        }


/* Mobil uyum */
@media (max-width: 480px) {
    .form-box {
        padding: 30px 20px;
    }

        .form-box h2 {
            font-size: 18px;
        }
}


.password-toggle-group {
    position: relative;
    display: flex;
    align-items: center;
}

    .password-toggle-group input {
        flex: 1;
        padding-right: 40px;
    }

.toggle-password {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    color: #555;
    font-size: 20px;
}

.material-icons {
    font-size: 20px;
}


/* ReCaptcha'yı saran container */
.recaptcha-wrapper {
    width: 100%;
    max-width: 320px; /* reCAPTCHA kutusunun max genişliği */
    margin: 1rem auto; /* ortalamak için üst-alt boşluklu */
    display: flex;
    justify-content: center;
}

/* reCAPTCHA iframe'ine özel stil */
/* Google'ın iframe genişliği 304px ve yüksekliği 78px civarıdır */
/* Responsive için scale kullanabiliriz */
.g-recaptcha {
    transform-origin: top left;
    width: 100%;
    height: 78px;
    max-width: 304px;
}


.login-subtitle {
    font-size: 14px;
    color: #6c757d;
    margin-bottom: 30px;
}

.sms-subtitle {
    font-size: 14px;
    color: #6c757d;
    margin-bottom: 20px;
}


.sms-timer {
    text-align: center;
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 20px;
    color: red;
}

.footer-note {
    margin-top: 22px;
    font-size: 12px;
    color: #7f8c8d;
}


