/*
 * Armory collections CSS
 *
 * Phase 2A :
 * - le vrai CSS Collections est maintenant centralisé ici ;
 * - l'ancien CSS inline dans index.php est encore conservé volontairement ;
 * - le rendu doit donc rester identique ;
 * - prochaine étape : supprimer les blocs Collections inline de index.php après validation.
 */

/* ============================================================
   COLLECTIONS
   ============================================================ */

.armory-collections-box {
    padding: 28px 30px 34px 30px;
    min-height: 440px;
    background: rgba(8, 8, 8, 0.84);
    border: 1px solid rgba(255, 204, 0, 0.12);
    box-shadow: inset 0 0 85px rgba(0, 0, 0, 0.78);
}

.armory-collections-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 26px;
}

.armory-collection-type-buttons,
.armory-collection-filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
}

.armory-collection-type-button,
.armory-collection-filter-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0 0 8px 0;
    color: #ffcc00;
    background: transparent;
    border: 0;
    border-bottom: 3px solid transparent;
    font-size: 15px;
    font-weight: bold;
    text-shadow: 0 2px 3px #000;
    cursor: pointer;
}

.armory-collection-type-button img {
    width: 22px;
    height: 22px;
    border: 1px solid rgba(255, 204, 0, 0.45);
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.8);
}

.armory-collection-type-button:hover,
.armory-collection-type-button.armory-collection-type-active,
.armory-collection-filter-button:hover,
.armory-collection-filter-button.armory-collection-filter-active {
    color: #ffffff;
    border-bottom-color: rgba(255, 255, 255, 0.88);
}

.armory-collection-panel {
    display: none;
}

.armory-collection-panel.armory-collection-panel-active {
    display: block;
}

.armory-collection-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(172px, 1fr));
    gap: 30px;
}

.armory-collection-card {
    min-height: 210px;
    padding: 18px 12px 14px 12px;
    text-align: center;
    background: rgba(20, 20, 20, 0.72);
    border: 1px solid rgba(255, 204, 0, 0.11);
    box-shadow: inset 0 0 42px rgba(0, 0, 0, 0.72);
}

.armory-collection-card.armory-collection-missing {
    opacity: 0.48;
}

.armory-collection-name a {
    display: inline-flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    min-height: 126px;
    color: #ffcc00 !important;
    font-size: 15px;
    font-weight: bold;
    line-height: 1.25;
    text-decoration: none !important;
}

.armory-collection-name a .iconlarge,
.armory-collection-name a .iconmedium,
.armory-collection-name a .iconsmall,
.armory-collection-name a .icontiny {
    margin: 0 auto !important;
    flex: 0 0 auto;
}

.armory-collection-card.armory-collection-missing .armory-collection-name a .iconlarge,
.armory-collection-card.armory-collection-missing .armory-collection-name a .iconmedium,
.armory-collection-card.armory-collection-missing .armory-collection-name a .iconsmall,
.armory-collection-card.armory-collection-missing .armory-collection-name a .icontiny {
    filter: grayscale(1);
}

.armory-collection-card.armory-collection-missing .armory-collection-name a {
    color: #b8b8b8 !important;
}

.armory-collection-status {
    display: inline-block;
    margin-left: 5px;
    font-size: 18px;
    font-weight: bold;
    line-height: 1;
}

.armory-collection-status-ok {
    color: #66ff33;
}

.armory-collection-status-ko {
    color: #c43b36;
}

.armory-collection-empty {
    padding: 24px;
    color: #aaa;
    text-align: center;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 204, 0, 0.12);
}

@media (max-width: 760px) {
.armory-collections-header {
        flex-direction: column;
    }

.armory-collection-filter-buttons {
        justify-content: flex-start;
    }
}

/* ============================================================
   END COLLECTIONS
   ============================================================ */
