/* ========================================
   VARIABLES Y RESET
   ======================================== */
:root {
    --color-primary: #2ECC71;
    --color-primary-dark: #27AE60;
    --color-secondary: #F5A623;
    --color-secondary-dark: #FF9900;
    --color-purple: #667eea;
    --color-purple-dark: #764ba2;
    --color-text: #333;
    --color-text-light: #666;
    --color-bg: #f8f9fa;
    --color-white: #ffffff;
    --color-border: #e1e5e9;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 5px 15px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 30px rgba(0,0,0,0.15);
    --border-radius: 8px;
    --border-radius-lg: 15px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========================================
   HEADER & NAVIGATION
   ======================================== */
.main-header {
    background: var(--color-white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    padding: 1rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--color-primary);
}

.logo img {
    height: 70px;
    margin-right: 10px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: var(--color-text);
    font-weight: 500;
    transition: var(--transition);
}

.nav-menu a:hover {
    color: var(--color-primary);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--color-text);
    margin: 3px 0;
    transition: var(--transition);
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero-section {
    min-height: 100vh;
    background: linear-gradient(
        to bottom,
        #1c7353 0%,
        #229A56 70%,
        #27AE60 90%,
        #2ECC71 100%
    );
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--color-white);
    position: relative;
    /* IMPORTANTE: overflow hidden para que funcionen los bordes redondeados */
    overflow: hidden;
    /* Bordes redondeados más pronunciados */
    border-bottom-left-radius: 100px;
    border-bottom-right-radius: 100px;
    border-radius: 0 0 1% 1% / 0 0 2% 2%;
    box-shadow: 0 20px 30px rgba(0,0,0,0.1);
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="30" r="1.5" fill="rgba(255,255,255,0.1)"/></svg>') repeat;
    animation: float 5s infinite linear;
    z-index: 0;
    /* IMPORTANTE: heredar los bordes redondeados */
    border-bottom-left-radius: 5rem;
    border-bottom-right-radius: 5rem;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

.hero-content {
    max-width: 800px;
    z-index: 1;
    position: relative;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    opacity: 0.95;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    line-height: 1.8;
}

.hero-cta {
    background: var(--color-secondary);
    color: #000;
    border: none;
    padding: 18px 40px;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(245, 166, 35, 0.3);
}

.hero-cta:hover {
    background: var(--color-secondary-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 153, 0, 0.4);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    padding-bottom: 2rem; /* O agrega padding */
}

.stat-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius-lg);
    padding: 1.5rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-number {
    font-size: 2rem;
    font-weight: bold;
    color: var(--color-secondary);
}

