* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    height: 100vh;
    overflow: hidden;
}

/* CONTAINER */
.login-container {
    display: flex;
    height: 100vh;
}

/* LADO ESQUERDO */
.login-left {
    flex: 1;
    position: relative;
    background: url('/img/bg.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}

.overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0d6efdcc, #0a58cacc);
}

.left-content {
    position: relative;
    padding: 40px;
    max-width: 400px;
}

.logo {
    width: 130px;
    margin-bottom: 20px;
}

.login-left h1 {
    font-weight: 600;
    margin-bottom: 15px;
}

.login-left p {
    font-weight: 300;
    font-size: 15px;
}

/* LADO DIREITO */
.login-right {
    flex: 1;
    background: #f8f9fa;
    display: flex;
    justify-content: center;
    align-items: center;
}

.login-box {
    background: white;
    padding: 40px;
    width: 100%;
    max-width: 380px;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

    .login-box h2 {
        text-align: center;
        margin-bottom: 5px;
    }

.subtitle {
    text-align: center;
    font-size: 14px;
    margin-bottom: 25px;
    color: #777;
}

/* INPUTS COM ÍCONE */
.input-group {
    position: relative;
    margin-bottom: 18px;
}

    .input-group i:first-child {
        position: absolute;
        top: 12px;
        left: 12px;
        color: #888;
    }

    .input-group input {
        width: 100%;
        padding: 10px 10px 10px 35px;
        border-radius: 6px;
        border: 1px solid #ddd;
        font-size: 14px;
    }

        .input-group input:focus {
            border-color: #0d6efd;
            outline: none;
        }

.toggle-pass {
    position: absolute;
    right: 12px;
    top: 12px;
    cursor: pointer;
    color: #888;
}

/* OPÇÕES */
.options {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    margin-bottom: 15px;
}

    .options a {
        text-decoration: none;
        color: #0d6efd;
    }

/* BOTÃO */
.btn-login {
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 6px;
    background: linear-gradient(135deg, #0d6efd, #0a58ca);
    color: white;
    font-size: 15px;
    cursor: pointer;
    transition: 0.3s;
}

    .btn-login:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 15px rgba(13,110,253,0.3);
    }
/* ================= RESPONSIVIDADE ================= */

@media (max-width: 992px) {
    .login-left h1 {
        font-size: 22px;
    }

    .login-left p {
        font-size: 14px;
    }
}

/* TABLETS E CELULARES */
@media (max-width: 768px) {

    .login-container {
        flex-direction: column;
    }

    .login-left {
        height: 35%;
        padding: 20px;
    }

    .login-right {
        height: 65%;
        padding: 20px;
    }

    .left-content {
        padding: 10px;
    }

    .logo {
        width: 90px;
    }

    .login-box {
        max-width: 100%;
        padding: 25px;
        box-shadow: none;
        border-radius: 0;
    }
}

/* CELULARES PEQUENOS */
@media (max-width: 480px) {

    .login-left {
        height: 30%;
    }

    .login-right {
        height: 70%;
    }

    .login-box h2 {
        font-size: 20px;
    }

    .subtitle {
        font-size: 12px;
    }

    .input-group input {
        font-size: 13px;
        padding: 9px 9px 9px 32px;
    }

    .btn-login {
        font-size: 14px;
        padding: 9px;
    }
}
