/* Estilos globales para SISOC */
body {
    font-family: 'Inter', Arial, sans-serif;
    background: #fafbfc;
    margin: 0;
    color: #222b45;
}

header {
    background: #282a36;
    color: #fff;
    padding: 18px 0 16px 0;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}

nav {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-bottom: 0;
}

nav a {
    color: #c1cbe7;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.08rem;
    transition: color .2s;
}

nav a.active, nav a:hover {
    color: #6ad1fa;
}

.logo {
    display: block;
    margin: 0 auto 15px auto;
    max-width: 180px;
    height: 44px;
}

/* Estilos para formularios */
input[type="file"] {
    display: block;
    margin: 10px 0;
    padding: 8px;
    border: 2px dashed #24CAD6;
    border-radius: 8px;
    background: #f8f9fa;
    cursor: pointer;
}

/* Estilos para botones */
.btn-upload {
    background: #24CAD6;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 0.9rem 2.1rem;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    margin-top: 1rem;
    transition: background 0.2s;
}

.btn-upload:hover {
    background: #139BA4;
}

/* Estilos para todos los botones excepto el de seleccionar archivo */
.btn {
    background: #1a9ba3;
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 8px 16px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: background 0.2s;
}

.btn:hover {
    background: #147a80;
    color: #fff;
    text-decoration: none;
}

.btn-primary {
    background: #1a9ba3;
}

.btn-primary:hover {
    background: #147a80;
}

.btn-secondary {
    background: #6c757d;
}

.btn-secondary:hover {
    background: #5a6268;
}

.btn-info {
    background: #1a9ba3;
}

.btn-info:hover {
    background: #147a80;
}

.btn-outline-info {
    background: transparent;
    color: #1a9ba3;
    border: 2px solid #1a9ba3;
}

.btn-outline-info:hover {
    background: #1a9ba3;
    color: #fff;
}

.btn-sm {
    padding: 4px 8px;
    font-size: 0.8rem;
}

/* Estilos para tablas */
table {
    margin: 2rem 0;
    border-collapse: collapse;
    width: 100%;
}

th, td {
    border-bottom: 1px solid #ececec;
    padding: 7px 12px;
    text-align: center;
}

th {
    background: #f5fcff;
    color: #2695ae;
}

tr:last-child td {
    border-bottom: none;
}

/* Estilos para gráficos */
.grafico {
    display: block;
    margin: 28px auto 18px auto;
    max-width: 94%;
}

/* Estilos para enlaces de descarga */
.descargar {
    display: inline-block;
    background: #e0f7fa;
    color: #24CAD6;
    font-weight: bold;
    padding: 10px 22px;
    border-radius: 7px;
    text-decoration: none;
    margin: 18px 0 22px 0;
    transition: background .17s;
}

.descargar:hover {
    background: #b9f6ca;
}

/* Estilos para métricas */
.metricas {
    background: #f3fcff;
    border-radius: 9px;
    padding: 20px 28px 18px 28px;
    margin-bottom: 28px;
    box-shadow: 0 2px 16px 0 #24cad60e;
}

.metricas h3 {
    color: #2a71d8;
}

.metricas-table td, .metricas-table th {
    padding: 4px 10px;
    font-size: 1.08rem;
}

/* Estilos para secciones */
.seccion {
    margin-top: 32px;
}

.seccion h2 {
    color: #24CAD6;
    margin-bottom: 9px;
}

/* Estilos para mensajes flash */
.alert {
    padding: 12px 16px;
    margin: 16px 0;
    border-radius: 6px;
    border-left: 4px solid;
}

.alert-danger {
    background-color: #f8d7da;
    border-color: #dc3545;
    color: #721c24;
}

.alert-warning {
    background-color: #fff3cd;
    border-color: #ffc107;
    color: #856404;
}

.alert-success {
    background-color: #d4edda;
    border-color: #28a745;
    color: #155724;
}

/* Animación del spinner de carga */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive design */
@media (max-width: 700px) {
    nav {
        gap: 24px;
    }
    
    .main-container {
        padding: 12px 3px;
    }
    
    h1 {
        font-size: 1.3rem;
    }
} 