/* ============================================
   Cádiz al día - Modern Design Styles
   ============================================ */

:root {
    --navy-blue: #1e3a5f;
    --light-blue: #38bdf8;
    --white: #ffffff;
    --light-gray: #f5f5f5;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --border-color: #e5e7eb;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --font-main: 'Outfit', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    background-color: var(--light-gray);
    color: var(--text-dark);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ============================================
   Hero Header with Background Image
   ============================================ */

.hero-header {
    position: relative;
    height: 400px;
    background-image: url('header-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom,
            rgba(30, 58, 95, 0.7) 0%,
            rgba(30, 58, 95, 0.5) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    padding: 2rem;
    max-width: 800px;
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);
    opacity: 0.95;
}

/* ============================================
   Navigation Bar
   ============================================ */

.main-nav {
    background-color: var(--navy-blue);
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0 1rem;
}

.nav-link {
    color: var(--white);
    text-decoration: none;
    padding: 1rem 1.5rem;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
    display: inline-block;
}

.nav-link:hover,
.nav-link.active {
    background-color: rgba(255, 255, 255, 0.1);
    border-bottom-color: var(--light-blue);
}

.search-btn {
    background: transparent;
    border: none;
    color: var(--white);
    padding: 0.75rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: background-color 0.3s ease;
    margin-left: auto;
}

.search-btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* ============================================
   Main Content
   ============================================ */

.main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 1rem;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

/* ============================================
   Info Cards
   ============================================ */

.info-card {
    background: var(--white);
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border-color);
}

.info-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.card-icon {
    color: var(--light-blue);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.info-card h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.feature-list {
    list-style: none;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.feature-list li {
    color: var(--text-light);
    font-size: 0.95rem;
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.feature-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--light-blue);
    font-weight: bold;
    font-size: 1.2rem;
}

.card-btn {
    background-color: var(--light-blue);
    color: var(--white);
    border: none;
    padding: 0.875rem 1.75rem;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-main);
    box-shadow: var(--shadow-sm);
}

.card-btn:hover {
    background-color: #0ea5e9;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.card-btn:active {
    transform: translateY(0);
}

/* ============================================
   Footer
   ============================================ */

