/* ============================================
   VAP STATION - Calculateur DIY v2
   Design progressif avec recommandations produits
   ============================================ */

:root {
    /* Couleurs */
    --vap-primary: #83b735;
    --vap-primary-hover: #1d403e;
    --vap-secondary: #ff8c42;
    --vap-bg: #f8f9fa;
    --vap-card: #ffffff;
    --vap-border: #e0e0e0;
    --vap-text: #333333;
    --vap-text-light: #6c757d;
    
    /* Ombres */
    --vap-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    --vap-shadow-lg: 0 4px 16px rgba(0, 0, 0, 0.12);
    
    /* Border-radius */
    --vap-radius-sm: 8px;
    --vap-radius-md: 12px;
    --vap-radius-lg: 16px;
    --vap-radius-full: 35px;
    --vap-radius-round: 50%;
    
    /* Transitions */
    --vap-transition-fast: 0.2s ease;
    --vap-transition: 0.3s ease;
    --vap-transition-slow: 0.5s ease;
    
    /* Spacings */
    --vap-spacing-xs: 0.5rem;
    --vap-spacing-sm: 1rem;
    --vap-spacing-md: 1.5rem;
    --vap-spacing-lg: 2rem;
    --vap-spacing-xl: 3rem;
    
    /* Z-index */
    --vap-z-dropdown: 100;
    --vap-z-modal: 1000;
    --vap-z-toast: 99999;
}

/* ============================================
   Structure générale
   ============================================ */

.vap-calculator-wrapper {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* ============================================
   Indicateur de progression
   ============================================ */

.vap-progress-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 3rem;
    padding: 2rem 1rem;
}

.vap-progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
}

.vap-progress-step:hover.completed .vap-progress-number,
.vap-progress-step:hover.active .vap-progress-number {
    transform: scale(1.1);
}

.vap-progress-step:not(.completed):not(.active) {
    cursor: not-allowed;
    opacity: 0.5;
}

.vap-progress-number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--vap-border);
    color: var(--vap-text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
    transition: all 0.3s;
}

.vap-progress-step.active .vap-progress-number,
.vap-progress-step.completed .vap-progress-number {
    background: var(--vap-primary);
    color: white;
}

.vap-progress-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--vap-text-light);
    transition: color 0.3s;
}

.vap-progress-step.active .vap-progress-label,
.vap-progress-step.completed .vap-progress-label {
    color: var(--vap-primary);
}

.vap-progress-line {
    width: 60px;
    height: 3px;
    background: var(--vap-border);
    margin: 0 0.5rem;
}

.vap-progress-step.completed ~ .vap-progress-line {
    background: var(--vap-primary);
}

/* ============================================
   Étapes du formulaire
   ============================================ */

.vap-calculator-form {
    background: var(--vap-card);
    border-radius: 16px;
    padding: 3rem;
    box-shadow: var(--vap-shadow-lg);
    margin-bottom: 2rem;
}

.vap-calc-step {
    animation: fadeIn 0.5s ease;
}

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

.vap-calc-step-inner {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.vap-step-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--vap-text);
    margin-bottom: 2rem;
}

/* ============================================
   Input Volume
   ============================================ */

.vap-calc-input-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.vap-calc-input {
    width: 180px;
    padding: 1.25rem 1.5rem;
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    border: 3px solid var(--vap-border);
    border-radius: 16px;
    background: var(--vap-bg);
    transition: all 0.3s;
}

.vap-calc-input:focus {
    outline: none;
    border-color: var(--vap-primary);
    background: white;
    box-shadow: 0 0 0 4px rgba(132, 189, 0, 0.1);
}

.vap-calc-unit {
    font-size: 2rem;
    font-weight: 600;
    color: var(--vap-text-light);
}

/* ============================================
   Radio Cards
   ============================================ */

.vap-calc-radio-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.vap-calc-radio-cards input[type="radio"] {
    display: none;
}

.vap-calc-radio-cards label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.5rem 1rem;
    background: var(--vap-bg);
    border: 3px solid var(--vap-border);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s;
    min-height: 90px;
}

.vap-calc-radio-cards label:hover {
    border-color: var(--vap-primary);
    transform: translateY(-2px);
}

.vap-calc-radio-cards label strong {
    font-size: 1.75rem;
    color: var(--vap-text);
}

.vap-calc-radio-cards label span {
    font-size: 0.875rem;
    color: var(--vap-text-light);
    margin-top: 0.25rem;
}

.vap-calc-radio-cards input[type="radio"]:checked + label {
    background: var(--vap-primary);
    border-color: var(--vap-primary);
    transform: scale(1.05);
}

