/* Styles pour les icônes MonCash */

.moncash-logo {
    display: inline-block;
    vertical-align: middle;
    filter: drop-shadow(0 4px 8px rgba(255, 107, 53, 0.3));
    transition: all 0.3s ease;
}

.moncash-logo:hover {
    filter: drop-shadow(0 8px 16px rgba(255, 107, 53, 0.4));
    transform: scale(1.05);
}

.moncash-icon {
    display: inline-block;
    vertical-align: middle;
    filter: drop-shadow(0 4px 8px rgba(247, 147, 30, 0.3));
    transition: all 0.3s ease;
}

.moncash-icon:hover {
    filter: drop-shadow(0 8px 16px rgba(247, 147, 30, 0.4));
    transform: scale(1.05);
}

.moncash-simple {
    display: inline-block;
    vertical-align: middle;
    color: #FF6B35;
    filter: drop-shadow(0 2px 4px rgba(255, 107, 53, 0.2));
    transition: all 0.3s ease;
}

.moncash-simple:hover {
    color: #FFC72C;
    filter: drop-shadow(0 4px 8px rgba(255, 199, 44, 0.4));
    transform: scale(1.1);
}

/* Fond blanc pour l'icône officielle MonCash PNG */
.moncash-official {
    display: inline-block;
    vertical-align: middle;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 16px;
    padding: 16px;
    box-shadow: 
        0 8px 20px rgba(255, 107, 53, 0.2),
        0 4px 12px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    border: 2px solid rgba(255, 107, 53, 0.15);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.moncash-official::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s;
}

.moncash-official:hover::before {
    left: 100%;
}

.moncash-official:hover {
    box-shadow: 
        0 12px 30px rgba(255, 107, 53, 0.3),
        0 8px 20px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    transform: translateY(-4px) scale(1.05);
    border-color: rgba(255, 107, 53, 0.3);
}

/* Variantes de fond blanc pour différentes situations */
.moncash-official-clean {
    display: inline-block;
    vertical-align: middle;
    background: linear-gradient(135deg, #ffffff 0%, #fafafa 100%);
    border-radius: 12px;
    padding: 10px;
    box-shadow: 
        0 4px 15px rgba(255, 107, 53, 0.15),
        0 2px 8px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    border: 2px solid rgba(255, 107, 53, 0.2);
    transition: all 0.3s ease;
}

.moncash-official-clean:hover {
    box-shadow: 
        0 6px 20px rgba(255, 107, 53, 0.25),
        0 4px 12px rgba(0, 0, 0, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 1);
    transform: translateY(-2px);
    border-color: rgba(255, 107, 53, 0.35);
}

.moncash-official-card {
    display: inline-block;
    vertical-align: middle;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 50%, #ffffff 100%);
    border-radius: 20px;
    padding: 20px;
    box-shadow: 
        0 12px 35px rgba(255, 107, 53, 0.2),
        0 8px 20px rgba(0, 0, 0, 0.1),
        0 4px 8px rgba(0, 0, 0, 0.05),
        inset 0 2px 0 rgba(255, 255, 255, 0.9),
        inset 0 -2px 0 rgba(0, 0, 0, 0.02);
    border: 3px solid rgba(255, 107, 53, 0.2);
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.moncash-official-card::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #ff6b35, #f7931e, #ffc72c, #ff6b35);
    border-radius: 22px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.moncash-official-card:hover::after {
    opacity: 0.3;
}

.moncash-official-card:hover {
    box-shadow: 
        0 20px 50px rgba(255, 107, 53, 0.3),
        0 12px 25px rgba(0, 0, 0, 0.15),
        0 8px 12px rgba(0, 0, 0, 0.08),
        inset 0 2px 0 rgba(255, 255, 255, 1),
        inset 0 -2px 0 rgba(0, 0, 0, 0.03);
    transform: translateY(-6px) scale(1.03);
    border-color: rgba(255, 107, 53, 0.4);
}

.moncash-official-minimal {
    display: inline-block;
    vertical-align: middle;
    background: linear-gradient(135deg, #ffffff 0%, #fcfcfc 100%);
    border-radius: 8px;
    padding: 8px;
    box-shadow: 
        0 2px 8px rgba(255, 107, 53, 0.1),
        0 1px 4px rgba(0, 0, 0, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 107, 53, 0.15);
    transition: all 0.3s ease;
}

.moncash-official-minimal:hover {
    box-shadow: 
        0 4px 12px rgba(255, 107, 53, 0.2),
        0 2px 6px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 1);
    transform: translateY(-1px);
    border-color: rgba(255, 107, 53, 0.25);
}

.mobile-payment-icon {
    color: #F7931E;
}

.htg-currency-icon {
    color: #FF6B35;
}

/* Animations pour les icônes MonCash */
.moncash-logo:hover,
.moncash-icon:hover {
    transform: scale(1.05);
    transition: transform 0.2s ease;
}

.moncash-simple:hover {
    color: #FFC72C;
    transition: color 0.2s ease;
}

/* Responsive pour les icônes MonCash */
@media (max-width: 640px) {
    .moncash-logo {
        max-width: 80px;
        height: auto;
    }
    
    .moncash-icon {
        max-width: 32px;
        height: auto;
    }
}

/* Effet de glow pour les icônes MonCash */
.moncash-glow {
    filter: drop-shadow(0 0 12px rgba(255, 107, 53, 0.5));
    animation: moncash-glow-pulse 2s ease-in-out infinite alternate;
}

@keyframes moncash-glow-pulse {
    0% {
        filter: drop-shadow(0 0 12px rgba(255, 107, 53, 0.5));
    }
    100% {
        filter: drop-shadow(0 0 20px rgba(255, 107, 53, 0.8));
    }
}

/* Amélioration de visibilité pour fond sombre */
.moncash-enhanced {
    position: relative;
}

.moncash-enhanced::after {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.moncash-enhanced:hover::after {
    opacity: 1;
}

/* Style pour les badges de devise */
.currency-badge {
    background: linear-gradient(135deg, #FF6B35, #FFC72C);
    color: white;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

/* Animation de pulse pour attirer l'attention */
@keyframes moncash-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.moncash-pulse {
    animation: moncash-pulse 2s infinite;
}

/* Style pour les sections MonCash */
.moncash-section {
    background: linear-gradient(135deg, 
        rgba(255, 107, 53, 0.05) 0%, 
        rgba(247, 147, 30, 0.05) 50%, 
        rgba(255, 199, 44, 0.05) 100%
    );
}

.moncash-border {
    border: 2px solid rgba(255, 107, 53, 0.2);
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .moncash-simple {
        color: #FFC72C;
    }
    
    .mobile-payment-icon {
        color: #FFC72C;
    }
    
    .htg-currency-icon {
        color: #FFC72C;
    }
}