/* ============================================================================
   ESTILOS DEL PORTAL HUAWEI
   ============================================================================ */

/* Reset y estilos base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

/* Contenedores principales */
.portal-container, .logout-container {
    background: white;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    width: 100%;
    max-width: 480px;
    overflow: hidden;
}

/* Header */
.header {
    background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
    color: white;
    padding: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 24px;
    margin-bottom: 5px;
}

.logo p {
    font-size: 14px;
    opacity: 0.8;
}

.network-info {
    text-align: right;
    font-size: 13px;
}

.network-info p {
    margin-bottom: 3px;
}

/* Alertas */
.alert {
    padding: 15px 20px;
    margin: 20px;
    border-radius: 8px;
    font-size: 14px;
}

.alert-error {
    background-color: #fee;
    border: 1px solid #f99;
    color: #c00;
}

/* Formulario de login */
.login-form {
    padding: 30px;
}

.login-form h2 {
    color: #2c3e50;
    margin-bottom: 10px;
    font-size: 24px;
}

.login-form > p {
    color: #666;
    margin-bottom: 25px;
    font-size: 15px;
}

.form-group {
    margin-bottom: 20px;
}

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

.form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 15px;
    transition: border-color 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #3498db;
}

/* Botones */
.form-actions {
    margin-top: 25px;
}

.btn {
    display: inline-block;
    padding: 14px 28px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
    width: 100%;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.4);
}

.btn-secondary {
    background: #f8f9fa;
    color: #495057;
    border: 1px solid #dee2e6;
}

.btn-secondary:hover {
    background: #e9ecef;
}

/* Información de soporte */
.support-info {
    background: #f8f9fa;
    padding: 20px 30px;
    border-top: 1px solid #eaeaea;
}

.support-info h3 {
    color: #2c3e50;
    margin-bottom: 10px;
    font-size: 16px;
}

.support-info p {
    color: #666;
    font-size: 14px;
    margin-bottom: 10px;
}

.support-info ul {
    list-style: none;
    padding-left: 0;
}

.support-info li {
    color: #3498db;
    font-size: 14px;
    margin-bottom: 5px;
}

/* Términos y condiciones */
.terms {
    padding: 15px 30px;
    border-top: 1px solid #eaeaea;
    text-align: center;
    font-size: 12px;
    color: #999;
}

.terms a {
    color: #3498db;
    text-decoration: none;
}

.terms a:hover {
    text-decoration: underline;
}

/* Página de logout */
.logout-message {
    padding: 40px 30px;
    text-align: center;
}

.logout-message h2 {
    color: #2c3e50;
    margin-bottom: 15px;
}

.logout-message p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.network-info {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    margin: 25px 0;
}

.actions {
    margin-top: 30px;
    display: flex;
    gap: 15px;
    justify-content: center;
}

/* Responsive */
@media (max-width: 480px) {
    .header {
        flex-direction: column;
        text-align: center;
    }
    
    .network-info {
        text-align: center;
        margin-top: 15px;
    }
    
    .actions {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        margin-bottom: 10px;
    }
}