/* Estilo geral */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background: linear-gradient(120deg, #005baa 0%, #f2f2f2 100%);
    color: #fff;
}

/* Notificação */
.notification {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #d9534f;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    animation: fadeInOut 5s;
}

@keyframes fadeInOut {
    0% { opacity: 0; transform: translateY(-20px); }
    10% { opacity: 1; transform: translateY(0); }
    90% { opacity: 1; }
    100% { opacity: 0; transform: translateY(-20px); }
}

/* Contêiner principal */
.login-wrapper {
    display: flex;
    max-width: 900px;
    width: 100%;
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.login-banner {
    flex: 1.2;
    background: linear-gradient(120deg, #005baa 0%, #003d73 100%);
    padding: 3em;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #ffffff;
    text-align: center;
}

.login-banner .logo {
    max-width: 120px;
    margin-bottom: 1em;
}

.login-banner h1 {
    font-size: 2.5em;
    margin-bottom: 0.5em;
    line-height: 1.2;
}

.login-banner p {
    font-size: 1.2em;
    line-height: 1.5;
}

.login-container {
    flex: 1;
    padding: 2em;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #ffffff;
    color: #333333;
}

.login-container h2 {
    font-size: 2em;
    margin-bottom: 1em;
    color: #005baa;
}

.error {
    display: none; /* Erro agora é mostrado na notificação */
}

/* Grupo de entrada */
.input-group {
    margin-bottom: 1.5em;
}

.input-group label {
    font-size: 1em;
    color: #333333;
    margin-bottom: 0.5em;
    display: block;
}

.input-group input {
    width: 100%;
    padding: 0.8em;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1em;
}

.login-button {
    background: #005baa;
    color: #ffffff;
    font-size: 1em;
    padding: 0.8em;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.login-button:hover {
    background: #003d73;
}

.signup-link {
    margin-top: 1em;
    font-size: 0.9em;
    color: #666666;
    text-align: center;
}

.signup-link a {
    color: #005baa;
    text-decoration: none;
    font-weight: bold;
}

.signup-link a:hover {
    text-decoration: underline;
}