.vap-calc-radio-cards input[type="radio"]:checked + label strong,
.vap-calc-radio-cards input[type="radio"]:checked + label span {
    color: white;
}

/* ============================================
   Recherche d'arômes
   ============================================ */

.vap-calc-search-wrapper {
    position: relative;
    margin: 2rem 0;
}

.vap-calc-search-input {
    width: 100%;
    padding: 1rem 1.5rem;
    font-size: 1.1rem;
    border: 3px solid var(--vap-border);
    border-radius: 12px;
    transition: all 0.3s;
}

.vap-calc-search-input:focus {
    outline: none;
    border-color: var(--vap-primary);
    box-shadow: 0 0 0 4px rgba(132, 189, 0, 0.1);
}

.vap-search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 2px solid var(--vap-border);
    border-radius: 12px;
    margin-top: 0.5rem;
    max-height: 300px;
    overflow-y: auto;
    box-shadow: var(--vap-shadow-lg);
    z-index: 100;
    display: none;
}

.vap-search-results.active {
    display: block;
}

.vap-search-result-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    cursor: pointer;
    border-bottom: 1px solid var(--vap-border);
    transition: background 0.2s;
}

.vap-search-result-item:hover {
    background: var(--vap-bg);
}

.vap-search-result-image {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 8px;
    margin-right: 1rem;
}

.vap-search-result-name {
    flex: 1;
    font-weight: 500;
}

/* ============================================
   Lien "Voir tous les arômes"
   ============================================ */

.vap-view-all-aromes {
    text-align: center;
    margin: 1.5rem 0;
}

.vap-view-all-aromes-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--vap-text);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--vap-border);
    border-radius: 8px;
    transition: all 0.3s;
    background: white;
}

.vap-view-all-aromes-link:hover {
    border-color: var(--vap-primary);
    color: var(--vap-primary);
    background: var(--vap-bg);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(131, 183, 53, 0.2);
}

/* ============================================
   Arômes sélectionnés
   ============================================ */

#vap-selected-aromes {
    margin-bottom: 2rem;
}

.vap-selected-arome {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    background: var(--vap-bg);
    border: 2px solid var(--vap-primary);
    border-radius: 12px;
    margin-bottom: 1rem;
}

.vap-selected-arome-image {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
}

.vap-selected-arome-info {
    flex: 1;
    text-align: left;
}

.vap-selected-arome-name {
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.vap-selected-arome-percentage {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--vap-primary);
}

.vap-selected-arome-remove {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    width: 28px;
    height: 28px;
    background: #dc3545;
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.25rem;
    cursor: pointer;
    transition: transform 0.2s;
}

.vap-selected-arome-remove:hover {
    transform: scale(1.1);
}

/* ============================================
   Slider répartition - Design moderne
   ============================================ */

#vap-arome-split-wrapper {
    margin: 2rem 0;
    padding: 2rem;
    background: var(--vap-bg);
    border-radius: 16px;
}

#vap-arome-split-wrapper label {
    display: block;
    text-align: center;
    font-weight: 600;
    font-size: 1rem;
    color: var(--vap-text);
    margin-bottom: 2rem;
}

/* Container du slider */
.vap-slider-container {
    position: relative;
    padding: 0 20px;
}

/* Slider input range - Reset des styles natifs */
#vap-arome-split {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 12px;
    background: linear-gradient(to right, #9A69FF 0%, #9A69FF 50%, #e0e0e0 50%, #e0e0e0 100%);
    border-radius: 25px;
    outline: none;
    margin: 1.5rem 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* Track (la barre) - WebKit (Chrome, Safari) */
#vap-arome-split::-webkit-slider-runnable-track {
    width: 100%;
    height: 12px;
    background: transparent;
    border-radius: 25px;
}

/* Track - Firefox */
#vap-arome-split::-moz-range-track {
    width: 100%;
    height: 12px;
    background: transparent;
    border-radius: 25px;
}

/* Thumb (la poignée) - WebKit */
#vap-arome-split::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 32px;
    height: 32px;
    background: #9A69FF;
    border: 4px solid white;
    border-radius: 50%;
    cursor: grab;
    transition: all 0.2s ease;
    margin-top: -10px;
}

/* Thumb - Firefox */
#vap-arome-split::-moz-range-thumb {
    width: 32px;
    height: 32px;
    background: #9A69FF;
    border: 4px solid white;
    border-radius: 50%;
    cursor: grab;
    transition: all 0.2s ease;
}

/* Hover effects */
#vap-arome-split:hover::-webkit-slider-thumb {
    transform: scale(1.15);
}

