/**
 * tcc-adis-styles.css
 * Styles specifiques TCC-ADIS
 * Complement de horizons-styles.css (charge en dependance)
 * Meme pattern que snap-iv-styles.css
 */

/* -- Reset anti-piege 13 HOWTO -----------------------------------------------
   horizons-styles.css applique des ::before / ::after sur .genre-label
   qui peuvent parasiter les boutons scales TCC. On resets les elements
   specifiques TCC. ---------------------------------------------------------- */

.tcc-scale-btn::before,
.tcc-scale-btn::after {
    display: none !important;
    content: none !important;
}

/* -- Progression (reutilise classes snap-iv-progress) --------------------- */

.snap-iv-progress-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 20px 0 30px;
}

.snap-iv-progress-bar {
    flex: 1;
    height: 12px;
    background: #e9ecef;
    border-radius: 6px;
    overflow: hidden;
}

.snap-iv-progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(135deg, #043b5c 0%, #065a8a 100%);
    border-radius: 6px;
    transition: width 0.4s ease;
}

.snap-iv-progress-label {
    font-family: 'Aptos', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #666;
    white-space: nowrap;
    min-width: 48px;
    text-align: right;
}

/* -- Bloc courant --------------------------------------------------------- */

.tcc-bloc {
    font-family: 'Aptos', sans-serif;
}

/* -- Question ------------------------------------------------------------- */

.tcc-question {
    transition: box-shadow 0.2s ease;
}

.tcc-question:hover {
    box-shadow: 0 2px 12px rgba(4, 59, 92, 0.08);
}

/* -- Echelles 0-8 tactiles ------------------------------------------------ */

.tcc-scale {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}

.tcc-scale-btn {
    border: none;
    border-radius: 8px;
    padding: 10px 16px;
    font-family: 'Aptos', sans-serif;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    min-width: 44px;
    min-height: 44px;
    transition: background 0.15s ease, transform 0.1s ease;
    background: #e4f1fe;
    color: #101820;
}

.tcc-scale-btn:hover {
    background: #043b5c !important;
    color: #fff !important;
    transform: translateY(-1px);
}

/* -- Gate OUI/NON --------------------------------------------------------- */

.tcc-gate-question {
    font-family: 'Aptos', sans-serif;
    font-size: 17px;
    font-weight: 600;
    color: #101820;
    margin-bottom: 20px;
}

/* -- Textarea ------------------------------------------------------------- */

.dc-input[data-key] {
    height: 80px;
    resize: vertical;
}

/* -- Responsive tablette -------------------------------------------------- */

@media (max-width: 640px) {
    .tcc-scale-btn {
        padding: 10px 12px;
        font-size: 14px;
        min-width: 40px;
    }

    .dc-tablet-container {
        padding: 20px 15px;
    }
}
