/* Import modern font */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

body {
    margin: 0;
    padding: 0;
    font-family: 'Inter', sans-serif;
    background-color: #e2e8f0;
}

#login_form {
	width: 100%;
	height: 100vh;
}

.login-wrapper {
    display: flex;
    min-height: 100vh;
    width: 100%;
}

.login-left {
    flex: 1.2;
    background: linear-gradient(135deg, #555753 0%, #2e3436 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    position: relative;
    overflow: hidden;
}

.login-left::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
}

.login-left::after {
    content: '';
    position: absolute;
    bottom: -10%;
    left: -20%;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.left-content {
    max-width: 500px;
    z-index: 2;
}

.logo-und-gestora {
    max-width: 180px;
    max-height: 180px;
    margin-bottom: 30px;
    object-fit: contain;
    background: white;
    padding: 10px;
    border-radius: 16px;
}

.welcome-title {
    font-size: 42px;
    font-weight: 700;
    margin: 0 0 15px 0;
    line-height: 1.2;
}

.welcome-subtitle {
    font-size: 18px;
    color: #ffffff;
    margin: 0 0 40px 0;
    line-height: 1.5;
}

.und-info {
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-top: 20px;
}

.und-nome {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
}

.und-cidade {
    font-size: 14px;
    color: #ffffff;
}

.login-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #e2e8f0;
    padding: 40px;
    position: relative;
}

.login-card {
    background: #ffffff;
    width: 100%;
    max-width: 450px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.04);
    padding: 40px;
    box-sizing: border-box;
}

.login-header {
    text-align: center;
    margin-bottom: 35px;
}

.login-header h2 {
    margin: 0;
    font-size: 24px;
    color: #1e293b;
    font-weight: 700;
}

.input-group {
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    font-size: 13px;
    color: #64748b;
    margin-bottom: 8px;
    font-weight: 500;
}

.input-field {
    position: relative;
}

.input-field i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    z-index: 2;
}

.input-field input {
    width: 100%;
    padding: 14px 14px 14px 45px !important;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    font-size: 15px;
    color: #334155;
    background: #ffffff;
    transition: all 0.3s ease;
    box-shadow: none !important;
    box-sizing: border-box;
}

.input-field input:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1) !important;
}

.btn-entrar {
    width: 100%;
    background: #555753; /* Cor atual solicitada */
    color: #ffffff;
    border: none;
    padding: 16px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.btn-entrar:hover {
    background: #2e3436;
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(85, 87, 83, 0.2);
}

.divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 30px 0;
    color: #94a3b8;
    font-size: 13px;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #e2e8f0;
}

.divider span {
    padding: 0 15px;
}

.btn-ouvidoria {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    width: 100%;
    padding: 12px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #ffffff;
    text-decoration: none;
    color: #475569;
    font-weight: 600;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.btn-ouvidoria:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
}

.btn-ouvidoria img {
    width: 35px;
    height: 35px;
    border-radius: 6px;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 25px;
}

.social-icons a {
    color: #64748b;
    font-size: 1.4rem;
    transition: all 0.3s ease;
    text-decoration: none !important;
}

.social-icons a:hover {
    color: #3b82f6;
    transform: scale(1.15);
}

.erro-login {
    margin-top: 20px;
    color: #ef4444;
    font-size: 13px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
}

.versao {
    position: absolute;
    bottom: 20px;
    color: #94a3b8;
    font-size: 12px;
}

@media (max-width: 900px) {
    .login-wrapper {
        flex-direction: column;
    }
    
    .login-left {
        padding: 40px 20px;
        text-align: center;
    }
    
    .logo-und-gestora {
        max-width: 120px;
        max-height: 120px;
        margin: 0 auto 20px;
        display: block;
    }
    
    .welcome-title {
        font-size: 32px;
    }
    
    .login-right {
        padding: 20px;
    }
    
    .login-card {
        padding: 30px 20px;
    }
}
