
/* Styles avec préfixes pour éviter les conflits avec Joomla */
.iddown{
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif !important;
    max-width: 1000px;
    margin:0 30px 30px 30px;
    padding: 0;
}


body[data-theme="green"] .dl-stats {
    background: var(--backg) !important;
	
}

/* Thème Orange */
body[data-theme="orange"] .dl-stats {
    background:var(--backg) !important;
}

/* Thème Red */
body[data-theme="red"] .dl-stats {
    background:var(--backg) !important;
}

/* Thème Bleu */
body[data-theme="blue"] .dl-stats{
     background: var(--backg) !important;
}

/* Thème Purple */
body[data-theme="purple"] .dl-stats {
    background:var(--backg) !important;
}
/* Thème Black */
body[data-theme="black"] .dl-stats {
    background: var(--backg) !important;
}



.iddown .dl-card {
    background: #ffffff;
    border-radius: 30px;
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.25);
    overflow: hidden;
    animation: dl-slideUp 0.6s ease-out;
}

@keyframes dl-slideUp {
    from { 
        opacity: 0; 
        transform: translateY(30px);
    }
    to { 
        opacity: 1; 
        transform: translateY(0);
    }
}

.iddown .dl-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 40px 25px 30px;
    text-align: center;
    color: #ffffff;
}

.iddown .dl-icon-box {
    background: #ffffff;
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.iddown .dl-title {
    font-size: 18px !important;
    font-weight: 600 !important;
    margin: 0 0 15px 0 !important;
    padding: 0 !important;
    line-height: 1.4 !important;
    color: #ffffff !important;
    word-break: break-word;
}

.iddown .dl-breadcrumb {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.iddown .dl-tab {
    background: rgba(255, 255, 255, 0.25);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 18px;
    font-weight: 500;
    color: #ffffff;
    backdrop-filter: blur(10px);
}

.iddown .dl-stats {
  
    border-radius: 20px;
    padding: 25px;
    margin: 0 20px;
    text-align: center;
    color: #ffffff;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.iddown .dl-stats-number {
    font-size: 48px;
    font-weight: 700;
    margin: 0 0 5px 0;
    line-height: 1;
    color: #ffffff;
}

.iddown .dl-stats-label {
    font-size: 18px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #ffffff;
    opacity: 0.95;
}

.iddown .dl-body {
    padding: 10px 0px;
}

.iddown .dl-info {
    margin-bottom: 25px;
}

.iddown .dl-info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #e8ecf3;
}

.iddown .dl-info-row:last-child {
    border-bottom: none;
}

.iddown .dl-info-label {
    color: #64748b;
    font-weight: 500;
    font-size: 18px;
    margin: 0;
}

.iddown .dl-info-value {
    color: #1e293b;
    font-weight: 600;
    font-size: 18px;
    margin: 0;
}

.iddown .dl-buttons {
    display: flex;
    gap: 12px;
    margin-top: 25px;
}

.iddown .dl-btn {
    flex: 1;
    padding: 16px 20px;
    border: none;
    border-radius: 15px;
    font-size: 20px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none !important;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}



body[data-theme="green"] .dl-btn-primary {
    background: var(--backg) !important;
	
}

/* Thème Orange */
body[data-theme="orange"] .dl-btn-primary {
    background:var(--backg) !important;
}

/* Thème Red */
body[data-theme="red"] .dl-btn-primary {
    background:var(--backg) !important;
}

/* Thème Bleu */
body[data-theme="blue"] .dl-btn-primary{
     background: var(--backg) !important;
}

/* Thème Purple */
body[data-theme="purple"] .dl-btn-primary {
    background:var(--backg) !important;
}
/* Thème Black */
body[data-theme="black"] .dl-btn-primary {
    background: var(--backg) !important;
}

.iddown .dl-btn-primary {
   
    color: #ffffff !important;
    box-shadow: 0 4px 15px rgb(186 187 192 / 43%);
}

.iddown .dl-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgb(186 187 192 / 43%);
    color: #ffffff !important;
}

.iddown .dl-btn-secondary {
    background: #ffffff;
    color: #667eea !important;
    border: 2px solid #9d9ea5;;
}

.iddown .dl-btn-secondary:hover {
    background: #f8f9ff;
    transform: translateY(-2px);
    color: #667eea !important;
}

/*@media (max-width: 480px) {
    .iddown {
        margin: 15px;
    }
    
    .iddown .dl-card {
        border-radius: 20px;
    }
    
    .iddown .dl-header {
        padding: 30px 20px 25px;
    }
    
    .iddown .dl-title {
        font-size: 16px !important;
    }
    
    .iddown .dl-stats {
        margin: 0 15px;
        padding: 20px;
    }
    
    .iddown .dl-stats-number {
        font-size: 40px;
    }
    
    .iddown .dl-body {
        padding: 25px 20px;
    }
    
    .iddown .dl-buttons {
        flex-direction: column;
    }
}
