/* login.css */
body, html {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    background-color: #f4f7f9;
    color: #333;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
}

.login-container {
    width: 100%;
    max-width: 900px;
    margin: 20px;
}

.login-box {
    display: flex;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    overflow: hidden;
}

.login-illustration {
    background-color: #f8f9fa;
    flex-basis: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
    text-align: center;
}

.logo-illustration {
    max-width: 150px;
    margin-bottom: 20px;
}

.login-illustration p {
    font-size: 1.1rem;
    color: #555;
    font-weight: 500;
}

.login-form-wrapper {
    flex-basis: 50%;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.login-form-wrapper h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin: 0 0 25px 0;
    color: #222;
}

.login-form .input-group {
    position: relative;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #f8f9fa;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.login-form .input-group:focus-within {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.2);
}

.login-form .input-group i, 
.login-form .input-group svg {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #aaa;
    z-index: 10;
}

.login-form input {
    width: 100%;
    padding: 12px 12px 12px 50px;
    border: none;
    background-color: transparent;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
}

.login-form input:focus {
    outline: none;
}

.btn-login {
    width: 100%;
    padding: 15px;
    border: none;
    background-color: #667eea;
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn-login:hover {
    background-color: #5a67d8;
}

.form-links {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
    font-size: 0.85rem;
}

.form-links a {
    color: #667eea;
    text-decoration: none;
}

.form-links a:hover {
    text-decoration: underline;
}

.error-message {
    background-color: #fee2e2;
    color: #c82b2b;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 20px;
    text-align: center;
    font-weight: 500;
}

/* Responsividade */
@media (max-width: 768px) {
    .login-box {
        flex-direction: column;
    }
    .login-illustration {
        display: none; /* Oculta a ilustração em telas pequenas para focar no formulário */
    }
}