
/* ========================================================= */
/* DISEÑO BASE Y TOKENS DE ESTILO (Variables CSS) */
/* ========================================================= */
:root {
    --bg-dark: #0d1117;
    --card-bg: #161b22;
    --border-color: #30363d;
    --text-light: #e6edf3;
    --text-muted: #8b949e; /* Añadida para texto gris */
    --accent-main: #ffc300; /* Amarillo Neón - Principal */
    --accent-live: #58a6ff; /* Azul Neón - Live Data */
    --accent-gallery: #7ee787; /* Verde Neón - Galería */
    --accent-gear: #c993ff; /* Morado Neón - Herramientas */
    --accent-about: #ff7b72; /* Rojo Neón - Sobre Mí */
    --accent-weather: #00bcd4; /* Cian para Clima */
}
                body {	
         overflow-x: hidden;
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark); 
     color: var(--text-light); 
     margin: 0;
    padding: 0; 
 }
        .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px; 
 }
        /* Estilo H2 (Sección) */
h2 {
    display: block;
    font-size: 1.5em !important;
    margin-block-start: 0.83em;
    margin-block-end: 0.83em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    font-weight: bold !important;
    unicode-bidi: isolate;
}
hr {
    border: 0;
    height: 1px;
    background-image: linear-gradient(to right, var(--bg-dark), var(--accent-live), var(--bg-dark));
    margin: 40px 0;
}
            /* ========================================================= */
/* HERO SECTION (Ajustado a la calculadora) */
/* ========================================================= */
.calculator-header {
    color: #ffc300; /* Color Herramientas para el título */
    text-shadow: 0 0 15px rgba(255, 195, 0, 0.5);
}
.main-content-container {
    max-width: 1200px; /* Ancho ajustado para las dos cards */
    margin: 0 auto;
}
/* ========================================================= */
/* ESTILOS DE LA CALCULADORA (Ajustado a estilo CCD/FOV) */
/* ========================================================= */

/* ⭐️ NUEVO ESTILO: Contenedor Flexible (Estilo FOV/CCD) */
.fov-flex-container {
    display: flex;
    gap: 30px;
    width: 100%;
    flex-wrap: wrap; 
    margin-bottom: 30px;
}

/* ⭐️ NUEVO ESTILO: Paneles de Input/Visualización (Estilo FOV/CCD) */
.input-panel, .visual-panel {
    background: var(--card-bg); 
    padding: 25px; /* Aumentado de 20px a 25px */
    border-radius: 8px; /* Cambiado de 12px a 8px */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4); /* Sombra más sutil */
    flex: 1 1 45%; /* Permite 2 columnas */
    border: 1px solid var(--border-color); 
}

/* ⭐️ Media Query para Responsividad (Estilo FOV/CCD) */
@media (max-width: 768px) {
    .fov-flex-container {
        flex-direction: column; 
    }
    .input-panel, .visual-panel {
        flex: 1 1 100%; 
    }
}

/* Originalmente .ccd-container y .input-result-box: ELIMINADO/SOBREESCRITO */

.input-section-title {
    color: var(--accent-main); /* Color para títulos internos */
    font-weight: 700;
}

/* Estilo de los campos de input */
input[type="date"], input[type="time"], .custom-select {
    background-color: var(--bg-dark);
    border: 1px solid var(--border-color);
    color: var(--text-light);
    padding: 8px 12px;
    border-radius: 6px;
    transition: border-color 0.3s;
    outline: none;
    font-family: 'Inter', sans-serif;
}
input[type="date"]:focus, input[type="time"]:focus, .custom-select:focus {
    border-color: var(--accent-gear);
}

/* Botón de Neón */
.neon-button {
    background-color: transparent; 
    color: var(--accent-gear); 
    border: 2px solid var(--accent-gear); 
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(201, 147, 255, 0.3); 
    text-transform: uppercase;
    letter-spacing: 1px;
}
.neon-button:hover {
    background-color: var(--accent-gear);
    color: var(--bg-dark);
    transform: scale(1.01);
    box-shadow: 0 0 20px rgba(201, 147, 255, 0.8);
}

/* Estilos de Resultados (Resultados y Análisis) */
.results-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    text-align: center;
}
.result-box {
    background-color: #0d1117;
    border: 1px solid var(--border-color);
    padding: 15px 10px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.6);
}
.result-value {
    color: var(--accent-main);
    text-shadow: 0 0 8px rgba(255, 195, 0, 0.5);
}

.analysis-prompt {
    color: var(--text-muted);
    font-style: italic;
    text-align: center;
    padding: 30px 10px;
    border: 1px dashed var(--border-color);
    border-radius: 8px;
}
        
/* ESTILO PARA EL CANVAS (NUEVO) */
#solar-diagram-container {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--bg-dark);
    padding: 10px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    margin-top: 20px;
    box-shadow: inset 0 0 10px rgba(255, 195, 0, 0.2);
}

#contenedor{
    padding: 20px;
    background-color: #161b22;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* ========================================================= */
/* OTROS ESTILOS (Dropdown, Footer) - Mantenidos */
/* ========================================================= */
/* NAVEGACIÓN */
        
#nav-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap; 
     border-bottom: 2px solid var(--card-bg); 
     margin-bottom: 30px;
}
.nav-link-btn {
    background: transparent;
    border: none;
    padding: 15px 25px; 
     cursor: pointer;
    color: var(--text-light);
    font-size: 1.2em;
    transition: color 0.3s ease;
    text-transform: uppercase;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px; 
     border-bottom: 3px solid transparent; 
     font-weight: normal;
}
.nav-link-btn:hover {
    background-color: #30363d !important;
    color: #ffc300 !important 
}
.nav-link-btn.active-link-style {
    border-bottom: 3px solid #ffc300 !important;
    color: var(--accent-main);
    font-weight: bold;
}
/* Dropdown */
.dropdown-menu-container {
    position: relative; 
     display: inline-block;
}
.dropdown-toggle { cursor: pointer; color: var(--text-light); font-weight: normal; display: inline-flex; align-items: center; }
.dropdown-toggle:hover { color: var(--accent-main); }
.dropdown-content {
    display: none; position: absolute; background-color: var(--card-bg) !important; 
     z-index: 9999; min-width: 300px; box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.7);
    border-top: 3px solid var(--accent-gear); border-radius: 0 0 8px 8px; padding: 10px 0;
    left: 50%; transform: translateX(-50%);
}
.dropdown-content.show { display: flex; flex-direction: column; }
.dropdown-item {
    color: var(--text-light); padding: 10px 15px; text-decoration: none; display: flex;
    align-items: center; gap: 10px; font-size: 1.2em; transition: background-color 0.3s, color 0.3s;
    border-bottom: none !important; font-weight: normal; background-color: var(--card-bg);
}
.dropdown-item:hover { background-color: var(--border-color); color: var(--accent-main); }

/* Footer */
        
footer {
    margin-top: 40px; padding: 20px 0; border-top: 1px solid var(--card-bg);
    font-size: 0.9em; color: #6a737d; text-align: center; 
     display: flex; justify-content: center; align-items: center; gap: 15px;
}