.stat-label {
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

/* ========================================
   CALCULADORA
   ======================================== */
.calculator-main {
    background: var(--color-white);
    padding: 4rem 0;
    position: relative;
    z-index: 10;
    margin-top: 10px;
}

.section-title {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    color: var(--color-primary);
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.section-subtitle {
    text-align: center;
    color: var(--color-text-light);
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {  /* Más específico */
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #555;
}

select, input {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--color-border);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
}

select:focus, input:focus {
    outline: none;
    border-color: var(--color-primary);
}

.calculate-btn {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    color: var(--color-white);
    border: none;
    padding: 1rem 3rem;  /* Ajustado */
    font-size: 1.2rem;   /* Más grande */
    font-weight: 600;
    border-radius: 50px;  /* Más redondeado */
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex; /* Para iconos */
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 4px 15px rgba(46, 204, 113, 0.3);
}


.calculate-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(46, 204, 113, 0.4);
}

.results-section {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    padding: 2rem;
    display: none;
    border-radius: var(--border-radius-lg);
    margin-top: 2rem;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.result-card {
    background: var(--color-white);
    padding: 1.5rem;
    border-radius: var(--border-radius-lg);
    text-align: center;
    box-shadow: var(--shadow-md);
    border-left: 4px solid var(--color-primary);
    position: relative;
    transition: all 0.3s ease;
}

.result-value {
    font-size: 2rem;
    font-weight: bold;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

.result-label {
    color: var(--color-text-light);
    font-size: 0.9rem;
}

.warning-box {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    color: #856404;
    padding: 1rem;
    border-radius: var(--border-radius);
    margin: 1rem 0;
}

/* ========================================
   NUEVOS ESTILOS PARA CALCULADORA MEJORADA
   ======================================== */

/* Tarjetas de calculadora */
.calculator-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 2rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.calculator-card.optional {
    border: 2px solid #e8f5e8;
}

.card-header {
    padding: 1.5rem 2rem;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #e9ecef;
}

.card-content {
    padding: 2rem;
}

/* Toggle switch para vehículo */
.toggle-switch {
    position: relative;
    width: 60px;
    height: 30px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 30px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .toggle-slider {
    background-color: #2ECC71;
}

input:checked + .toggle-slider:before {
    transform: translateX(30px);
}

/* Tabs de modo */
.mode-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    background: #f8f9fa;
    padding: 0.5rem;
    border-radius: 12px;
}

.mode-tab {
    flex: 1;
    padding: 0.75rem 1.5rem;
    border: none;
    background: transparent;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-weight: 500;
    color: #666;
}

.mode-tab.active {
    background: white;
    color: #2ECC71;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Badges */
.required-badge, .optional-badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.required-badge {
    background: #fee;
    color: #e74c3c;
}

.optional-badge {
    background: #e8f5e8;
    color: #27ae60;
}

/* Helpers de campos */
.field-help {
    display: block;
    font-size: 0.75rem;
    color: #95a5a6;
    font-weight: normal;
    margin-top: 2px;
}

/* Iconos en resultados */
.result-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    opacity: 0.8;
}

/* Animaciones */
.vehicle-mode-panel {
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Slider de kilómetros */
.km-slider-container {
    margin: 1rem 0;
}

#kmSlider {
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: #e0e0e0;
    outline: none;
    -webkit-appearance: none;
}

#kmSlider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #2ECC71;
    cursor: pointer;
}

/* ========================================
   SECCIONES COMERCIALES (Partners)
   ======================================== */
.commercial-section {
    padding: 3rem 0;
    border-bottom: 1px solid #eee;
}

.commercial-section:nth-child(even) {
    background: var(--color-bg);
}

.category-header {
    text-align: center;
    margin-bottom: 3rem;
}

.category-title {
    font-size: 2rem;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

.category-description {
    color: var(--color-text-light);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.partner-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.partner-tab {
    padding: 8px 16px;
    border: 2px solid var(--color-primary);
    background: var(--color-white);
    color: var(--color-primary);
    border-radius: 20px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.partner-tab.active {
    background: var(--color-primary);
    color: var(--color-white);
}

.partner-content {
    display: none;
}

.partner-content.active {
    display: block;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.product-card {
    background: var(--color-white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    position: relative;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.partner-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--color-primary);
    color: var(--color-white);
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: bold;
    z-index: 1;
}

.product-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, var(--color-purple), var(--color-purple-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    font-size: 1.2rem;
    font-weight: 600;
}

.product-info {
    padding: 1.5rem;
}

.product-title {
    color: var(--color-text);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.product-price {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

.product-description {
    color: var(--color-text-light);
    margin-bottom: 1rem;
    line-height: 1.4;
}

.product-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.feature-tag {
    background: #E8F5E8;
    color: var(--color-primary);
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
}

.cta-button {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    color: var(--color-white);
    border: none;
    padding: 12px 20px;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-weight: 600;
    width: 100%;
    transition: var(--transition);
    text-decoration: none;
    display: block;
    text-align: center;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(46, 204, 113, 0.4);
}

.cta-button.amazon {
    background: linear-gradient(135deg, #FF9900, #FF8C00);
}

.cta-button.temu {
    background: linear-gradient(135deg, #FF6B35, #F7931E);
}

.cta-button.hotmart {
    background: linear-gradient(135deg, #FF6B6B, #EE5A52);
}

/* ========================================
   BENEFICIOS & INCENTIVOS
   ======================================== */
.benefits-section, .incentives-section {
    background: linear-gradient(135deg, var(--color-purple), var(--color-purple-dark));
    color: var(--color-white);
    padding: 4rem 0;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.benefit-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.benefit-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.benefit-title {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.incentive-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    margin: 2rem 0;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.incentive-item h3 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.incentive-item ul {
    list-style: none;
    padding: 0;
}

.incentive-item li {
    padding: 0.5rem 0;
    font-size: 1.1rem;
}

/* ========================================
   NEWSLETTER
   ======================================== */
.newsletter-section {
    background: var(--color-primary);
    color: var(--color-white);
    padding: 3rem 0;
    text-align: center;
}

.newsletter-form {
    display: flex;
    max-width: 400px;
    margin: 2rem auto;
    gap: 1rem;
}

.newsletter-form input {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1rem;
}

.newsletter-form button {
    background: var(--color-secondary);
    color: #000;
    border: none;
    padding: 12px 20px;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-form button:hover {
    background: var(--color-secondary-dark);
}

.newsletter-benefits {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-top: 1rem;
}

/* ========================================
   FOOTER
   ======================================== */
.main-footer {
    background: #2c3e50;
    color: #ecf0f1;
    padding: 3rem 0 1rem;
    margin-top: auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-column h4 {
    margin-bottom: 1rem;
    color: var(--color-secondary);
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 0.5rem;
}

.footer-column a {
    color: #bdc3c7;
    text-decoration: none;
    transition: var(--transition);
}

.footer-column a:hover {
    color: var(--color-secondary);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    font-size: 1.5rem;
    transition: var(--transition);
}

.social-links a:hover {
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #34495e;
}

.disclaimer {
    font-size: 0.8rem;
    margin-top: 0.5rem;
    opacity: 0.8;
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--color-white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .newsletter-form {
        flex-direction: column;
        max-width: 300px;
    }

    .partner-tabs {
        justify-content: flex-start;
        overflow-x: auto;
        padding: 0 1rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }
}

/* ========================================
   UTILIDADES
   ======================================== */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: var(--color-white);
    animation: spin 1s ease-in-out infinite;
}

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

.error-message {
    background: #f8d7da;
    color: #721c24;
    padding: 1rem;
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
}

.success-message {
    background: #d4edda;
    color: #155724;
    padding: 1rem;
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
}

/* ========================================
   ESTILOS MEJORADOS PARA EL LOGO
   ======================================== */

/* Opción 1: Logo redondeado con sombra y texto */
.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 15px;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: translateY(-2px);
}

.logo img {
    height: 50px;
    width: 50px;
    border-radius: 12px;  /* Bordes redondeados */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);  /* Sombra sutil */
    transition: all 0.3s ease;
    background: white;  /* Por si el logo tiene transparencia */
    padding: 5px;  /* Espacio interno */
}

.logo:hover .logo-name {
    color: #27AE60;  /* Verde más oscuro al hover */
}


.logo:hover img {
    box-shadow: 0 6px 20px rgba(46, 204, 113, 0.3);
    transform: rotate(5deg);  /* Pequeña rotación al hover */
    transform: scale(1.05);  /* Ligeramente más grande */
}

.logo-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.logo-name {
    font-size: 1.8rem;
    font-weight: 800;
    color: #ff9900;
    letter-spacing: 1px;
    margin: 0;
    line-height: 1;
}

.logo-tagline {
    font-size: 0.75rem;
    color: #666;
    margin: 0;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* Opción 2: Logo circular con borde animado */
.logo-circular img {
    height: 55px;
    width: 55px;
    border-radius: 50%;
    border: 3px solid #2ECC71;
    padding: 5px;
    background: white;
    transition: all 0.3s ease;
    position: relative;
}

.logo-circular:hover img {
    border-color: #F5A623;
    transform: scale(1.1);
}

/* Opción 3: Logo con efecto glassmorphism */
.logo-glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 8px 16px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-glass img {
    height: 45px;
    width: 45px;
    border-radius: 10px;
}

/* Header con fondo blanco - mejor contraste */
.main-header {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
}

/* Responsive */
@media (max-width: 768px) {
    .logo-name {
        font-size: 1.4rem;
    }
    
    .logo-tagline {
        display: none;  /* Ocultar tagline en móvil */
    }
    
    .logo img {
        height: 40px;
        width: 40px;
    }
}

/* ========================================
   DISCLAIMER DE COSTOS
   ======================================== */
.cost-disclaimer-section {
    margin: 2rem 0;
    padding: 0 1rem;
}

.disclaimer-card {
    background: linear-gradient(135deg, #fff8e1, #ffffff);
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.1);
    border-left: 4px solid #FF9900;
    overflow: hidden;
    animation: slideInUp 0.5s ease-out;
}

.disclaimer-header {
    background: linear-gradient(135deg, #FF9900, #F5A623);
    color: white;
    padding: 1.5rem;
    text-align: center;
}

.disclaimer-header h4 {
    margin: 0;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.disclaimer-content {
    padding: 2rem;
}

.disclaimer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.disclaimer-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    transition: transform 0.3s ease;
}

.disclaimer-item:hover {
    transform: translateY(-2px);
}

.disclaimer-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.disclaimer-text h5 {
    color: #FF9900;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.disclaimer-text p {
    color: #666;
    line-height: 1.5;
    margin: 0;
}

.action-section {
    background: rgba(255, 153, 0, 0.05);
    border-radius: 10px;
    padding: 1.5rem;
    text-align: center;
    border: 1px solid rgba(255, 153, 0, 0.2);
}

.action-section h5 {
    color: #FF9900;
    margin-bottom: 1rem;
}

.quote-cta-btn {
    background: linear-gradient(135deg, #FF9900, #F5A623);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.quote-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 153, 0, 0.3);
}

/* Modal Styles */
.quote-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    background: white;
    border-radius: 15px;
    max-width: 500px;
    width: 90%;
    max-height: 80%;
    overflow-y: auto;
    position: relative;
    z-index: 1;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.modal-header {
    background: linear-gradient(135deg, #2ECC71, #27AE60);
    color: white;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.3s;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.modal-body {
    padding: 2rem;
}

.quote-options {
    display: grid;
    gap: 1rem;
    margin-top: 1.5rem;
}

.quote-option {
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.quote-option:hover {
    border-color: #2ECC71;
    transform: translateY(-2px);
}

.quote-option h5 {
    color: #2ECC71;
    margin-bottom: 0.5rem;
}

.option-btn {
    background: #2ECC71;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.option-btn:hover {
    background: #27AE60;
    transform: scale(1.05);
}

/* Animaciones */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .disclaimer-grid {
        grid-template-columns: 1fr;
    }
    
    .disclaimer-item {
        flex-direction: column;
        text-align: center;
    }
    
    .modal-content {
        width: 95%;
        margin: 1rem;
    }
}

/* ========================================
   ESTILOS PARA SECCIÓN SEPARADA DE DESGLOSE
   Agregar/Reemplazar en static/css/main.css
   ======================================== */

/* Contenedor principal para la sección de desglose */
.calculation-breakdown-section {
    background: #f8f9fa;
    padding: 4rem 0;
    margin: 3rem 1rem 0 1rem;
    border-top: 1px solid #e9ecef;
    position: relative;
    border-radius: 40px;
}

.calculation-breakdown-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #2ECC71, #27AE60, #2ECC71);
    background-size: 200% 100%;
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* Contenedor del desglose (ahora independiente) */
.calculation-breakdown {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 40px;
    padding: 3rem;
    box-shadow: 
        0 10px 40px rgba(0,0,0,0.08),
        0 2px 8px rgba(0,0,0,0.04);
    border: 1px solid rgba(46, 204, 113, 0.1);
    position: relative;
    overflow: hidden;
    max-width: 1200px;
    margin: 0 auto;
}

.calculation-breakdown::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #2ECC71, #27AE60);
    border-radius: 24px 24px 0 0;
}

.calculation-breakdown h5 {
    color: #2ECC71;
    margin-bottom: 3rem;
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    font-weight: 700;
    text-align: center;
    position: relative;
}

.calculation-breakdown h5::after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #2ECC71, #27AE60);
    border-radius: 2px;
}

/* Grid del desglose mejorado para sección independiente */
.breakdown-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.breakdown-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    background: linear-gradient(135deg, rgba(46, 204, 113, 0.02), rgba(46, 204, 113, 0.05));
    border-radius: 16px;
    border: 1px solid rgba(46, 204, 113, 0.1);
    border-left: 5px solid #2ECC71;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.breakdown-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(46, 204, 113, 0.08), transparent);
    transition: left 0.6s ease;
}

.breakdown-item:hover::before {
    left: 100%;
}

.breakdown-item:hover {
    background: linear-gradient(135deg, rgba(46, 204, 113, 0.08), rgba(46, 204, 113, 0.12));
    transform: translateY(-4px);
    box-shadow: 
        0 8px 30px rgba(46, 204, 113, 0.2),
        0 2px 8px rgba(46, 204, 113, 0.1);
    border-left-color: #27AE60;
}

.breakdown-label {
    font-size: 1.1rem;
    color: #495057;
    font-weight: 600;
    flex: 1;
    margin-right: 1.5rem;
    line-height: 1.5;
}

.breakdown-value {
    font-weight: 700;
    color: #2ECC71;
    font-size: 1.4rem;
    text-align: right;
    background: linear-gradient(135deg, #2ECC71, #27AE60);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

/* Sección de explicación de pérdidas - diseño independiente */
.system-losses-explanation {
    background: linear-gradient(135deg, #fff8e1 0%, #ffffff 100%);
    border-radius: 20px;
    padding: 2.5rem;
    border: 1px solid #ffecb3;
    border-left: 6px solid #FF9900;
    box-shadow: 
        0 8px 32px rgba(255, 153, 0, 0.12),
        0 2px 8px rgba(255, 153, 0, 0.06);
    position: relative;
    overflow: hidden;
}

.system-losses-explanation::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(255, 153, 0, 0.1), transparent);
    border-radius: 50%;
    transform: translate(30px, -30px);
}

.explanation-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.explanation-header h6 {
    color: #FF9900;
    margin: 0;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
}

.info-toggle {
    background: linear-gradient(135deg, #FF9900, #F5A623);
    border: none;
    color: white;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 153, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.info-toggle::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.6s ease;
}

.info-toggle:hover::before {
    left: 100%;
}

.info-toggle:hover {
    background: linear-gradient(135deg, #F5A623, #FF9900);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 153, 0, 0.4);
}

/* Nota principal mejorada */
.calculation-note {
    margin-top: 2rem;
}

.note-main {
    color: #495057;
    line-height: 1.7;
    margin-bottom: 2rem;
    font-size: 1.1rem;
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(255, 153, 0, 0.06), rgba(255, 153, 0, 0.02));
    border-radius: 16px;
    border: 1px solid rgba(255, 153, 0, 0.1);
    position: relative;
}

.note-main::before {
    content: '💡';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: #FF9900;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 4px 12px rgba(255, 153, 0, 0.3);
}

.note-main strong {
    color: #FF9900;
    font-weight: 700;
}

/* Desglose detallado de pérdidas mejorado */
.losses-breakdown {
    background: linear-gradient(135deg, rgba(255, 153, 0, 0.04), rgba(255, 153, 0, 0.01));
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 153, 0, 0.15);
    margin-top: 2rem;
    box-shadow: inset 0 2px 8px rgba(255, 153, 0, 0.08);
    position: relative;
}

.losses-breakdown h6 {
    color: #FF9900;
    margin-bottom: 2rem;
    font-size: 1.2rem;
    font-weight: 700;
    text-align: center;
    border-bottom: 2px solid rgba(255, 153, 0, 0.2);
    padding-bottom: 1rem;
    position: relative;
}

.losses-breakdown h6::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: #FF9900;
}

.losses-list {
    list-style: none;
    padding: 0;
    margin: 0 0 2.5rem 0;
    display: grid;
    gap: 1.2rem;
}

.losses-list li {
    padding: 1.5rem 2rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 12px;
    border: 1px solid rgba(255, 153, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 1.5rem;
    font-size: 1rem;
    color: #495057;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.losses-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: #FF9900;
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.losses-list li:hover::before {
    transform: scaleY(1);
}

.losses-list li:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateX(8px);
    box-shadow: 0 4px 15px rgba(255, 153, 0, 0.15);
}

.losses-list li strong {
    color: #FF9900;
    min-width: 160px;
    font-weight: 700;
}

.losses-total {
    background: linear-gradient(135deg, #FF9900, #F5A623);
    color: white;
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    font-size: 1.2rem;
    font-weight: 700;
    box-shadow: 0 6px 20px rgba(255, 153, 0, 0.3);
    border: none;
    position: relative;
    overflow: hidden;
}

.losses-total::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1), transparent 70%);
    animation: rotate 4s linear infinite;
}

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

/* Animaciones mejoradas */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.calculation-breakdown-section {
    animation: fadeInUp 0.8s ease-out;
}

.breakdown-item {
    animation: fadeInUp 0.6s ease-out;
    animation-fill-mode: both;
}

.breakdown-item:nth-child(1) { animation-delay: 0.1s; }
.breakdown-item:nth-child(2) { animation-delay: 0.2s; }
.breakdown-item:nth-child(3) { animation-delay: 0.3s; }
.breakdown-item:nth-child(4) { animation-delay: 0.4s; }
.breakdown-item:nth-child(5) { animation-delay: 0.5s; }
.breakdown-item:nth-child(6) { animation-delay: 0.6s; }
.breakdown-item:nth-child(7) { animation-delay: 0.7s; }

/* Responsive Design mejorado para sección independiente */
@media (max-width: 768px) {
    .calculation-breakdown-section {
        padding: 2rem 0;
        margin-top: 2rem;
    }
    
    .calculation-breakdown {
        padding: 2rem 1.5rem;
        border-radius: 16px;
        margin: 0 1rem;
    }
    
    .calculation-breakdown h5 {
        font-size: 1.4rem;
        margin-bottom: 2rem;
    }
    
    .breakdown-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-bottom: 2.5rem;
    }
    
    .breakdown-item {
        padding: 1.25rem 1.5rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
        text-align: left;
    }
    
    .breakdown-value {
        text-align: left;
        font-size: 1.2rem;
    }
    
    .breakdown-label {
        font-size: 1rem;
        margin-right: 0;
    }
    
    .explanation-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }
    
    .explanation-header h6 {
        font-size: 1.2rem;
    }
    
    .system-losses-explanation {
        padding: 2rem 1.5rem;
    }
    
    .losses-list li {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
        padding: 1.25rem 1.5rem;
    }
    
    .losses-list li strong {
        min-width: auto;
    }
    
    .info-toggle {
        font-size: 0.9rem;
        padding: 0.6rem 1.2rem;
    }
    
    .note-main {
        font-size: 1rem;
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .calculation-breakdown-section {
        padding: 1.5rem 0;
    }
    
    .calculation-breakdown {
        padding: 1.5rem 1rem;
        margin: 0 0.5rem;
    }
    
    .calculation-breakdown h5 {
        font-size: 1.2rem;
        margin-bottom: 1.5rem;
    }
    
    .breakdown-grid {
        gap: 1rem;
        margin-bottom: 2rem;
    }
    
    .breakdown-item {
        padding: 1rem;
        border-radius: 12px;
    }
    
    .breakdown-label {
        font-size: 0.9rem;
    }
    
    .breakdown-value {
        font-size: 1.1rem;
    }
    
    .system-losses-explanation {
        padding: 1.5rem 1rem;
        border-radius: 16px;
    }
    
    .note-main {
        font-size: 0.9rem;
        padding: 1.25rem;
    }
    
    .losses-list li {
        font-size: 0.9rem;
        padding: 1rem;
    }
    
    .losses-total {
        font-size: 1rem;
        padding: 1.5rem;
    }
    
    .info-toggle {
        font-size: 0.85rem;
        padding: 0.5rem 1rem;
    }
}

/* Mejoras adicionales para accesibilidad */
.breakdown-item:focus-within {
    outline: 3px solid #2ECC71;
    outline-offset: 2px;
}

.info-toggle:focus {
    outline: 3px solid #FF9900;
    outline-offset: 2px;
}

/* Transiciones suaves para el toggle */
.losses-breakdown {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out, padding 0.3s ease;
}

.losses-breakdown[style*="block"] {
    max-height: 1000px;
    animation: expandSection 0.5s ease-out;
}

@keyframes expandSection {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Efecto de paralaje sutil */
@media (prefers-reduced-motion: no-preference) {
    .calculation-breakdown-section {
        background-attachment: fixed;
        background-image: 
            radial-gradient(ellipse at top, rgba(46, 204, 113, 0.02), transparent),
            radial-gradient(ellipse at bottom, rgba(255, 153, 0, 0.02), transparent);
    }
}

/* Estados de hover mejorados */
.breakdown-item:hover .breakdown-label {
    color: #2ECC71;
    transition: color 0.3s ease;
}

.losses-list li:hover strong {
    color: #F5A623;
    transition: color 0.3s ease;
}

/* ========================================
   MEJORA: ESQUINAS REDONDEADAS PARA DESGLOSE
   Agregar/actualizar en static/css/main.css
   ======================================== */

/* Actualizar la sección principal con esquinas redondeadas */
.calculation-breakdown-section {
    background: #f8f9fa;
    padding: 4rem 0;
    margin: 3rem 1rem 0 1rem;
    border-top: 1px solid #e9ecef;
    position: relative;
    /* NUEVO: Esquinas redondeadas */
    border-radius: 0 0 40px 40px; /* Solo esquinas inferiores */
}

/* Alternativamente, si quieres esquinas en toda la sección: */
.calculation-breakdown-section.full-rounded {
    border-radius: 40px;
    margin: 3rem 1rem 0 1rem; /* Margen lateral para que se vean bien */
    box-shadow: 0 8px 32px rgba(0,0,0,0.06);
}

/* Contenedor del desglose con esquinas más pronunciadas */
.calculation-breakdown {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 28px; /* Aumentado de 24px a 28px */
    padding: 3rem;
    box-shadow: 
        0 12px 40px rgba(0,0,0,0.08),
        0 4px 12px rgba(0,0,0,0.04);
    border: 1px solid rgba(46, 204, 113, 0.1);
    position: relative;
    overflow: hidden;
    max-width: 1200px;
    margin: 0 auto;
}

/* Actualizar elementos internos para mantener coherencia */
.breakdown-item {
    border-radius: 16px; /* Aumentado de 12px a 16px */
    /* ... resto de estilos existentes ... */
}

.system-losses-explanation {
    border-radius: 24px; /* Aumentado de 20px a 24px */
    /* ... resto de estilos existentes ... */
}

.losses-breakdown {
    border-radius: 16px; /* Aumentado de 12px a 16px */
    /* ... resto de estilos existentes ... */
}

.losses-list li {
    border-radius: 12px; /* Aumentado de 8px a 12px */
    /* ... resto de estilos existentes ... */
}

.losses-total {
    border-radius: 20px; /* Aumentado de 16px a 20px */
    /* ... resto de estilos existentes ... */
}

/* Responsive - ajustar esquinas en móviles */
@media (max-width: 768px) {
    .calculation-breakdown-section {
        border-radius: 0 0 24px 24px;
        margin-top: 2rem;
    }
    
    .calculation-breakdown-section.full-rounded {
        border-radius: 24px;
        margin: 2rem 0.5rem 0 0.5rem;
    }
    
    .calculation-breakdown {
        border-radius: 20px;
        margin: 0 1rem;
    }
}

@media (max-width: 480px) {
    .calculation-breakdown-section {
        border-radius: 0 0 16px 16px;
    }
    
    .calculation-breakdown-section.full-rounded {
        border-radius: 16px;
        margin: 1.5rem 0.25rem 0 0.25rem;
    }
    
    .calculation-breakdown {
        border-radius: 16px;
        margin: 0 0.5rem;
    }
}

/* Referencia HSP en desglose */
.breakdown-item.hsp-item {
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem 2rem 1.8rem 2rem;
}

.breakdown-item.hsp-item .breakdown-label,
.breakdown-item.hsp-item .breakdown-value {
    align-self: stretch;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.hsp-source-info {
    width: 100%;
    margin-top: 0.5rem;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(46, 204, 113, 0.2);
}

.source-reference {
    color: #666;
    font-size: 0.8rem;
    line-height: 1.4;
    display: block;
}

.source-reference strong {
    color: #2ECC71;
    font-weight: 600;
}

.source-detail {
    color: #888;
    font-style: italic;
}

.breakdown-item.hsp-item:hover .source-reference {
    color: #555;
}

.breakdown-item.hsp-item:hover .source-reference strong {
    color: #27AE60;
}

@media (max-width: 768px) {
    .source-reference {
        font-size: 0.75rem;
    }
    
    .source-detail {
        display: block;
        margin-top: 0.2rem;
    }
}

/* ========================================
   CORRECCIÓN TOGGLE VEHÍCULO - 2025
   ======================================== */

/* Contenedor del toggle mejorado */
.toggle-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    min-height: 40px;
}

.toggle-text {
    font-weight: 500;
    color: #495057;
    flex-shrink: 0;
    min-width: 80px;
    transition: color 0.3s ease;
}

/* Toggle switch mejorado */
.toggle-switch {
    position: relative;
    width: 60px;
    height: 30px;
    flex-shrink: 0;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
    position: absolute;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 30px;
    width: 60px;
    height: 30px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

input:checked + .toggle-slider {
    background-color: #2ECC71;
}

input:focus + .toggle-slider {
    box-shadow: 0 0 1px #2ECC71;
}

input:checked + .toggle-slider:before {
    transform: translateX(30px);
}

.toggle-switch:hover .toggle-slider {
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

input:checked + .toggle-slider:hover {
    background-color: #27AE60;
}

/* Evitar problemas de layout */
.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-bottom: 1px solid #e9ecef;
    min-height: 80px;
}

.header-left {
    flex: 1;
    margin-right: 1rem;
}

.header-left h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.2rem;
    color: #495057;
}

/* Responsive */
@media (max-width: 768px) {
    .card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        min-height: auto;
    }
    
    .toggle-container {
        align-self: flex-end;
    }
}