#vap-arome-split:hover::-moz-range-thumb {
    transform: scale(1.15);
}

/* Active state */
#vap-arome-split:active::-webkit-slider-thumb {
    cursor: grabbing;
    transform: scale(1.05);
}

#vap-arome-split:active::-moz-range-thumb {
    cursor: grabbing;
    transform: scale(1.05);
}

/* Percentages display */
.vap-arome-percentages {
    display: flex;
    justify-content: space-between;
    font-weight: 700;
    font-size: 1.5rem;
    color: #9A69FF;
    margin-top: 1rem;
}

.vap-arome-percentages span {
    padding: 0.5rem 1rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.vap-arome-percentages span:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(154, 105, 255, 0.3);
}

/* ============================================
   Boutons de navigation
   ============================================ */

.vap-step-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.vap-calc-btn-next,
.vap-calc-btn-prev,
.vap-calc-btn-primary,
.vap-calc-btn-secondary {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 35px;
    border: 1px solid var(--vap-primary);
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-width: 180px;
}

.vap-calc-btn-next,
.vap-calc-btn-primary {
    background: var(--vap-primary);
    color: #000;
    border-color: var(--vap-primary);
    flex: 1;
}

.vap-calc-btn-next:hover,
.vap-calc-btn-primary:hover {
    background: var(--vap-primary-hover);
    border-color: var(--vap-primary-hover);
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(131, 183, 53, 0.3);
}

.vap-calc-btn-next:disabled,
.vap-calc-btn-primary:disabled {
    background: var(--vap-border);
    border-color: var(--vap-border);
    cursor: not-allowed;
    transform: none;
}

.vap-calc-btn-prev,
.vap-calc-btn-secondary {
    background: transparent;
    color: #000;
    border: 1px solid var(--vap-primary);
}

.vap-calc-btn-prev:hover,
.vap-calc-btn-secondary:hover {
    background: var(--vap-primary-hover);
    border-color: var(--vap-primary-hover);
    color: #000;
}

/* ============================================
   Lien d'aide
   ============================================ */

.vap-calc-help-link {
    display: inline-block;
    margin: 1rem 0;
    color: var(--vap-primary);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.vap-calc-help-link:hover {
    color: var(--vap-primary-hover);
    text-decoration: underline;
}

/* ============================================
   Bloc "Votre préparation calculée"
   ============================================ */

.vap-recipe-visual {
    background: #f8f9fa;
    border-radius: 20px;
    padding: 3rem;
    margin-bottom: 3rem;
    text-align: center;
}

.vap-recipe-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--vap-text);
    margin-bottom: 2.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.vap-recipe-items {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.vap-recipe-item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding-top: 30px; /* Espace pour le badge */
}

.vap-recipe-icon {
    width: 120px;
    height: 120px;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.vap-recipe-badge {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    background: var(--vap-secondary);
    color: white;
    font-weight: 700;
    font-size: 1rem;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(255, 140, 66, 0.4);
    z-index: 2;
}

.vap-recipe-label {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--vap-text);
    text-transform: uppercase;
}

.vap-recipe-volume {
    font-weight: 600;
    font-size: 1rem;
    color: var(--vap-text-light);
}

.vap-recipe-plus {
    font-size: 2.5rem;
    font-weight: 300;
    color: var(--vap-text-light);
    line-height: 1;
    align-self: center;
    margin-top: 30px; /* Aligner avec les icônes */
}

.vap-recipe-summary {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    flex-wrap: wrap;
}

.vap-recipe-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
    padding: 0 1rem;
}

