/* === Système d'onglets pour les classes === */

.class-tabs {
    margin-top: 1.5rem;
    margin-left: -15px;
    margin-right: -15px;
    width: calc(100% + 30px);
    max-width: calc(100% + 30px);
    background: #202020;
    border-radius: 8px;
    padding: 20px;
    border: 2px solid #fec722;
    box-sizing: border-box;
}

.tab-buttons {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
    gap: 2px;
    background: #333;
    border-radius: 6px;
    padding: 4px;
}

.tab-btn {
    background: #444;
    color: #fff;
    border: none;
    padding: 12px 20px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    border-radius: 4px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex: 1;
}

.tab-btn:hover {
    background: #555;
    color: #fec722;
}

.tab-btn.active {
    background: #fec722;
    color: #000;
}

.tab-content {
    display: none;
    margin: 0 -5px;
    padding-top: 10px;
}

.tab-content.active {
    display: block;
}

.tab-content .skills-grid,
.tab-content .builds-mini-grid,
.tab-content .diablo-builds-mini {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

#tab-builds {
    padding-top: 10px !important;
}

#tab-builds > * {
    margin-top: 0 !important;
}

/* Effet hover sur les cartes de builds */
.tab-content .build-mini-card:hover,
.tab-content .build-card:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 8px rgba(0,0,0,0.8);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.tab-content .build-mini-card,
.tab-content .build-card {
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

@media (max-width: 768px) {
    .tab-content {
        margin: 0 -10px;
    }
}

/* Résumé de classe */
.class-summary {
    background: #2a2a2a;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    border: 1px solid #fec722;
}

.custom-infos {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #444;
}

.class-description {
    color: #fff;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 15px;
    text-align: center;
}

.class-stats {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.stat-icon {
    font-size: 24px;
}

.stat-value {
    font-size: 20px;
    font-weight: bold;
    color: #fec722;
}

.stat-label {
    font-size: 12px;
    color: #ccc;
    text-transform: uppercase;
}

