:root { 
    --primary: #00bcd4; /* Cian Brillante */ 
    --secondary: #0097a7; /* Cian Oscuro */ 
    --accent: #ff4081; /* Rosa Vibrante */ 
    --light: #2c3e50; /* Gris Oscuro (Fondo de Componentes) */ 
    --dark: #1e2a36; /* Negro Azulado (Fondo Principal) */ 
    --text-light: #ecf0f1; /* Texto Principal Claro */ 
    --text-dark: #333; /* Texto de Contraste */ 
    --warning: #ffc107; 
    --danger: #e74c3c; 
    --info: #3498db; 
} 

/* Reset Global */ 
* { 
    box-sizing: border-box; 
    margin: 0; 
    padding: 0; 
} 

/* Estilos Generales */ 
body { 
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; 
    line-height: 1.6; 
    color: var(--text-light); 
    background-color: var(--dark); 
    padding: 20px; 
} 

.container { 
    max-width: 1400px; 
    margin: 0 auto; 
    background: #243447; /* Fondo del contenedor principal */ 
    border-radius: 15px; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.5); 
    overflow: hidden; 
    border: 1px solid rgba(255, 255, 255, 0.05); 
} 

/* Encabezado */ 
header { 
    background: linear-gradient(135deg, var(--secondary), var(--dark)); 
    color: var(--text-light); 
    padding: 40px 30px; 
    text-align: left; 
    position: relative; 
    border-bottom: 3px solid var(--primary); 
} 

.ai-badge { 
    position: absolute; 
    top: 20px; 
    right: 30px; 
    background: var(--accent); 
    padding: 5px 12px; 
    border-radius: 5px; 
    font-size: 0.8rem; 
    font-weight: bold; 
    color: white; 
} 

h1 { 
    font-size: 3rem; 
    margin-bottom: 5px; 
    font-weight: 700; 
    text-transform: uppercase; 
    letter-spacing: 1px; 
} 

.subtitle { 
    font-size: 1.1rem; 
    opacity: 0.8; 
    margin-bottom: 25px; 
} 

/* Barra de Estadísticas */ 
.stats-bar { 
    display: flex; 
    justify-content: space-around; 
    background: var(--light); 
    padding: 15px; 
    border-radius: 8px; 
    margin-top: 20px; 
} 

.stat-item { 
    text-align: center; 
} 

.stat-value { 
    font-size: 2rem; 
    font-weight: 900; 
    color: var(--primary); 
} 

/* Info ODS */ 
.ods-info { 
    display: flex; 
    justify-content: space-around; 
    flex-wrap: wrap; 
    padding: 30px 20px; 
    background-color: var(--dark); 
    border-bottom: 1px solid var(--light); 
} 

.ods-pillar { 
    flex: 1; 
    min-width: 250px; 
    padding: 20px; 
    text-align: center; 
    margin: 10px; 
    background: var(--light); 
    border-radius: 10px; 
    box-shadow: 0 4px 15px rgba(0,0,0,0.3); 
    transition: transform 0.3s, box-shadow 0.3s; 
    border-top: 4px solid var(--accent); 
} 

.ods-pillar:hover { 
    transform: translateY(-5px); 
    box-shadow: 0 8px 25px rgba(0,0,0,0.5); 
} 

.pillar-icon { 
    font-size: 3.5rem; 
    margin-bottom: 15px; 
    color: var(--primary); 
} 

.ods-pillar h3 { 
    color: var(--primary); 
} 

/* Sección de Ejercicio */ 
.exercise-section { 
    padding: 30px; 
} 

.instructions { 
    background-color: var(--light); 
    padding: 25px; 
    border-radius: 10px; 
    margin-bottom: 30px; 
    position: relative; 
    border-left: 5px solid var(--warning); 
    color: var(--text-light); 
} 

.instructions::before { 
    content: "✨"; 
    position: absolute; 
    top: -15px; 
    left: 20px; 
    font-size: 2rem; 
    background: var(--dark); 
    padding: 5px; 
    border-radius: 50%; 
} 

.instructions h2 { 
    color: var(--warning); 
} 

/* Pestañas (Tabs) */ 
.tab-container { 
    margin-bottom: 30px; 
} 

.tabs { 
    display: flex; 
    border-bottom: 2px solid var(--light); 
    margin-bottom: 20px; 
} 