.vap-recipe-info-label {
    font-size: 0.85rem;
    color: var(--vap-text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.vap-recipe-info-value {
    font-size: 1.5rem;
    color: var(--vap-secondary);
    font-weight: 700;
}

.vap-recipe-separator {
    width: 1px;
    height: 50px;
    background: #e0e0e0;
}

.vap-recipe-price {
    text-align: center;
    margin: 2rem 0;
}

.vap-recipe-price-main {
    font-size: 3rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 0.5rem;
}

.vap-recipe-price-sub {
    font-size: 1.2rem;
    color: var(--vap-text-light);
}

.vap-recipe-buy-btn {
    width: 100%;
    max-width: 400px;
    padding: 1.5rem 3rem;
    background: var(--vap-secondary);
    color: white;
    border: 3px solid var(--vap-secondary);
    border-radius: 35px;
    font-weight: 700;
    font-size: 1.3rem;
    cursor: pointer;
    transition: all 0.3s;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(255, 140, 66, 0.3);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.vap-recipe-buy-btn::after {
    content: '→';
    font-size: 1.5rem;
}

.vap-recipe-buy-btn:hover {
    background: #ff7629;
    border-color: #ff7629;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 140, 66, 0.4);
}

/* Responsive */
@media (max-width: 768px) {
    .vap-recipe-items {
        flex-direction: column;
        gap: 2rem;
    }
    
    .vap-recipe-plus {
        transform: rotate(90deg);
    }
    
    .vap-recipe-summary {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .vap-recipe-separator {
        width: 50px;
        height: 1px;
    }
}

/* ============================================
   Résultats - En-tête
   ============================================ */

.vap-calculator-results {
    background: var(--vap-card);
    border-radius: 16px;
    padding: 3rem;
    box-shadow: var(--vap-shadow-lg);
}

.vap-results-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    color: var(--vap-text);
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ============================================
   Résumé
   ============================================ */

.vap-results-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    padding: 2rem;
    background: var(--vap-bg);
    border-radius: 12px;
    margin-bottom: 3rem;
}

.vap-summary-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.vap-summary-label {
    font-size: 0.875rem;
    color: var(--vap-text-light);
    margin-bottom: 0.5rem;
}

.vap-summary-value {
    font-size: 1.25rem;
    color: var(--vap-text);
}

.vap-summary-value strong {
    color: var(--vap-primary);
    font-size: 1.5rem;
}

/* ============================================
   Cartes produits (style concurrent)
   ============================================ */

.vap-products-recommendations {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

/* Grille adaptative selon le nombre d'arômes */
.vap-products-recommendations.has-1-arome {
    grid-template-columns: repeat(3, 1fr);
}

.vap-products-recommendations.has-2-aromes {
    grid-template-columns: repeat(4, 1fr);
}

/* Responsive - Forcer 1 colonne sur mobile pour toutes les variantes */
@media (max-width: 768px) {
    .vap-products-recommendations,
    .vap-products-recommendations.has-1-arome,
    .vap-products-recommendations.has-2-aromes {
        grid-template-columns: 1fr !important;
    }
}

.vap-product-card {
    background: #F5F5F5;
    border: none;
    border-radius: 16px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    transition: all 0.3s;
    position: relative;
}

.vap-product-card:hover {
    transform: translateY(-5px);
}

.vap-product-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.vap-product-qty {
    background: #8B5CF6;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1.1rem;
}

.vap-product-type {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--vap-text);
    text-transform: uppercase;
}

.vap-product-spec {
    margin-left: auto;
    font-size: 0.9rem;
    color: var(--vap-text-light);
}

.vap-product-image {
    width: 100%;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    background: transparent;
    border-radius: 12px;
    position: relative;
}

.vap-product-image img {
    max-width: 100%;
    max-height: 180px;
    object-fit: contain;
}

.vap-product-info {
    flex: 1;
    margin-bottom: 1.5rem;
}

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

.vap-product-price {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    color: black;
    background: #83b735;
    padding: 8px 14px;
    border-radius: 0 50px 50px 0;
    font-size: 20px;
    line-height: 1 !important;
    font-weight: 700;
    margin: 0;
}

.vap-product-usage {
    font-size: 0.95rem;
    color: var(--vap-text-light);
    line-height: 1.6;
    margin-bottom: 0.75rem;
}

.vap-product-usage strong {
    color: var(--vap-secondary);
    font-size: 1.1rem;
}

.vap-product-link {
    display: block;
    color: var(--vap-text);
    text-decoration: underline;
    font-size: 0.95rem;
    font-weight: 400;
    transition: all 0.3s;
    text-align: center;
    margin-top: 1rem;
}

.vap-product-link:hover {
    color: var(--vap-primary-hover);
}

.vap-product-btn {
    width: 100%;
    padding: 1rem 1.5rem;
    background: #1d403e;
    color: white;
    border: none;
    border-radius: 35px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.vap-product-btn::after {
    content: '→';
    font-size: 1.3rem;
}

.vap-product-btn:hover {
    background: #14302e;
    color: white;
    transform: scale(1.02);
}

/* ============================================
   Actions finales
   ============================================ */

.vap-results-actions {
    text-align: center;
    padding: 2rem;
    background: var(--vap-bg);
    border-radius: 12px;
}

.vap-total-price {
    font-size: 1.25rem;
    color: var(--vap-text);
    margin-bottom: 1.5rem;
}

.vap-total-price strong {
    font-size: 1.5rem;
    color: var(--vap-primary);
}

.vap-calc-btn-buy-all {
    padding: 1.5rem 3rem;
    background: var(--vap-primary);
    color: #000;
    border: 1px solid var(--vap-primary);
    border-radius: 35px;
    font-weight: 700;
    font-size: 1.25rem;
    cursor: pointer;
    transition: all 0.3s;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.vap-calc-btn-buy-all:hover {
    background: var(--vap-primary-hover);
    border-color: var(--vap-primary-hover);
    color: #000;
    transform: scale(1.05);
    box-shadow: var(--vap-shadow-lg);
}

.vap-calc-btn-clear {
    padding: 0.75rem 2rem;
    background: transparent;
    color: #000;
    border: 2px solid #000;
    border-radius: 35px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.vap-calc-btn-clear:hover {
    background: #000;
    color: white;
}

/* ============================================
   Messages
   ============================================ */

.vap-calc-messages {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    max-width: 400px;
}

.vap-calc-message {
    padding: 1rem 1.5rem;
    margin-bottom: 1rem;
    border-radius: 12px;
    box-shadow: var(--vap-shadow-lg);
    animation: slideIn 0.3s ease;
    font-weight: 500;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.vap-calc-message.success {
    background: var(--vap-primary);
    color: white;
}

.vap-calc-message.error {
    background: #dc3545;
    color: white;
}

/* ============================================
   Responsive
   ============================================ */

@media (max-width: 768px) {
    .vap-calculator-form,
    .vap-calculator-results {
        padding: 1.5rem;
    }
    
    .vap-progress-indicator {
        padding: 1rem 0.5rem;
    }
    
    .vap-progress-number {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .vap-progress-label {
        font-size: 0.75rem;
    }
    
    .vap-progress-line {
        width: 30px;
    }
    
    .vap-step-title {
        font-size: 1.5rem;
    }
    
    .vap-calc-input {
        width: 150px;
        font-size: 2rem;
        padding: 1rem;
    }
    
    .vap-calc-radio-cards {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .vap-products-recommendations {
        grid-template-columns: 1fr;
    }
    
    .vap-step-buttons {
        flex-direction: column;
    }
}

/* ============================================
   États de chargement
   ============================================ */

.vap-loading {
    pointer-events: none;
    opacity: 0.6;
    position: relative;
}

.vap-loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border: 4px solid var(--vap-border);
    border-top-color: var(--vap-primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* ============================================
   Correction des flèches input number
   ============================================ */

.vap-calc-input::-webkit-inner-spin-button,
.vap-calc-input::-webkit-outer-spin-button {
    margin-left: 10px;
    margin-right: 10px;
}

/* Pour Firefox */
.vap-calc-input[type="number"] {
    -moz-appearance: textfield;
    padding-right: 2rem;
}

.vap-calc-input::-webkit-inner-spin-button {
    opacity: 1;
    cursor: pointer;
}

/* ============================================
   Popup d'aide
   ============================================ */

.vap-help-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vap-help-popup-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
}

.vap-help-popup-content {
    position: relative;
    background: white;
    border-radius: 16px;
    max-width: 800px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    padding: 2rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: popupSlideIn 0.3s ease;
}

@keyframes popupSlideIn {
    from {
        opacity: 0;
        transform: translateY(-30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.vap-help-popup-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: transparent;
    border: none;
    font-size: 2rem;
    line-height: 1;
    color: var(--vap-text-light);
    cursor: pointer;
    padding: 0.5rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s;
}

.vap-help-popup-close:hover {
    background: var(--vap-bg);
    color: var(--vap-text);
}

.vap-help-popup-body {
    margin-top: 1rem;
}

.vap-popup-loader {
    text-align: center;
    padding: 3rem;
    color: var(--vap-text-light);
    font-size: 1.1rem;
}

/* Styles pour le contenu de la popup */
.vap-help-popup-body h1,
.vap-help-popup-body h2,
.vap-help-popup-body h3 {
    color: var(--vap-text);
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.vap-help-popup-body h1 {
    font-size: 1.75rem;
    margin-top: 0;
}

.vap-help-popup-body h2 {
    font-size: 1.5rem;
}

.vap-help-popup-body h3 {
    font-size: 1.25rem;
}

.vap-help-popup-body p {
    line-height: 1.6;
    margin-bottom: 1rem;
}

.vap-help-popup-body ul,
.vap-help-popup-body ol {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.vap-help-popup-body li {
    margin-bottom: 0.5rem;
}

/* Responsive popup */
@media (max-width: 768px) {
    .vap-help-popup-content {
        width: 95%;
        padding: 1.5rem;
        max-height: 90vh;
    }
    
    .vap-help-popup-close {
        top: 0.5rem;
        right: 0.5rem;
    }
}

