* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

body {
    background: linear-gradient(135deg, #0d47a1, #1976d2, #42a5f5);
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.container {
    display: flex;
    background: #ffffff;
    width: 900px;
    max-width: 100%;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
}

.image-area {
    flex: 1;
    background: url("../img/logo-login.png") center/cover no-repeat;
    opacity: .8;
    background-size: contain; /* Faz a imagem caber inteira */
}

.login-area {
    flex: 1;
    padding: 50px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

h2 {
    color: #0d47a1;
    font-size: 28px;
    margin-bottom: 25px;
    text-align: center;
}

.input-group {
    margin-bottom: 18px;
}

label {
    font-size: 14px;
    color: #0d47a1;
    font-weight: 600;
}

input {
    width: 100%;
    padding: 12px;
    margin-top: 5px;
    border: 2px solid #bbdefb;
    border-radius: 8px;
    font-size: 15px;
    transition: 0.3s;
    box-shadow: rgba(3, 102, 214, 0.3) 0px 0px 0px 3px;
}

input:focus {
    border-color: #1976d2;
    outline: none;
}

button {
    width: 100%;
    padding: 14px;
    background: #1976d2;
    border: none;
    color: #fff;
    font-size: 16px;
    border-radius: 8px;
    margin-top: 10px;
    cursor: pointer;
    transition: 0.3s;
}

button:hover {
    background: #0d47a1;
}

.signup {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
}

.signup a {
    color: #1976d2;
    font-weight: 600;
    text-decoration: none;
}

.signup a:hover {
    text-decoration: underline;
}

/* --- Responsividade --- */
@media (max-width: 780px) {
    .container {
        flex-direction: column;
        width: 100%;
    }

    .image-area {
        display: none;
        height: 200px;
    }

    .login-area {
        padding: 40px 30px;
    }
}