/* ========================= */
/* RESET */
/* ========================= */

body {
    margin: 0;
    font-family: 'Segoe UI', Arial, sans-serif;
    background: #f5f7ff;
}

/* ========================= */
/* CONTAINER */
/* ========================= */

.login-container {
    display: flex;
    min-height: 100vh;
}

/* ========================= */
/* LADO ESQUERDO */
/* ========================= */

.login-left {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #ffffff;
    padding: 40px;
}

.login-box {
    width: 100%;
    max-width: 380px;
}

.login-box h2 {
    margin-bottom: 30px;
    font-size: 24px;
    font-weight: 700;
    color: #333;
}

/* ========================= */
/* INPUTS */
/* ========================= */

.login-box input {
    width: 100%;
    padding: 14px;
    margin-bottom: 18px;
    border-radius: 10px;
    border: 1px solid #e3e7f2;
    font-size: 14px;
    transition: 0.2s ease;
}

.login-box input:focus {
    border-color: #4169E1;
    outline: none;
    box-shadow: 0 0 0 3px rgba(65,105,225,0.15);
}

/* ========================= */
/* BOTÃO */
/* ========================= */

.login-box button {
    width: 100%;
    padding: 14px;
    border-radius: 10px;
    border: none;
    background: linear-gradient(135deg, #4169E1, #3b5edb);
    color: #ffffff;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: 0.2s ease;
    box-shadow: 0 6px 18px rgba(65,105,225,0.25);
}

.login-box button:hover {
    transform: translateY(-2px);
}

/* ========================= */
/* ALERTA */
/* ========================= */

.alert-error {
    margin-top: 15px;
    background: #ffecec;
    color: #c0392b;
    padding: 12px;
    border-radius: 10px;
    font-size: 14px;
    margin-bottom:15px;
}

/* ========================= */
/* LADO DIREITO */
/* ========================= */

.login-right {
    flex: 1;
    background: linear-gradient(135deg, #4169E1, #3b5edb);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px;
}

.login-right img {
    max-width: 80%;
    height: auto;
}

/* ========================= */
/* RESPONSIVO */
/* ========================= */

@media (max-width: 900px) {
    .login-container {
        flex-direction: column;
    }

    .login-right {
        display: none;
    }

    .login-left {
        flex: none;
        width: 100%;
    }
}
