.currencie-select-list {
    /* Palette de couleurs raffinée */
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --secondary-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --card-gradient: linear-gradient(145deg, #ffffff, #f8f7fa);
    --shadow-light: 0 8px 32px rgba(110, 26, 141, 0.08);
    --shadow-hover: 0 12px 30px rgba(110, 26, 141, 0.15);
    --border-radius-lg: 20px;
    --border-radius-md: 14px;
    --border-radius-sm: 10px;
    --transition-smooth: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --accent-color: #8a2be2;
    --text-primary: #2d3748;
    --text-secondary: #718096;
    --background: linear-gradient(135deg, #f5f7fa 0%, #e4edf5 100%);
}

.currencie-select-list .crypto-selector-container {
    background: var(--background);
    border-radius: var(--border-radius-lg);
    padding: 28px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.currencie-select-list .crypto-selector-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-gradient);
    border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
}

/* Barre de contrôle améliorée */
.currencie-select-list .crypto-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 15px;
}

.currencie-select-list .search-filter {
    flex-grow: 1;
    max-width: 400px;
    position: relative;
}

.currencie-select-list .search-input {
    width: 100%;
    padding: 18px 24px 18px 52px;
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    font-size: 16px;
    font-weight: 500;
    color: var(--text-primary);
    transition: var(--transition-smooth);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.currencie-select-list .search-input:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 8px 30px rgba(138, 43, 226, 0.15);
    transform: translateY(-2px);
}

.currencie-select-list .search-filter::before {
    content: '🔍';
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    z-index: 2;
    opacity: 0.6;
}

.currencie-select-list .view-toggle {
    display: flex;
    gap: 10px;
    background: white;
    padding: 8px;
    border-radius: 14px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.currencie-select-list .view-btn {
    width: 42px;
    height: 42px;
    border: none;
    background: transparent;
    border-radius: 10px;
    color: var(--text-secondary);
    font-size: 18px;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    justify-content: center;
}

.currencie-select-list .view-btn:hover {
    background: #f7fafc;
    color: var(--accent-color);
    transform: translateY(-2px);
}

.currencie-select-list .view-btn.active {
    background: var(--primary-gradient);
    color: white;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

/* Vue grille améliorée */
.currencie-select-list .crypto-grid-view {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 22px;
    padding: 5px;
}

.currencie-select-list .crypto-card {
    display: flex;
    align-items: center;
    background: var(--card-gradient);
    border-radius: var(--border-radius-md);
    cursor: pointer;
    transition: var(--transition-smooth);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-light);
}

.currencie-select-list .crypto-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--secondary-gradient);
    opacity: 0;
    transition: var(--transition-smooth);
}

.currencie-select-list .crypto-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(138, 43, 226, 0.1);
}

.currencie-select-list .crypto-card:hover::before {
    opacity: 1;
}

.currencie-select-list .crypto-card:active {
    transform: translateY(-4px);
    transition: transform 0.1s;
}

.currencie-select-list .crypto-card .crypto-icon {
    width: 30px;
    height: 30px;
    text-align: center;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.currencie-select-list .crypto-card:hover .crypto-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
}

.currencie-select-list .crypto-card .crypto-icon img {
    width: 30px;
    height: 30px;
    object-fit: contain;
    transition: var(--transition-smooth);
}

.currencie-select-list .crypto-card:hover .crypto-icon img {
    transform: scale(1.15);
}

.currencie-select-list .crypto-info {
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.currencie-select-list .crypto-name {
    padding: 0 0 0 10px;
    font-size: 12px;
    font-weight: 700;
    color: var(--text-primary);
    transition: var(--transition-smooth);
}

.currencie-select-list .crypto-card:hover .crypto-name {
    color: var(--accent-color);
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.currencie-select-list .crypto-network {
    display: inline-block;
    padding: 6px 16px;
    background: linear-gradient(135deg, #f6f8ff, #edf2f7);
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 600;
    border-radius: 30px;
    letter-spacing: 0.5px;
    transition: var(--transition-smooth);
    border: 1.5px solid #e2e8f0;
}

.currencie-select-list .crypto-card:hover .crypto-network {
    background: var(--primary-gradient);
    color: white;
    border-color: transparent;
    transform: translateY(-2px);
}

/* État sans résultats */
.currencie-select-list .no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    background: white;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-light);
}

.currencie-select-list .no-results i {
    font-size: 64px;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
    display: block;
}

.currencie-select-list .no-results p {
    font-size: 18px;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Animation d'apparition des cartes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.currencie-select-list .crypto-card {
    animation: fadeInUp 0.5s ease-out forwards;
    animation-delay: calc(var(--card-index, 0) * 0.05s);
    opacity: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .currencie-select-list .crypto-selector-container {
        padding: 20px;
        margin: 10px;
    }
    
    .currencie-select-list .crypto-grid-view {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 16px;
    }
    
    .currencie-select-list .crypto-card {
        /* padding: 18px; */
    }
    
    .currencie-select-list .crypto-card .crypto-icon {
        width: 30px;
        height: 30px;
    }
    
    .currencie-select-list .search-input {
        padding: 16px 20px 16px 48px;
    }
}

@media (max-width: 480px) {
    .currencie-select-list .crypto-grid-view {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .currencie-select-list .crypto-controls {
        flex-direction: column;
        align-items: stretch;
    }
    
    .currencie-select-list .search-filter {
        max-width: 100%;
    }
    
    .currencie-select-list .view-toggle {
        align-self: center;
    }
}

/* Effet de sélection */
.currencie-select-list .crypto-card.selected {
    border-color: var(--accent-color);
    background: linear-gradient(145deg, #ffffff, #f9f5ff);
    box-shadow: 0 12px 35px rgba(138, 43, 226, 0.2);
}

.currencie-select-list .crypto-card.selected::after {
    content: '✓';
    position: absolute;
    top: 12px;
    right: 12px;
    width: 28px;
    height: 28px;
    background: var(--primary-gradient);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
    box-shadow: 0 4px 10px rgba(102, 126, 234, 0.4);
}

/* Barre de défilement stylisée */
.currencie-select-list .crypto-grid-view::-webkit-scrollbar {
    width: 8px;
}

.currencie-select-list .crypto-grid-view::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.currencie-select-list .crypto-grid-view::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 10px;
}

/* Effet de chargement */
.currencie-select-list .crypto-card.loading {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}