/* Estilos para la página de login corporativa */

.optimum-login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding: 20px;
}

.optimum-login-container {
    background: white;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    max-width: 480px;
    width: 100%;
    padding: 60px 50px;
    position: relative;
}

.optimum-login-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 32px;
    height: 32px;
    border: 2px solid #333;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    text-decoration: none;
    color: #333;
    font-size: 20px;
    font-weight: bold;
    transition: all 0.3s;
}

.optimum-login-close:hover {
    background: #f0f0f0;
    transform: scale(1.1);
}

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

.optimum-login-logo img {
    max-width: 200px;
    height: auto;
}

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

.optimum-login-title h1 {
    font-size: 24px;
    font-weight: 400;
    color: #333;
    margin: 0;
    line-height: 1.4;
}

.optimum-login-form {
    margin-bottom: 30px;
}

.optimum-form-group {
    margin-bottom: 25px;
}

.optimum-form-group label {
    display: block;
    font-size: 14px;
    color: #333;
    margin-bottom: 8px;
    font-weight: 500;
}

.optimum-form-group input[type="text"],
.optimum-form-group input[type="email"],
.optimum-form-group input[type="password"] {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #d0d0d0;
    border-radius: 4px;
    font-size: 16px;
    color: #333;
    transition: all 0.3s;
    box-sizing: border-box;
}

.optimum-form-group input::placeholder {
    color: #999;
}

.optimum-form-group input:focus {
    outline: none;
    border-color: #4a5f6d;
    box-shadow: 0 0 0 3px rgba(74, 95, 109, 0.1);
}

.optimum-form-checkbox {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}

.optimum-form-checkbox input[type="checkbox"] {
    margin-right: 8px;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.optimum-form-checkbox label {
    font-size: 14px;
    color: #666;
    cursor: pointer;
    user-select: none;
}

.optimum-login-button {
    width: 100%;
    padding: 16px;
    background: #4a5f6d;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: none;
}

.optimum-login-button:hover {
    background: #3a4f5d;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(74, 95, 109, 0.3);
}

.optimum-login-button:active {
    transform: translateY(0);
}

.optimum-login-footer {
    text-align: center;
    margin-top: 30px;
}

.optimum-login-footer a {
    color: #4a5f6d;
    text-decoration: none;
    font-size: 14px;
}

.optimum-login-footer a:hover {
    text-decoration: underline;
}

.optimum-login-divider {
    text-align: center;
    margin: 30px 0;
    position: relative;
}

.optimum-login-divider::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    height: 1px;
    background: #e0e0e0;
}

.optimum-login-divider span {
    background: white;
    padding: 0 15px;
    position: relative;
    color: #999;
    font-size: 14px;
}

.optimum-sso-button {
    width: 100%;
    padding: 16px;
    background: white;
    color: #333;
    border: 2px solid #4a5f6d;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    box-sizing: border-box;
}

.optimum-sso-button:hover {
    background: #4a5f6d;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(74, 95, 109, 0.2);
}

.optimum-error-message {
    background: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 4px;
    padding: 12px 16px;
    margin-bottom: 20px;
    color: #856404;
    font-size: 14px;
}

.optimum-success-message {
    background: #d4edda;
    border: 1px solid #28a745;
    border-radius: 4px;
    padding: 12px 16px;
    margin-bottom: 20px;
    color: #155724;
    font-size: 14px;
}

/* Responsive */
@media (max-width: 576px) {
    .optimum-login-container {
        padding: 40px 30px;
    }
    
    .optimum-login-title h1 {
        font-size: 20px;
    }
}

/* Animación de entrada */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.optimum-login-container {
    animation: fadeInUp 0.5s ease-out;
}
