/* styles/index.css */

/* Genel sıfırlamalar */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Segoe UI", sans-serif;
}



body,
html {
    height: 100%;
    font-size: 10px;

}

body {
    background-image: url('../images/girişArkaPlan.png');
    /* veya tam yol: url('images/background.jpg') */
    background-repeat: no-repeat;
    /* Tekrar etmesin */
    background-size: cover;
    /* Tüm sayfayı kaplasın */
    background-position: center center;
    /* Ortalansın */
    background-attachment: fixed;
    /* (İste*/

}

/* Ana container */
.container {
    display: flex;
    height: 100vh;
}

/* Sol panel */
.left_panel {
    width: 40%;
    background-color: white;
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.left_panel .logo {
    width: 30rem;
    margin-bottom: 2rem;
}

.left_panel h1 {
    font-size: 6rem;
    font-weight: 300;
}

/* Sağ panel */
.right_panel {
    width: 100%;
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;

}

/* Arka plan resmi (HTML <img>) */
.bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

/* Arka plan videosu */
.bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

/* Giriş kutusu videonun üstünde gözükecek */
.right_panel .login_box {
    position: relative;
    z-index: 2;
    background-color: #cccccc;
    padding: 4rem;
    border-radius: 3rem;
    width: 40rem;
    text-align: center;
    box-shadow: 0rem 0rem 2rem rgba(0, 0, 0, 0.5);
}

.right_panel .login_box .small_logo {
    width: 20rem;
}

.right_panel .login_box h2 {
    color: #2c3e91;
    font-size: 3.2rem;
    margin-top: 2rem;
}

.right_panel .login_box .subtitle {
    font-weight: bold;
    margin-bottom: 2.1rem;
    margin-top: 2rem;
    color: #2e3f69;
    font-size: 1.9rem;
    padding-bottom: 2rem;
}

.right_panel .login_box .information_entry {
    width: 100%;
    padding: 1.2rem;
    margin-bottom: 1.2rem;
    border: 0.1rem solid #cccccc;
    border-radius: 0.5rem;
    font-size: 1.6rem;

}

/* Beni Hatırla checkbox form elemanları altında */
.remember-me-label {
    display: flex;
    align-items: center;
    font-weight: 600;
    font-size: 1.4rem;
    color: #555;
    margin-bottom: 1.5rem;
    cursor: pointer;
    gap: 0.5rem;
    user-select: none;
}

.remember-me-label input[type="checkbox"] {
    width: 1.4rem;
    height: 1.4rem;
}

/* Giriş butonu ve Şifremi unuttum linki yan yana */
.button-forgot-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

/* Giriş butonu */
.button-forgot-container button {
    width: 7rem;
    background-color: #2c3e91;
    color: white;
    padding: 1rem;
    border: none;
    border-radius: 0.8rem;
    font-weight: bold;
    cursor: pointer;
    font-size: 1.6rem;
}

/* Şifremi unuttum link stili */
.button-forgot-container .forgot {
    color: #0066cc;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.4rem;
    transition: color 0.3s ease;
}

.button-forgot-container .forgot:hover {
    color: #004999;
    text-decoration: underline;
}

/* ===== RESPONSIVE TASARIM ===== */

@media (max-width: 1024px) {
    html {
        font-size: 9px;
    }

    .left_panel h1 {
        font-size: 4.5rem;
    }

    .right_panel .login_box {
        width: 90%;
        padding: 3rem;
    }

    .right_panel .login_box h2 {
        font-size: 2.6rem;
    }

    .right_panel .login_box .subtitle {
        font-size: 1.8rem;
    }

    .button-forgot-container {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }

    .button-forgot-container button {
        width: 100%;
        float: none;
    }

    .button-forgot-container .forgot {
        text-align: center;
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    .container {
        flex-direction: column;
    }

    .left_panel {
        width: 100%;
        height: auto;
        padding: 2rem;
    }

    .right_panel {
        width: 100%;
        height: 100vh;
    }

    .right_panel .login_box {
        width: 90%;
        padding: 2rem;
        border-radius: 2rem;
    }

    .right_panel .login_box h2 {
        font-size: 2.4rem;
    }

    .right_panel .login_box .subtitle {
        font-size: 1.6rem;
    }

    .right_panel .login_box .information_entry {
        font-size: 1.4rem;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 8px;
    }

    .right_panel .login_box {
        padding: 1.5rem;
        border-radius: 1.5rem;
    }

    .right_panel .login_box h2 {
        font-size: 2rem;
    }

    .right_panel .login_box .subtitle {
        font-size: 1.4rem;
    }

    .button-forgot-container .forgot {
        font-size: 1.2rem;
    }

    .right_panel .login_box button {
        padding: 1rem;
        font-size: 1.4rem;
        width: 100%;
        float: none;
    }
}