.tab { 
    padding: 10px 20px; 
    cursor: pointer; 
    border-bottom: 3px solid transparent; 
    transition: all 0.3s; 
    color: var(--text-light); 
    opacity: 0.7; 
} 

.tab:hover { 
    opacity: 1; 
} 

.tab.active { 
    border-bottom: 3px solid var(--accent); 
    color: var(--accent); 
    font-weight: bold; 
    opacity: 1; 
} 

.tab-content { 
    display: none; 
} 

.tab-content.active { 
    display: block; 
} 

/* Búsqueda y Resultados (Grid) */ 
.company-search { 
    display: grid; 
    grid-template-columns: 1fr 1.5fr; 
    gap: 30px; 
    margin-bottom: 30px; 
} 

@media (max-width: 968px) { 
    .company-search { 
        grid-template-columns: 1fr; 
    } 
} 

.search-form { 
    background: var(--light); 
    padding: 25px; 
    border-radius: 10px; 
    position: sticky; 
    top: 20px; 
    box-shadow: 0 0 15px rgba(0,0,0,0.3); 
} 

.search-form h3 { 
    color: var(--primary); 
} 

/* Formularios */ 
.form-group { 
    margin-bottom: 20px; 
} 

label { 
    display: block; 
    margin-bottom: 8px; 
    font-weight: 600; 
    color: var(--primary); 
} 

input, select, textarea { 
    width: 100%; 
    padding: 12px; 
    border: 1px solid #3d5a71; 
    background-color: #34495e; 
    color: var(--text-light); 
    border-radius: 5px; 
    font-family: inherit; 
    transition: border-color 0.3s; 
} 

input:focus, select:focus, textarea:focus { 
    border-color: var(--accent); 
    outline: none; 
} 

.checkbox-group { 
    display: flex; 
    gap: 20px; 
    margin-top: 5px; 
} 

.checkbox-item { 
    display: flex; 
    align-items: center; 
    gap: 5px; 
} 

.checkbox-item label { 
    color: var(--text-light); 
    font-weight: 400; 
} 

/* Botones */ 
button { 
    background-color: var(--primary); 
    color: var(--dark); 
    border: none; 
    padding: 12px 25px; 
    border-radius: 5px; 
    cursor: pointer; 
    font-size: 1rem; 
    font-weight: bold; 
    transition: background 0.3s, transform 0.1s; 
    display: inline-flex; 
    align-items: center; 
    gap: 8px; 
} 

button:hover { 
    background-color: var(--accent); 
    color: white; 
} 

button:active { 
    transform: scale(0.98); 
} 

button.secondary { 
    background-color: var(--info); 
    color: white; 
} 

button.secondary:hover { 
    background-color: #2980b9; 
} 

.delete-btn { 
    background-color: var(--danger); 
    color: white; 
    padding: 5px 10px; 
    font-size: 0.9rem; 
    font-weight: normal; 
} 

.delete-btn:hover { 
    background-color: #c0392b; 
} 

/* Resultados */ 
.results { 
    background: #243447; 
    padding: 25px; 
    border-radius: 10px; 
    min-height: 200px; 
    max-height: 600px; 
    overflow-y: auto; 
    box-shadow: inset 0 0 10px rgba(0,0,0,0.3); 
    border: 1px solid var(--light); 
} 

.results h3 { 
    color: var(--accent); 
} 

.results-header { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    margin-bottom: 20px; 
} 

.filters { 
    display: flex; 
    gap: 10px; 
    margin-bottom: 20px; 
    flex-wrap: wrap; 
} 

.filter-btn { 
    background: #34495e; 
    color: var(--text-light); 
    border: 1px solid #4a637d; 
    padding: 5px 12px; 
    border-radius: 20px; 
    cursor: pointer; 
    font-size: 0.9rem; 
    transition: background 0.3s, color 0.3s; 
} 

.filter-btn:hover { 
    background: #4a637d; 
} 

.filter-btn.active { 
    background: var(--primary); 
    color: var(--dark); 
    font-weight: bold; 
} 

.company-card { 
    background: var(--light); 
    border-left: 5px solid var(--primary); 
    padding: 20px; 
    margin-bottom: 15px; 
    border-radius: 8px; 
    box-shadow: 0 2px 10px rgba(0,0,0,0.2); 
    transition: transform 0.3s, border-color 0.3s; 
} 

