/* Hero Section */
    .hero-section {
        background-color: #F2F1E5;
        padding: 20px 0 0 0;
        position: relative;
    }

    .hero-section .container {
        max-width: 1200px;
        position: relative;
        z-index: 2;
    }

    .hero-section h1 {
        font-family: 'Satoshi';
        font-weight: 700;
        font-size: 32px;
        color: #0B612E;
        margin-bottom: 10px;
    }

    .today-label,
    .location {
        color: #0B612E;
        position: relative;
        display: inline-block;
        cursor: pointer;
    }

    /* Dropdown styles */
        .white-box {
            background-color: #FFFFFF;
            border-radius: 5px;
            padding: 2px 8px;
            display: inline-block;
            position: relative;
        }
    
        .date-dropdown-content,
        .city-dropdown-content {
            display: none;
            position: absolute;
            background-color: #FFFFFF;
            min-width: 160px;
            box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
            z-index: 10;
            border-radius: 5px;
            padding: 10px;
            left: 0;
            top: 100%;
            margin-top: 5px;
        }
    
        .city-dropdown-content a {
            color: #0B612E;
            padding: 8px 12px;
            text-decoration: none;
            display: block;
            font-size: 14px;
        }
    
        .city-dropdown-content a:hover {
            background-color: #F5FCD9;
        }
    
        #date-dropdown:hover .date-dropdown-content,
        #city-dropdown:hover .city-dropdown-content {
            display: block;
        }

    .dropdown-icon {
        color: #0B612E;
        font-size: 0.7em;
        margin-left: 0.2rem;
        vertical-align: middle;
        background-color: transparent;
        border-radius: 50%;
        padding: 2px;
    }

    .hero-section .subtitle {
        font-family: 'Satoshi';
        font-weight: 400;
        font-size: 16px;
        color: #555555;
        margin-bottom: 20px;
    }

    /* Landscape Banner */
    .landscape-banner {
        height: 130px;
        background: linear-gradient(90deg, #4d8133 0%, #4d8133 35%, #87402a 100%);
        position: relative;
        overflow: hidden;
        margin-top: 20px;
        margin-bottom: 0;
        padding-bottom: 0;
        background-image: url("../img/Imagen1.5e565da5a78a.webp");
        background-size: cover;
        background-position: center;
        border-bottom: none;
    }

    /* Tab Container */
    .tab-container {
        position: relative;
        z-index: 1;
        background-color: transparent;
        padding: 0;
        margin-top: -50px;
        display: flex;
        justify-content: center;
    }

    .custom-tabs {
        display: flex;
        justify-content: center;
        border: none;
        width: 90%;
        max-width: 1140px;
        margin: 0;
        padding: 0;
        gap: 10px;
    }

    .custom-tabs .nav-item {
        flex: 1;
        margin: 0;
    }

    .custom-tabs .nav-link {
        font-family: 'Satoshi';
        background-color: #C8C6B4;
        color: #0B612E;
        border: none;
        border-top-left-radius: 8px;
        border-top-right-radius: 8px;
        margin: 0;
        padding: 16px 0;
        font-weight: 500;
        font-size: 16px;
        text-align: center;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .custom-tabs .nav-link.active {
        background-color: #F8F8F0;
        color: #0B612E;
        font-weight: 800;
    }

    /* Chart Section */
    .chart-section {
        background-color: #F8F8F0;
        padding: 10px 0;
        width: 100%;
        position: relative;
        z-index: 1;
        margin-top: 0;
        border-top: none;
    }

    /* Hour labels styling for the chart */
    .chart-hour-labels {
        display: flex;
        justify-content: space-between;
        width: 100%;
        margin-top: 10px;
        padding: 0 5px;
    }

    .hour-label {
        font-family: 'Satoshi';
        font-size: 11px;
        color: #666;
        text-align: center;
        width: 4.16%; /* 100% / 24 hours */
        white-space: nowrap;
    }

    .hour-label.current {
        color: #0B612E;
        font-weight: 600;
        background-color: #F5FCD9;
        border-radius: 4px;
        padding: 2px 4px;
    }
    
    /* Highlight for specific time periods */
    .hour-label.min-price-time {
        color: #0B612E;
    }
    
    .hour-label.max-price-time {
        color: #662923;
    }

    /* Price Summary */
    .price-summary {
        display: flex;
        justify-content: space-between;
        gap: 15px;
        margin: 0 auto;
        background-color: #FFFFFF;
        padding: 20px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
        width: 90%;
        max-width: 1140px;
        border-radius: 15px;
    }

    /* Chart Container */
    .chart-container {
        background-color: #FFFFFF;
        border-radius: 15px;
        padding: 20px 15px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
        margin: 20px auto 30px auto;
        width: 90%;
        max-width: 1140px;
    }

    .stats-container {

        margin: 20px auto 30px auto;
        width: 90%;
        max-width: 1140px;
    }


    .price-box {
        flex: 1;
        text-align: left;
        padding: 10px 15px;
        border-radius: 8px;
        margin: 0;
        /* max-width: 31%; */
    }

    .min-price {
        background-color: #F5FCD9;
    }

    .avg-price {
        background-color: #FFF4D0;
    }

    .max-price {
        background-color: #FFE6E3;
    }

    .price-box p {
        font-family: 'Satoshi';
        font-size: 26px;
        font-weight: 700;
        margin: 0;
        line-height: 1.2;
    }

    .price-value {
        display: inline-block;
    }

    .price-value span {
        font-weight: 400;
        display: inline-block;
        margin-left: 5px;
    }

    .min-price .price-value {
        color: #0B612E;
    }

    .min-price .price-value span {
        color: #79A181;
    }

    .avg-price .price-value {
        color: #785C00;
    }

    .avg-price .price-value span {
        color: #BCA146;
    }

    .max-price .price-value {
        color: #662923;
    }

    .max-price .price-value span {
        color: #C37971;
    }

    .price-description {
        font-family: 'Satoshi';
        font-size: 12px;
        color: #555555;
        display: block;
        line-height: 1.2;
        margin-top: 5px;
    }

    .chart-title {
        font-family: 'Satoshi';
        color: #0B612E;
        font-size: 18px;
        font-weight: 600;
        margin-bottom: 20px;
        text-align: left;
    }

    /* Notification Section */
    .notification-section {
        background-color: #FFFFFF;
        padding: 40px 0;
        width: 100%;
        margin-bottom: 30px;
    }

    .notification-section-inner {
        max-width: 1140px;
        margin: 0 auto;
        width: 90%;
    }

    .notification-card {
        background-color: #F8F8F0;
        border-radius: 15px;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
        overflow: hidden;
    }

    .notification-form-container {
        background-color: #ffffff;
        border-radius: 15px;
        margin: 20px;
        padding: 30px;
        height: 90%;
    }

    .notification-content h3 {
        color: #0b612e;
        font-size: 20px;
        font-weight: 600;
        margin-bottom: 15px;
    }

    .notification-content p {
        font-size: 14px;
        color: #333;
        margin-bottom: 20px;
    }

    .notification-content input[type="email"] {
        padding: 12px 15px;
        border: 1px solid #e0e0e0;
        font-size: 14px;
    }

    .notification-content input[type="email"]::placeholder {
        color: #666;
        font-size: 14px;
    }

    .notify-btn {
        background-color: #D6EB9B;
        color: #333;
        border: none;
        padding: 12px 20px;
        border-radius: 25px;
        cursor: pointer;
        font-weight: 500;
        font-size: 14px;
    }

    .legal-note {
        font-size: 12px;
        color: #6F6D4E;
        line-height: 1.4;
    }

    .legal-note a {
        color: #6F6D4E;
        text-decoration: none;
    }

    .legal-note a:hover {
        text-decoration: underline;
    }

    /* FAQ Section Styling */
    .consejos-section {
        background-color: #F8F8F0;
        padding: 50px 0;
        border-top: 1px solid #e0e0e0;
    }

    .consejos-container {
        max-width: 1140px;
        margin: 0 auto;
        width: 90%;
    }

    .consejos-header {
        margin-bottom: 40px;
        text-align: left;
    }

    .consejos-header h2 {
        font-family: 'Satoshi';
        font-weight: 700;
        font-size: 24px;
        color: #0B612E;
        margin-bottom: 10px;
        text-align: left;
    }

    .consejos-sidebar .card {
        border: 1px solid #e0e0e0;
        border-radius: 10px;
        overflow: hidden;
        background-color: #FFFFFF;
    }

    .sidebar-links li a {
        color: #333;
        text-decoration: none;
        display: block;
        padding: 8px 0;
        transition: all 0.3s ease;
        font-size: 14px;
    }

    .sidebar-links li a:hover {
        color: #0B612E;
    }

    .consejo-accordion-item {
        background-color: #FFFFFF;
        border: 1px solid #E0E0E0;
        border-radius: 15px;
        overflow: hidden;
        margin-bottom: 15px;
    }

    .accordion-button {
        font-family: 'Satoshi';
        font-weight: 500;
        font-size: 16px;
        color: #333333 !important;
        background-color: #FFFFFF !important;
        padding: 15px 20px;
        transition: all 0.3s ease;
        box-shadow: none;
        border-radius: 25px !important;
    }

    .accordion-button:not(.collapsed) {
        color: #0B612E !important;
        background-color: #FFFFFF !important;
        box-shadow: none;
        border-radius: 25px 25px 0 0 !important;
    }

    .accordion-button:focus {
        box-shadow: none;
        border-color: transparent;
    }

    .accordion-button::after {
        background-color: #F5FCD9;
        border-radius: 50%;
        width: 24px;
        height: 24px;
        background-position: center;
        background-size: 12px;
    }

    .accordion-body {
        padding: 0 20px 20px 20px;
        color: #555555;
        font-size: 14px;
        line-height: 1.5;
    }

    /* Savings CTA Section */
    .savings-cta {
        background-color: #FFFFFF;
        padding: 30px 0;
        margin: 0;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .savings-cta-container {
        max-width: 1184px;
        width: 90%;
        height: 120px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        background-color: #F8F8F0;
        border-radius: 10px;
        padding: 0 40px;
    }

    .savings-cta-text {
        display: flex;
        flex-direction: column;
    }

    .savings-cta-text h3 {
        font-family: 'Satoshi';
        font-weight: 700;
        font-size: 18px;
        color: #0B612E;
        margin-bottom: 5px;
    }

    .savings-cta-text p {
        font-family: 'Satoshi';
        font-size: 14px;
        color: #555555;
        margin: 0;
    }

    .compare-btn {
        background-color: #D6EB9B;
        color: #0B612E;
        font-weight: 600;
        padding: 12px 25px;
        border-radius: 30px;
        text-decoration: none;
        transition: all 0.3s;
        border: none;
        cursor: pointer;
        font-size: 14px;
        white-space: nowrap;
    }

    .compare-btn:hover {
        background-color: #C0D68A;
    }

    /* Footer */
    .footer {
        background-color: #D6EB9B;
        padding-top: 50px;
        color: #0b612e;
        width: 100%;
        margin-top: 0;
    }

    .footer .container {
        max-width: 1140px;
        margin: 0 auto;
        width: 90%;
    }

    .footer-main {
        border-bottom: 1px solid rgba(11, 97, 46, 0.2);
    }

    .footer h3 {
        color: #0b612e;
        font-weight: 600;
        margin-bottom: 20px;
        font-size: 22px;
    }

    .footer p {
        color: #0b612e;
        margin-bottom: 10px;
        font-size: 14px;
        line-height: 1.5;
    }

    .social-icons {
        margin-top: 20px;
        display: flex;
        gap: 15px;
    }

    .footer a {
        color: #0b612e;
        text-decoration: none;
        transition: color 0.3s;
        font-size: 16px;
        font-weight: 600;
    }

    .footer a:hover {
        color: #0b612e;
        text-decoration: underline;
    }

    .footer-image {
        width: 100%;
        height: 186px !important;
        overflow: hidden;
        position: relative;
        margin: 0;
        padding: 0;
        line-height: 0;
    }

    .footer-image img {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        min-width: 100%;
        min-height: 100%;
        width: auto;
        height: auto;
        object-fit: cover;
    }

    /* Responsive adjustments */
    @media (max-width: 991px) {
        .faq-links {
            margin-top: 30px;
        }

        .hero-section h1 {
            font-size: 28px;
        }

        .price-summary {
            flex-direction: column;
            gap: 10px;
        }

        .custom-tabs .nav-item {
            max-width: none;
        }
    }

    @media (max-width: 767px) {
        .hero-section h1 {
            font-size: 24px;
        }

        .landscape-banner {
            height: 80px;
        }

        .custom-tabs .nav-link {
            font-size: 14px;
            padding: 10px 0;
        }

        .price-box p {
            font-size: 20px;
        }

        .chart-title {
            font-size: 16px;
        }

        .header-circle {
            display: none;
        }

        .notification-section .notification-card {
            position: relative;
            min-height: 300px;
        }

        .savings-cta-container {
            height: auto;
            flex-direction: column;
            text-align: center;
            gap: 15px;
            padding: 20px;
        }
        
        .savings-cta-text h3 {
            font-size: 16px;
        }
        
        .savings-cta-text p {
            font-size: 13px;
        }
    }

    .circle-icon {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        background-color: #D6EB9B;
        border-radius: 50%;
        color: #256333;
        font-size: 16px;
        margin-left: 4px;
        line-height: 1;
        padding: 0;
        vertical-align: middle;
    }

    .white-box {
        background-color: #FFFFFF;
        border-radius: 5px;
        padding: 4px 8px;
        display: inline-flex;
        align-items: center;
        position: relative;
    }

    /* Dropdown styles */
    .white-box {
        background-color: #FFFFFF;
        border-radius: 5px;
        padding: 2px 8px;
        display: inline-block;
        position: relative;
    }

    .date-dropdown-content,
    .city-dropdown-content {
        display: none;
        position: absolute;
        background-color: #FFFFFF;
        min-width: 160px;
        box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
        z-index: 10;
        border-radius: 5px;
        padding: 10px;
        left: 0;
        top: 100%;
        margin-top: 5px;
    }

    .date-dropdown-content a,
    .city-dropdown-content a {
        color: #0B612E;
        padding: 8px 12px;
        text-decoration: none;
        display: block;
        font-size: 14px;
    }

    .date-dropdown-content a:hover,
    .city-dropdown-content a:hover {
        background-color: #F5FCD9;
        border-radius: 4px;
    }

    #date-dropdown:hover .date-dropdown-content,
    #city-dropdown:hover .city-dropdown-content {
        display: block;
    }

    /* Calendar styles */
        .calendar {
            width: 240px;
            font-family: 'Satoshi';
        }
        
        .calendar-header {
            text-align: center;
            font-weight: bold;
            margin-bottom: 10px;
            color: #0B612E;
        }
        
        .calendar-days {
            display: grid;
            grid-template-columns: repeat(7, 1fr);
            text-align: center;
            font-weight: bold;
            margin-bottom: 5px;
            color: #555555;
        }
        
        .calendar-grid {
            display: grid;
            grid-template-columns: repeat(7, 1fr);
            gap: 2px;
        }
        
        .calendar-grid div {
            padding: 5px;
            text-align: center;
            cursor: pointer;
            border-radius: 4px;
        }
        
        .calendar-grid div:hover {
            background-color: #F5FCD9;
        }
        
        .calendar-grid div.today {
            background-color: #D6EB9B;
            color: #256333;
            font-weight: bold;
        }

/* Additional Charts Section */
    .additional-charts-section {
        background-color: #F8F8F0;
        padding: 0 0 40px 0;
        width: 100%;
    }

    .chart-evolution-container {
        background-color: #FFFFFF;
        border-radius: 15px;
        padding: 20px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
        margin: 0 auto 30px auto;
        width: 90%;
        max-width: 1140px;
    }

    .chart-evolution-title {
        font-family: 'Satoshi';
        color: #0B612E;
        font-size: 20px;
        font-weight: 700;
        margin-bottom: 5px;
        text-align: center;
    }

    .chart-evolution-subtitle {
        font-family: 'Satoshi';
        font-size: 14px;
        color: #555555;
        margin-bottom: 20px;
        text-align: center;
    }

    .chart-source {
        font-family: 'Satoshi';
        font-size: 12px;
        color: #595735;
        margin-top: 10px;
        text-align: left;
    }

    .chart-last-update {
        font-family: 'Satoshi';
        font-size: 12px;
        color: #595735;
        margin-top: 5px;
        text-align: left;
    }


    #startDate {
        border: 1px solid #ddd;
        padding: 8px;
        border-radius: 4px;
        font-family: 'Satoshi';
        font-size: 14px;
        width: 240px;
        color: #0B612E;
        cursor: pointer;
    }
    #startDate::-webkit-calendar-picker-indicator {
        cursor: pointer;
        padding: 5px;
    }
    /* Ocultar el borde al enfocar */
    #startDate:focus {
        outline: none;
        border-color: #D6EB9B;
    }

    /* Añade estos estilos para el posicionamiento del calendario */
.daterangepicker {
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border: 1px solid #ddd;
    margin-top: 5px !important;
    font-family: 'Satoshi';
}

.daterangepicker .calendar-table {
    border-radius: 4px;
    background-color: white;
}

.daterangepicker td.active, 
.daterangepicker td.active:hover {
    background-color: #0B612E;
}



.date-display-label {
    cursor: pointer;
    display: inline-block;
}

.date-picker-container {
    position: relative;
    display: inline-block;
}

.date-picker-hidden {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
}

.date-picker-hidden::-webkit-calendar-picker-indicator {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: auto;
    height: auto;
    color: transparent;
    background: transparent;
    cursor: pointer;
}