/**
* Estilos personalizados del sistema
*/

body {
background-color: #f8f9fa;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
/* Navbar */
.navbar-brand {
font-weight: 600;
}
/* Cards */
.card {
border-radius: 0.5rem;
transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover {
transform: translateY(-2px);
box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}
/* Botones */
.btn {
border-radius: 0.375rem;
font-weight: 500;
}
.btn-primary {
background-color: #0d6efd;
border-color: #0d6efd;
}
.btn-primary:hover {
background-color: #0b5ed7;
border-color: #0a58ca;
}
/* Formularios */
.form-control:focus {
border-color: #86b7fe;
box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}
/* Tablas */
.table thead {
background-color: #f8f9fa;
}
.table th {
font-weight: 600;
text-transform: uppercase;
font-size: 0.75rem;
letter-spacing: 0.5px;
}
/* Badges */
.badge {
font-weight: 500;
padding: 0.5em 0.75em;
}
/* Alertas */
.alert {
border: none;
border-radius: 0.5rem;
}
/* Dashboard cards */
.dashboard-card {
border-left: 4px solid;
}
.dashboard-card.primary {
border-left-color: #0d6efd;
}
.dashboard-card.success {
border-left-color: #198754;
}
.dashboard-card.warning {
border-left-color: #ffc107;
}
.dashboard-card.danger {
border-left-color: #dc3545;
}
.dashboard-card .icon {
font-size: 2.5rem;
opacity: 0.3;
}
/* Encuesta pública */
.encuesta-container {
max-width: 800px;
margin: 0 auto;
}
.encuesta-header {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
color: white;
padding: 2rem;
border-radius: 0.5rem 0.5rem 0 0;
}
.encuesta-body {
background: white;
padding: 2rem;
border-radius: 0 0 0.5rem 0.5rem;
box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
}
.pregunta-card {
background: #f8f9fa;
border-radius: 0.5rem;
padding: 1.5rem;
margin-bottom: 1rem;
border-left: 4px solid #0d6efd;
}
.pregunta-card:hover {
background: #e9ecef;
}
/* Likert scale */
.likert-scale {
display: flex;
justify-content: space-between;
gap: 0.5rem;
margin-top: 1rem;
}
.likert-option {
flex: 1;
text-align: center;
}
.likert-option input[type="radio"] {
display: none;
}
.likert-option label {
display: block;
padding: 0.75rem;
background: white;
border: 2px solid #dee2e6;
border-radius: 0.375rem;
cursor: pointer;
transition: all 0.2s;
font-size: 0.875rem;
}
.likert-option input[type="radio"]:checked + label {
background: #0d6efd;
color: white;
border-color: #0d6efd;
}
.likert-option label:hover {
border-color: #0d6efd;
background: #e7f1ff;
}
/* Gráficos */
.chart-container {
position: relative;
height: 300px;
width: 100%;
}
/* Indicadores */
.indicator-value {
font-size: 2.5rem;
font-weight: 700;
line-height: 1;
}
.indicator-label {
font-size: 0.875rem;
color: #6c757d;
text-transform: uppercase;
letter-spacing: 0.5px;
}
/* Responsive */
@media (max-width: 768px) {
.likert-scale {
flex-direction: column;
}
.likert-option {
    width: 100%;
}
}
/* Loading spinner */
.spinner-overlay {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(255, 255, 255, 0.9);
display: flex;
justify-content: center;
align-items: center;
z-index: 9999;
}
/* Print styles */
@media print {
.navbar,
.btn,
footer {
display: none !important;
}
.card {
    box-shadow: none !important;
    border: 1px solid #dee2e6 !important;
}
}