/* TBC Card PDF Generator - Dynamic Styles v1.5.1 */


/* === GÉNÉRAL === */
.tbc-card-grid,
.tbc-acf-filters,
.tbc-card,
.tbc-visible-fields {
    font-family: Arial, sans-serif;
    font-size: 14px;
}

/* === GRILLE === */
.tbc-card-grid {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 15px;
}

/* === FILTRES === */
.tbc-acf-filters {
    background: rgba(249, 249, 249, 0);
    border: 1px solid #919191;
    border-radius: 5px;
    color: #ff7300;
    text-align: left;
    padding: 5px;
    margin-bottom: 5px;
}

.tbc-acf-filters h3,
.tbc-acf-filters label {
    color: #ff7300;
}

/* === CARTES === */
.tbc-card {
    background: rgba(177, 175, 175, 0);
    border: 1px solid #fa9200;
    border-radius: 4px;
    padding: 10px;
    text-align: center;
}

.tbc-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 20px rgba(0,0,0,0.15);
}

/* === IMAGES === */
.tbc-card img {
    border-radius: 4px;
}

.tbc-card:hover img {
    transform: scale(1.25);
}

.tbc-visible-fields {
    background: rgba(249, 249, 249, 0);
    border: 1px solid #e0e0e0;
    border-radius: 3px;
    color: #ffffff;
    text-align: left;
    font-size: 10px;
    padding: 8px;
    margin-top: 10px;
}

.tbc-visible-fields .tbc-field strong {
    color: #ffffff;
}

/* === COMPTEUR === */
.tbc-card input[type="number"] {
    width: 70px;
    height: 30px;
    background: #ffffff;
    border: 0px solid #ffa200;
    border-radius: 3px;
    color: #333333;
    font-size: 14px;
    text-align: center;
    margin-top: 0px;
}

/* === BOUTON PDF === */
.tbc-pdf-button-container {
    position: fixed; bottom: 20px; right: 20px; z-index: 999;
}

#tbc-generate-pdf {
    background: #ff7b00;
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    text-transform: none;
    padding: 11px 24px;
    border-radius: 50px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    border: none;
    cursor: pointer;
}

#tbc-generate-pdf:hover {
    background: #f51000;
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

/* === LIGHTBOX === */
.tbc-lightbox {
    background: rgba(0, 0, 0, 0.9);
}

.tbc-lightbox-close {
    width: 40px;
    height: 40px;
    line-height: 36px;
    color: #ffffff;
    border-color: #ffffff;
}