.company-card:hover { 
    transform: translateX(5px); 
    border-left-color: var(--accent); 
} 

.company-header { 
    display: flex; 
    justify-content: space-between; 
    align-items: flex-start; 
    margin-bottom: 10px; 
} 

.company-name { 
    font-size: 1.4rem; 
    font-weight: bold; 
    color: var(--accent); 
    margin-bottom: 5px; 
} 

.company-actions { 
    display: flex; 
    gap: 8px; 
} 

.action-btn { 
    background: none; 
    border: none; 
    cursor: pointer; 
    color: var(--primary); 
    font-size: 1.1rem; 
    padding: 5px; 
    transition: color 0.3s; 
} 

.action-btn:hover { 
    color: var(--accent); 
} 

.ods-tags { 
    display: flex; 
    flex-wrap: wrap; 
    gap: 8px; 
    margin: 15px 0 5px 0; 
} 

.ods-tag { 
    background: #34495e; 
    color: var(--text-light); 
    padding: 4px 10px; 
    border-radius: 15px; 
    font-size: 0.8rem; 
    font-weight: 500; 
} 

.ods-tag.environmental { 
    background: #2ecc71; /* Verde */ 
} 

.ods-tag.social { 
    background: #3498db; /* Azul */ 
} 

.ods-tag.economic { 
    background: #f39c12; /* Naranja */ 
} 

/* Ejemplos */ 
.examples { 
    margin-top: 20px; 
    display: grid; 
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); 
    gap: 20px; 
} 

.example-card { 
    background: var(--light); 
    padding: 20px; 
    border-radius: 10px; 
    box-shadow: 0 4px 10px rgba(0,0,0,0.3); 
    border-top: 4px solid var(--info); 
    cursor: pointer; 
    transition: transform 0.3s, border-color 0.3s; 
} 

.example-card:hover { 
    transform: translateY(-5px); 
    border-top-color: var(--accent); 
} 

.example-card h4 { 
    color: var(--info); 
} 

.example-card small { 
    color: #bdc3c7; 
} 

/* Análisis IA */ 
.ai-analysis { 
    background: #34495e; 
    padding: 25px; 
    border-radius: 10px; 
    margin-top: 30px; 
    border-left: 5px solid var(--accent); 
} 

.ai-header { 
    display: flex; 
    align-items: center; 
    gap: 10px; 
    margin-bottom: 15px; 
} 

.ai-icon { 
    font-size: 1.8rem; 
    color: var(--accent); 
} 

.ai-analysis h3 { 
    color: var(--accent); 
} 

/* Reflexión */ 
.reflection { 
    margin-top: 30px; 
    padding: 25px; 
    background: var(--light); 
    border-radius: 10px; 
    border-right: 5px solid var(--warning); 
} 

.reflection h3 { 
    color: var(--warning); 
} 

.reflection ol { 
    margin-left: 20px; 
    color: #bdc3c7; 
} 

textarea#reflectionText { 
    margin-top: 15px; 
} 

.export-options { 
    display: flex; 
    gap: 10px; 
    margin-top: 20px; 
    flex-wrap: wrap; 
} 

/* Pie de página */ 
footer { 
    text-align: center; 
    padding: 20px; 
    background: var(--dark); 
    color: #7f8c8d; 
    border-top: 1px solid var(--light); 
} 

.no-results { 
    text-align: center; 
    padding: 40px; 
    color: #7f8c8d; 
} 

.no-results i { 
    color: var(--warning) !important; 
} 

/* Barra de Progreso */ 
.progress-bar { 
    height: 8px; 
    background: #3d5a71; 
    border-radius: 5px; 
    margin-top: 10px; 
    overflow: hidden; 
} 

.progress { 
    height: 100%; 
    background: var(--primary); 
    width: 0%; 
    transition: width 0.5s; 
} 

/* Notificaciones */ 
.notification { 
    position: fixed; 
    bottom: 20px; 
    right: 20px; 
    padding: 15px 25px; 
    border-radius: 8px; 
    font-weight: bold; 
    color: var(--dark); 
    box-shadow: 0 4px 10px rgba(0,0,0,0.3); 
    z-index: 1000; 
    display: none; /* Inicia oculto */ 
} 

.notification.success { 
    background-color: #2ecc71; /* Éxito - Verde */ 
} 

.notification.error { 
    background-color: var(--danger); /* Error - Rojo */ 
    color: white; 
}
