body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    min-height: 100vh;
}

.input-icon {
    position: relative;
}

.input-icon i {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
}

.input-icon i:first-child {
    left: 12px;
}

.toggle-password {
    right: 12px;
    cursor: pointer;
    z-index: 2;
}

.input-icon input {
    width: 100%;
    padding: 0.8rem 2.5rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
}

.login-section {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #ebecf1;
    padding: 2rem;
}

.login-container {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 550px; /* Aumentei a largura máxima */
    padding: 2rem;
    text-align: center;
}

.image-section {
    flex: 1;
    background-image: url('../imagens/bglogin.jpg'); /* Substitua pela imagem local */
    background-size: cover;
    background-position: center;
    display: none; /* Mantenha conforme necessário */
}

.logo img {
    max-width: 180px;
    height: auto;
}

.divider {
    border: 0;
    height: 1px;
    background-color: #e0e0e0;
    margin: 1.5rem 0;
}

.welcome {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.instruction {
    color: #666;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.form-group {
    margin-bottom: 1.2rem;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.btn {
    width: 100%;
    padding: 0.8rem;
    border: none;
    border-radius: 4px;
    background-color: #023E74;
    color: white;
    font-weight: bold;
    cursor: pointer;
    margin-top: 0.5rem;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: #022a52;
}

.links {
    margin-top: 1.5rem;
    font-size: 0.9rem;
}

.links a {
    color: #023E74;
    text-decoration: none;
    font-weight: 600;
}

.links a:hover {
    text-decoration: underline;
}

/* Layout para campos lado a lado */
.row {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.row .form-group {
    flex: 1; /* Distribui igualmente */
}

@media (min-width: 992px) {
    .image-section {
        display: block;
    }
}
