/**
 * Styles pour le gestionnaire de langue et devise
 */

/* Styles pour les options de langue et devise */
.language-option,
.currency-option {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    background: transparent;
    width: 100%;
    text-align: left;
}

.language-option:hover,
.currency-option:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.language-option.current,
.currency-option.current {
    background-color: rgba(255, 204, 0, 0.2);
    font-weight: 500;
}

/* Styles pour les drapeaux */
.flag-icon {
    margin-right: 10px;
    width: 20px;
    height: 15px;
    border-radius: 2px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

/* Styles pour les notifications */
.notification-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 100000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.notification {
    padding: 12px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    color: white;
    font-size: 14px;
    font-weight: 500;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    max-width: 300px;
    word-wrap: break-word;
}

.notification-success {
    background-color: #27ae60;
}

.notification-error {
    background-color: #e74c3c;
}

.notification-warning {
    background-color: #f39c12;
}

.notification-info {
    background-color: #3498db;
}

.notification-loading {
    background-color: #9b59b6;
}

/* Styles pour l'état de chargement */
.loading {
    position: relative;
    opacity: 0.7;
}

.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: inherit;
}

.loading-spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    color: white;
    font-size: 14px;
}