.main-footer {
    background-color: var(--navy-blue);
    color: var(--white);
    padding: 1.5rem 0;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.copyright {
    font-size: 0.9rem;
    opacity: 0.9;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-icon {
    color: var(--white);
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icon:hover {
    background-color: var(--light-blue);
    transform: translateY(-2px);
}

/* ============================================
   Responsive Design
   ============================================ */

@media (max-width: 1024px) {
    .hero-content h1 {
        font-size: 3rem;
    }

    .hero-subtitle {
        font-size: 1.25rem;
    }
}

@media (max-width: 768px) {
    .hero-header {
        height: 300px;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .nav-container {
        flex-wrap: wrap;
        justify-content: flex-start;
    }

    .nav-link {
        padding: 0.875rem 1rem;
        font-size: 0.9rem;
    }

    .card-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .main-content {
        padding: 2rem 1rem;
    }

    .info-card {
        padding: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-header {
        height: 250px;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .nav-container {
        gap: 0;
    }

    .nav-link {
        padding: 0.75rem 0.75rem;
        font-size: 0.85rem;
    }

    .search-btn {
        padding: 0.5rem;
    }

    .info-card {
        padding: 1.5rem;
    }

    .info-card h2 {
        font-size: 1.25rem;
    }

    .feature-list li {
        font-size: 0.9rem;
    }

    .card-btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .copyright {
        font-size: 0.85rem;
    }
}

/* ============================================
   Animations
   ============================================ */

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.info-card {
    animation: fadeIn 0.6s ease-out;
}

.info-card:nth-child(1) {
    animation-delay: 0.1s;
}

.info-card:nth-child(2) {
    animation-delay: 0.2s;
}

.info-card:nth-child(3) {
    animation-delay: 0.3s;
}

.info-card:nth-child(4) {
    animation-delay: 0.4s;
}

/* ============================================
   Estaciones Meteorológicas - Enhanced Cards
   ============================================ */

.estacion-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.95) 100%) !important;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(56, 189, 248, 0.2) !important;
    border-radius: 16px !important;
    padding: 1.5rem !important;
    box-shadow: 
        0 4px 6px -1px rgba(0, 0, 0, 0.1),
        0 2px 4px -1px rgba(0, 0, 0, 0.06),
        0 0 0 1px rgba(56, 189, 248, 0.1) !important;
    transition: all 0.3s ease !important;
}

.estacion-card:hover {
    transform: translateY(-4px) !important;
    box-shadow: 
        0 10px 15px -3px rgba(0, 0, 0, 0.1),
        0 4px 6px -2px rgba(0, 0, 0, 0.05),
        0 0 0 1px rgba(56, 189, 248, 0.3) !important;
    border-color: rgba(56, 189, 248, 0.4) !important;
}

.estacion-card h3 {
    color: var(--navy-blue) !important;
    font-weight: 600 !important;
    margin-bottom: 1rem !important;
}

.estacion-data {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.data-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem;
    background: rgba(56, 189, 248, 0.05);
    border-radius: 8px;
    transition: background 0.2s ease;
}

.data-item:hover {
    background: rgba(56, 189, 248, 0.1);
}

.data-label {
    color: #6b7280;
    font-size: 0.875rem;
}

.data-value {
    color: var(--navy-blue);
    font-weight: 600;
    font-size: 1rem;
}

/* Loading spinner improvements */
.loading-spinner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(56, 189, 248, 0.2);
    border-top-color: var(--light-blue);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Glass panel improvements for other pages */
.glass-panel {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.95) 100%);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(56, 189, 248, 0.2);
    border-radius: 12px;
    box-shadow: 
        0 4px 6px -1px rgba(0, 0, 0, 0.1),
        0 2px 4px -1px rgba(0, 0, 0, 0.06);
}


/* ============================================
   Estaciones Meteorológicas - Card Styling Fix
   ============================================ */

.estacion-card-main {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.98) 0%, 
        rgba(248, 250, 252, 0.98) 100%) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border: 1px solid rgba(56, 189, 248, 0.3) !important;
    border-left: 4px solid var(--light-blue) !important;
    border-radius: 16px !important;
    padding: 1.75rem !important;
    box-shadow: 
        0 4px 6px -1px rgba(0, 0, 0, 0.1),
        0 2px 4px -1px rgba(0, 0, 0, 0.06),
        0 0 0 1px rgba(56, 189, 248, 0.1),
        inset 0 1px 0 0 rgba(255, 255, 255, 0.8) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    position: relative !important;
}

.estacion-card-main::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(56, 189, 248, 0.03) 0%, 
        rgba(139, 92, 246, 0.03) 100%);
    border-radius: 16px;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 0;
}

.estacion-card-main:hover::before {
    opacity: 1;
}

.estacion-card-main:hover {
    transform: translateY(-6px) scale(1.01) !important;
    box-shadow: 
        0 12px 24px -4px rgba(0, 0, 0, 0.12),
        0 8px 16px -4px rgba(0, 0, 0, 0.08),
        0 0 0 1px rgba(56, 189, 248, 0.3),
        inset 0 1px 0 0 rgba(255, 255, 255, 0.9) !important;
    border-color: rgba(56, 189, 248, 0.5) !important;
}

.estacion-card-main > * {
    position: relative;
    z-index: 1;
}

.estacion-main-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(56, 189, 248, 0.15);
}

.estacion-main-header h3 {
    color: var(--navy-blue) !important;
    font-weight: 600 !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.estacion-main-temp {
    font-size: 3rem !important;
    font-weight: 700 !important;
    text-align: center;
    margin: 1.5rem 0 !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    letter-spacing: -0.02em;
}

.estacion-main-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 1.5rem;
}

