@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

/* Reset dan Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Inter", sans-serif;
}

:root {
    --brown: #0000ee;
    --white: #ffffff;
}

/* Struktur Utama */
html, body {
    height: 100%;
}

.container-fluid {
    display: flex;
    min-height: 100vh;
    background: 
        linear-gradient(to right, rgba(0, 0, 238, 0.85), rgba(255, 255, 255, 0.2) 60%),
        url('../img/bzi2.png') center center/cover no-repeat;
}

/* Container Kiri */
.container-fluid .container:nth-child(1) {
    width: 65%;
    display: flex;
    align-items: center;
    padding: 2rem;
}

/* Container Kanan */
.container-fluid .container:nth-child(2) {
    width: 35%;
    background-color: var(--brown);
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Teks Utama */
.text {
    display: flex;
    flex-direction: column;
    color: var(--white);
    font-size: 60px;
    font-weight: 600;
    line-height: 1.2;
}

.text strong {
    color: var(--brown);
    font-weight: 600;
}

/* Card Login */
.login-card {
    background-color: var(--white);
    padding: 40px;
    border-radius: 10px;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.login-header {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
    margin-bottom: 2rem;
}

.login-header h4 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--brown);
}

/* Logo */
.logo {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 10px;
}

.logo .logo-text {
    font-weight: 400;
    font-size: 16px;
    margin-top: 5px;
}

.logo img {
    width: 70px;
    height: auto;
}

/* Form */
form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.btn-login {
    background-color: var(--brown);
    color: var(--white);
    border: none;
    padding: 12px;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-login:hover {
    background-color: transparent;
    border: 1px solid var(--brown);
    color: var(--brown);
}

.forgot {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
}

.forgot a {
    text-decoration: none;
    color: var(--brown);
    font-size: 0.9rem;
    transition: color 0.2s;
}

.forgot a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media only screen and (max-width: 992px) {
    .container-fluid .container:nth-child(1) {
        width: 50%;
    }

    .container-fluid .container:nth-child(2) {
        width: 50%;
    }
    
    .login-card {
        padding: 30px;
    }
}

@media only screen and (max-width: 768px) {
    .container-fluid {
        flex-direction: column;
        background:
            linear-gradient(to bottom, rgba(0, 0, 238, 0.85), rgba(255, 255, 255, 0.2) 90%),
            url('../img/bzi2.png') center center/cover no-repeat;
    }

    .container-fluid .container:nth-child(1),
    .container-fluid .container:nth-child(2) {
        width: 100%;
    }

    .container-fluid .container:nth-child(1) {
        height: 30vh;
        justify-content: center;
    }

    .container-fluid .container:nth-child(2) {
        height: 70vh;
        background: none;
    }

    .text {
        font-size: 2.5rem;
        text-align: center;
    }

    .login-header h4 {
        font-size: 1.8rem;
    }

    .login-card {
        max-width: 90%;
        margin: 0 auto;
    }
}

@media only screen and (max-width: 480px) {
    .text {
        font-size: 2rem;
    }

    .login-header {
        flex-direction: column;
        gap: 10px;
    }

    .login-header h4 {
        font-size: 1.5rem;
    }

    .login-card {
        padding: 20px;
    }
}