/**
 * Corrections Additionnelles - COMPACT
 * Fichier: /css/calculator-extras.css
 */

/* ========================================
   CACHER LE LABEL "DESTINATION"
======================================== */

.form-group > label[for="destination-search"],
label[for="destination-search"],
.destination-label {
    display: none !important;
}

/* ========================================
   CARTE RÉSULTAT - STYLE ORANGE - COMPACT
======================================== */

/* Bordure orange - LIGNE SOLIDE */
#calculator-results .plan-card,
#calculator-results .esim-card {
    border: 2px solid #f7931e !important;
    box-shadow: 0 4px 18px rgba(247, 147, 30, 0.12) !important;
    padding: 14px !important;
    border-radius: 10px !important;
}

/* Bande gradient en haut → orange */
#calculator-results .plan-card::before,
#calculator-results .esim-card::before {
    background: linear-gradient(90deg, #f7931e 0%, #e8850a 100%) !important;
    height: 3px !important;
}

/* Badge "SÉLECTIONNÉ" orange */
#calculator-results .badge,
#calculator-results [class*="badge"] {
    background: linear-gradient(135deg, #f7931e 0%, #e8850a 100%) !important;
    color: #fff !important;
    padding: 3px 8px !important;
    font-size: 9px !important;
}

/* Quantité data en orange */
#calculator-results [class*="data"]:not(button):not(select) {
    color: #f7931e !important;
    font-size: 0.9rem !important;
}

/* Bouton "Acheter maintenant" orange */
#calculator-results .btn,
#calculator-results button:not(.clear-btn),
#calculator-results a.btn {
    background: linear-gradient(135deg, #f7931e 0%, #e8850a 100%) !important;
    border: none !important;
    color: #fff !important;
    padding: 8px 14px !important;
    font-size: 12px !important;
    border-radius: 6px !important;
}

/* ========================================
   DRAPEAU DANS LA CARTE RÉSULTAT - COMPACT
======================================== */

.country-flag-img {
    width: 26px !important;
    height: 18px !important;
    border-radius: 2px !important;
    object-fit: cover !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.15) !important;
    margin-right: 8px !important;
    vertical-align: middle !important;
}

#calculator-results h3,
#calculator-results h4,
#calculator-results .country-name {
    display: flex !important;
    align-items: center !important;
    font-size: 1rem !important;
}

/* ========================================
   FORFAITS SIMILAIRES - COMPACT
======================================== */

.similar-plans-section {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 2px solid #f0f0f0;
}

.similar-plans-title {
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
    text-align: center;
}

.similar-plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
}

.similar-plan-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 10px 14px;
    transition: all 0.2s ease;
}

.similar-plan-card:hover {
    border-color: #f7931e;
    box-shadow: 0 3px 12px rgba(247, 147, 30, 0.12);
}

.similar-plan-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.similar-plan-data {
    font-weight: 600;
    font-size: 0.9rem;
    color: #f7931e;
}

.similar-plan-duration {
    font-size: 0.75rem;
    color: #666;
}

.similar-plan-price {
    text-align: right;
    margin-right: 10px;
}

.similar-price-amount {
    font-size: 1.1rem;
    font-weight: 700;
    color: #333;
}

.similar-price-currency {
    font-size: 0.7rem;
    color: #666;
}

.btn-select-similar {
    background: linear-gradient(135deg, #f7931e 0%, #e8850a 100%);
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 7px 14px;
    font-weight: 600;
    font-size: 0.75rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-select-similar:hover {
    background: linear-gradient(135deg, #e8850a 0%, #d4780a 100%);
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(247, 147, 30, 0.25);
}

/* Responsive */
@media (max-width: 768px) {
    .similar-plans-grid {
        grid-template-columns: 1fr;
    }
    
    .similar-plan-card {
        flex-wrap: wrap;
        gap: 8px;
        padding: 8px 12px;
    }
    
    .similar-plan-price {
        margin-right: 0;
    }
    
    .btn-select-similar {
        width: 100%;
        margin-top: 6px;
        padding: 8px 12px;
    }
}

/* ========================================
   TITRES ET TEXTES - UNE LIGNE
======================================== */

.calculator-title {
    font-size: 1.15rem !important;
    margin-bottom: 3px !important;
}

.calculator-subtitle {
    font-size: 0.8rem !important;
    margin-bottom: 12px !important;
}

.calculator-inner {
    padding: 18px 25px !important;
}

/* Labels plus petits pour une ligne */
.calculator-form .form-group label {
    font-size: 11px !important;
    margin-bottom: 4px !important;
    font-weight: 600 !important;
}
