/* Variables de colores */
:root {
    --bg-main: #1a1a2e;
    --bg-input: #16213e;
    --border: #0f3460;
    --text-main: #eee2dc;
    --text-muted: #9ca3af;
    --accent: #e94560;
    --placeholder: #6c7293;
}

/* Header fijo */
.site-header {
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(10px);
    padding: 20px 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
    z-index: 1000;
}

.navbar {
    padding: 0;
}

.brand {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-main);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.brand-text {
    color: var(--accent);
}

.nav-link {
    color: var(--text-main) !important;
    font-weight: 500;
    padding: 8px 20px !important;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.nav-link:hover, .nav-link.active {
    color: var(--accent) !important;
    background: rgba(233, 69, 96, 0.1);
}

/* Página de solicitud */
.solicitud-page {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--bg-main) 0%, var(--bg-input) 100%);
    padding-top: 120px;
    padding-bottom: 50px;
}

.form-container {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    max-width: 800px;
    margin: 0 auto;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.form-title {
    color: var(--text-main);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-align: center;
}

.form-subtitle {
    color: var(--text-muted);
    text-align: center;
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.section-title {
    color: var(--accent);
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--border);
}

.form-label {
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.form-control, .form-select {
    background: var(--bg-input);
    border: 2px solid var(--border);
    border-radius: 10px;
    padding: 12px 16px;
    color: var(--text-main);
    transition: all 0.3s;
    font-size: 1rem;
}

.form-control:focus, .form-select:focus {
    background: var(--bg-input);
    border-color: var(--accent);
    box-shadow: 0 0 0 0.2rem rgba(233, 69, 96, 0.25);
    color: var(--text-main);
}

.form-control::placeholder {
    color: var(--placeholder);
}

.form-select option {
    background: var(--bg-input);
    color: var(--text-main);
}

textarea.form-control {
    resize: vertical;
    min-height: 100px;
}

.btn-submit {
    background: linear-gradient(135deg, var(--accent) 0%, #ff6b6b 100%);
    color: white;
    border: none;
    border-radius: 10px;
    padding: 15px 40px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s;
    width: 100%;
    cursor: pointer;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(233, 69, 96, 0.4);
}

.btn-back {
    background: rgba(108, 117, 125, 0.2);
    color: var(--text-main);
    border: 2px solid var(--border);
    border-radius: 10px;
    padding: 12px 30px;
    font-weight: 600;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
}

.btn-back:hover {
    background: rgba(108, 117, 125, 0.3);
    color: var(--text-main);
    text-decoration: none;
    border-color: var(--accent);
}

.section-divider {
    border-top: 2px solid var(--border);
    margin: 30px 0;
}

/* Mensajes de alerta */
.messages-container {
    margin-top: 20px;
}

.alert {
    border-radius: 12px;
    margin-bottom: 20px;
    padding: 16px 20px;
    font-size: 1rem;
    border: 2px solid;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.alert strong {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.alert i {
    font-size: 1.2rem;
}

.alert-success {
    background: rgba(40, 167, 69, 0.15);
    border-color: #28a745;
    color: #c3e6cb;
}

.alert-success strong {
    color: #28a745;
}

.alert-danger, .alert-error {
    background: rgba(233, 69, 96, 0.15);
    border-color: var(--accent);
    color: #f8d7da;
}

.alert-danger strong, .alert-error strong {
    color: var(--accent);
}

.alert-warning {
    background: rgba(255, 193, 7, 0.15);
    border-color: #ffc107;
    color: #fff3cd;
}

.alert-warning strong {
    color: #ffc107;
}

.alert-info {
    background: rgba(23, 162, 184, 0.15);
    border-color: #17a2b8;
    color: #d1ecf1;
}

.alert-info strong {
    color: #17a2b8;
}

.btn-close {
    opacity: 0.8;
    filter: brightness(0) invert(1);
}

.btn-close:hover {
    opacity: 1;
}

.required-field::after {
    content: " *";
    color: var(--accent);
}

.text-muted {
    color: var(--text-muted) !important;
    font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 768px) {
    .form-container {
        padding: 30px 20px;
    }
    
    .form-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.2rem;
    }
}
