:root {
    --primary-color: #611232; /* Guinda SECTEI */
    --accent-color: #B28247; /* Dorado */
    --bg-gradient: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.3);
}

body.portal {
    background: var(--bg-gradient);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Inter', 'Source Sans Pro', sans-serif;
    color: #333;
}

.portal-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
    max-width: 450px;
    width: 100%;
    margin: 1rem;
    transition: transform 0.3s ease;
}

.portal-card:hover {
    transform: translateY(-5px);
}

.portal-logo {
    text-align: center;
    margin-bottom: 2rem;
}

.portal-logo img {
    max-width: 280px;
    height: auto;
}

.portal-header {
    text-align: center;
    margin-bottom: 2rem;
}

.portal-header h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.portal-header p {
    color: #666;
    font-size: 0.9rem;
}

.form-group label {
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #555;
    margin-bottom: 0.5rem;
}

.form-control {
    border-radius: 10px;
    padding: 0.75rem 1rem;
    border: 1px solid #ddd;
    background: rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
}

.form-control:focus {
    background: #fff;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(97, 18, 50, 0.1);
}

.btn-portal {
    background: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    width: 100%;
    margin-top: 1rem;
    transition: all 0.3s ease;
}

.btn-portal:hover {
    background: #4a0d26;
    color: #fff;
    box-shadow: 0 4px 12px rgba(97, 18, 50, 0.2);
}

.status-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.status-aceptado { background: #d4edda; color: #155724; }
.status-pendiente { background: #fff3cd; color: #856404; }
.status-rechazado { background: #f8d7da; color: #721c24; }

.download-section {
    background: rgba(255, 255, 255, 0.4);
    border-radius: 15px;
    padding: 1.5rem;
    margin-top: 2rem;
    border: 1px dashed var(--accent-color);
    text-align: center;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.portal-card {
    animation: fadeIn 0.8s ease-out;
}
