.panier-module {
    max-width: 550px;
    width: 100%;
    padding: 35px;
    border-radius: 20px;
    background: white;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    margin: 30px auto;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.panier-titre {
    font-size: 26px;
    margin-bottom: 8px;
    color: #2d3748;
    text-align: center;
    line-height: 1.3;
}

.panier-intro {
    font-size: 15px;
    margin-bottom: 30px;
    color: #718096;
    text-align: center;
    line-height: 1.5;
}

.panier-form-group {
    margin-bottom: 20px;
}

.panier-form-group label {
    font-weight: 600;
    display: block;
    margin-bottom: 8px;
    color: #2d3748;
    font-size: 14px;
}

.panier-module input[type="number"],
.panier-module select {
    width: 100%;
    border-radius: 10px;
    border: 2px solid #e2e8f0;
    font-size: 15px;
    transition: all 0.3s ease;
    background: #f7fafc;
    box-sizing: border-box;
}

.panier-module input[type="number"]:focus,
.panier-module select:focus {
    outline: none;
    border-color: #667eea;
    background: white;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.panier-note-total {
    font-size: 14px;
    margin: 15px 0 5px 0;
    padding: 12px;
    background: #edf2f7;
    border-radius: 8px;
    color: #2d3748;
    text-align: center;
}

.panier-note-info {
    font-size: 12px;
    margin: 5px 0 15px 0;
    color: #718096;
    text-align: center;
}

.panier-btn-calculer {
    width: 100%;
    padding: 15px;
    margin-top: 10px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.panier-btn-calculer:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
}

.panier-btn-calculer:active {
    transform: translateY(0);
}

.panier-resultat {
    margin-top: 25px;
    padding: 20px;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-radius: 12px;
    border: 2px solid #0ea5e9;
    font-size: 15px;
    line-height: 1.8;
    display: none;
    animation: slideIn 0.4s ease;
}

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

.panier-resultat strong {
    font-weight: 700;
    color: #0369a1;
}

.panier-resultat.erreur {
    border-color: #ef4444;
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
    color: #991b1b;
}

.panier-resultat.erreur strong {
    color: #991b1b;
}

.panier-montant-principal {
    font-size: 32px;
    font-weight: 800;
    color: #0369a1;
    text-align: center;
    margin: 15px 0;
}

.panier-detail-info {
    font-size: 13px;
    font-weight: 400;
    color: #64748b;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #cbd5e1;
}

@media (max-width: 600px) {
    .panier-module {
        padding: 25px;
    }
    
    .panier-titre {
        font-size: 22px;
    }
    
    .panier-montant-principal {
        font-size: 28px;
    }
}