.stat-item-main {
    background: rgba(56, 189, 248, 0.06) !important;
    padding: 1rem !important;
    border-radius: 12px !important;
    text-align: center;
    transition: all 0.2s ease;
    border: 1px solid rgba(56, 189, 248, 0.1);
}

.stat-item-main:hover {
    background: rgba(56, 189, 248, 0.12) !important;
    transform: translateY(-2px);
    border-color: rgba(56, 189, 248, 0.2);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .estacion-card-main {
        padding: 1.5rem !important;
    }
    
    .estacion-main-temp {
        font-size: 2.5rem !important;
    }
    
    .estacion-main-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
}

@media (max-width: 480px) {
    .estacion-main-stats {
        grid-template-columns: 1fr;
    }
}


/* ============================================
   News Cards Styling
   ============================================ */

.news-card {
    background: white !important;
    border-radius: 16px !important;
    overflow: hidden;
    box-shadow: 
        0 4px 6px -1px rgba(0, 0, 0, 0.1),
        0 2px 4px -1px rgba(0, 0, 0, 0.06) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    border: 1px solid rgba(56, 189, 248, 0.1);
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: translateY(-4px) !important;
    box-shadow: 
        0 12px 24px -4px rgba(0, 0, 0, 0.12),
        0 8px 16px -4px rgba(0, 0, 0, 0.08) !important;
    border-color: rgba(56, 189, 248, 0.3);
}

.news-image {
    width: 100%;
    height: 200px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.news-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.3), transparent);
}

.news-image-gradient {
    width: 100%;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.news-icon {
    font-size: 4rem;
    opacity: 0.9;
}

.news-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-tag {
    display: inline-block;
    background: rgba(56, 189, 248, 0.1);
    color: var(--light-blue);
    padding: 0.25rem 0.75rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
    width: fit-content;
}

.news-content h2 {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0 0 0.75rem 0;
    line-height: 1.4;
}

.news-content h2 a {
    color: var(--navy-blue);
    text-decoration: none;
    transition: color 0.2s ease;
}

.news-content h2 a:hover {
    color: var(--light-blue);
}

.news-content p {
    color: #6b7280;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0 0 1rem 0;
    flex: 1;
}

.read-more {
    color: var(--light-blue);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    transition: all 0.2s ease;
    margin-top: auto;
}

.read-more:hover {
    gap: 0.5rem;
    color: #0ea5e9;
}

/* News intro and footer styling */
.news-intro, .news-footer {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.news-source-credit {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: #6b7280;
}

.news-source-credit a {
    color: var(--light-blue);
    text-decoration: none;
    font-weight: 600;
}

.news-source-credit a:hover {
    text-decoration: underline;
}

.news-update-info {
    margin-top: 0.5rem;
    font-size: 0.85rem;
    color: #22c55e;
    font-weight: 600;
}

.news-footer {
    text-align: center;
}

.view-all-btn {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.75rem 1.5rem;
    background: var(--light-blue);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.view-all-btn:hover {
    background: #0ea5e9;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(56, 189, 248, 0.3);
}

/* Error message styling */
.error-message {
    text-align: center;
    padding: 3rem 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.error-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.error-message h3 {
    color: var(--navy-blue);
    margin-bottom: 0.5rem;
}

.error-message p {
    color: #6b7280;
    margin-bottom: 1.5rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .news-image, .news-image-gradient {
        height: 180px;
    }
    
    .news-content {
        padding: 1.25rem;
    }
    
    .news-content h2 {
        font-size: 1.1rem;
    }
}


/* ============================================
   Embalses Cards Styling
   ============================================ */

.embalse-card {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.98) 0%, 
        rgba(248, 250, 252, 0.98) 100%) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border: 1px solid rgba(56, 189, 248, 0.3) !important;
    border-radius: 16px !important;
    padding: 1.75rem !important;
    box-shadow: 
        0 4px 6px -1px rgba(0, 0, 0, 0.1),
        0 2px 4px -1px rgba(0, 0, 0, 0.06),
        0 0 0 1px rgba(56, 189, 248, 0.1),
        inset 0 1px 0 0 rgba(255, 255, 255, 0.8) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    position: relative;
    overflow: hidden;
}

.embalse-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(56, 189, 248, 0.03) 0%, 
        rgba(34, 197, 94, 0.03) 100%);
    border-radius: 16px;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 0;
}

