/* Login Page Styles */

.login-page {
    min-height: 100vh;
    display: flex;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
}

.login-container {
    display: flex;
    width: 100%;
    min-height: 100vh;
}

/* Painel Esquerdo - Info */
.login-left {
    flex: 1;
    background: linear-gradient(135deg, #1a2f5a 0%, #1e3c72 100%);
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: white;
    position: relative;
    overflow: hidden;
}

.login-left::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: pulse 15s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.3; }
    50% { transform: scale(1.1); opacity: 0.5; }
}

.logo-section {
    position: relative;
    z-index: 1;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 40px;
}

.logo-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(25, 118, 210, 0.4);
}

.logo-text h1 {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.logo-text p {
    font-size: 13px;
    opacity: 0.7;
}

.content-section {
    position: relative;
    z-index: 1;
}

.content-section h2 {
    font-size: 42px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

.content-section .highlight {
    color: var(--secondary);
}

.content-section > p {
    font-size: 16px;
    opacity: 0.8;
    line-height: 1.6;
}

.features {
    margin-top: 40px;
}

.feature {
    display: flex;
    align-items: start;
    gap: 15px;
    margin-bottom: 20px;
}

.feature-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.feature-text h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}

.feature-text p {
    font-size: 14px;
    opacity: 0.7;
}

/* Painel Direito - Formulário */
.login-right {
    flex: 1;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.login-form-container {
    width: 100%;
    max-width: 450px;
}

.login-header {
    text-align: center;
    margin-bottom: 40px;
}

.login-header h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.login-header p {
    color: var(--text-secondary);
    font-size: 15px;
}

/* Seletor de Empresa */
.company-selector {
    margin-bottom: 24px;
}

.company-selector label {
    display: block;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.company-options {
    display: flex;
    gap: 12px;
}

.company-option {
    flex: 1;
}

.company-option input[type="radio"] {
    display: none;
}

.company-option label {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    border: 2px solid var(--border);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    text-align: center;
    min-height: 60px;
}

.company-option input[type="radio"]:checked + label {
    border-color: var(--primary);
    background: rgba(25, 118, 210, 0.05);
    color: var(--primary);
}

.company-option label:hover {
    border-color: var(--primary);
}

/* Input com ícone */
.input-with-icon {
    position: relative;
}

.input-with-icon .input-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    color: var(--text-secondary);
}

.input-with-icon .form-input {
    padding-left: 48px;
}

/* Opções do formulário */
.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 8px;
}

.remember-me input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.remember-me label {
    font-size: 14px;
    color: var(--text-secondary);
    cursor: pointer;
}

.forgot-password {
    font-size: 14px;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.forgot-password:hover {
    text-decoration: underline;
}

/* Versão */
.version {
    text-align: center;
    margin-top: 24px;
    font-size: 13px;
    color: var(--text-secondary);
}

/* Responsive */
@media (max-width: 1024px) {
    .login-left {
        display: none;
    }
    
    .login-right {
        flex: 1;
    }
}

@media (max-width: 640px) {
    .login-right {
        padding: 20px;
    }
    
    .login-form-container {
        max-width: 100%;
    }
    
    .company-options {
        flex-direction: column;
    }
    
    .login-header h2 {
        font-size: 24px;
    }
}