.embalse-card:hover::before {
    opacity: 1;
}

.embalse-card:hover {
    transform: translateY(-6px) scale(1.01) !important;
    box-shadow: 
        0 12px 24px -4px rgba(0, 0, 0, 0.12),
        0 8px 16px -4px rgba(0, 0, 0, 0.08),
        0 0 0 1px rgba(56, 189, 248, 0.3),
        inset 0 1px 0 0 rgba(255, 255, 255, 0.9) !important;
    border-color: rgba(56, 189, 248, 0.5) !important;
}

.embalse-card > * {
    position: relative;
    z-index: 1;
}

.embalse-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(56, 189, 248, 0.15);
}

.embalse-icon {
    font-size: 2.5rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.embalse-title {
    flex: 1;
}

.embalse-title h3 {
    margin: 0 0 0.25rem 0;
    color: var(--navy-blue) !important;
    font-size: 1.25rem;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.embalse-capacity {
    font-size: 0.85rem;
    color: #6b7280;
    font-weight: 500;
}

.embalse-chart {
    margin-bottom: 1.5rem;
}

.chart-container {
    width: 100%;
    height: 12px;
    background: rgba(229, 231, 235, 0.5);
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 0.75rem;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

.chart-bar {
    height: 100%;
    border-radius: 6px;
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    position: relative;
}

.chart-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.3), transparent);
    border-radius: 6px 6px 0 0;
}

.chart-percentage {
    font-size: 1.75rem;
    font-weight: 700;
    text-align: center;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    letter-spacing: -0.02em;
}

.embalse-stats {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem;
    background: rgba(56, 189, 248, 0.06) !important;
    border-radius: 10px;
    border: 1px solid rgba(56, 189, 248, 0.1);
    transition: all 0.2s ease;
}

.stat-item:hover {
    background: rgba(56, 189, 248, 0.12) !important;
    transform: translateX(4px);
    border-color: rgba(56, 189, 248, 0.2);
}

.stat-icon {
    font-size: 1.5rem;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
}

.stat-content {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.stat-label {
    font-size: 0.75rem;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

.stat-value {
    font-size: 1rem;
    color: var(--navy-blue);
    font-weight: 700;
    margin-top: 0.125rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .embalse-card {
        padding: 1.5rem !important;
    }
    
    .embalse-title h3 {
        font-size: 1.1rem;
    }
    
    .chart-percentage {
        font-size: 1.5rem;
    }
}


/* ============================================
   No Data Available Message
   ============================================ */

.no-data-message {
    text-align: center;
    padding: 4rem 2rem;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.98) 0%, 
        rgba(254, 242, 242, 0.98) 100%);
    border-radius: 16px;
    border: 1px solid rgba(239, 68, 68, 0.2);
    box-shadow: 
        0 4px 6px -1px rgba(0, 0, 0, 0.1),
        0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.no-data-icon {
    font-size: 5rem;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
}

.no-data-message h3 {
    color: var(--navy-blue);
    font-size: 1.75rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.no-data-message p {
    color: #6b7280;
    font-size: 1rem;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}


/* ============================================
   Embalse Images
   ============================================ */

.embalse-image-container {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
}

.embalse-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.embalse-card:hover .embalse-image {
    transform: scale(1.1);
}
