/* Scope spécifique aux tableaux de rdv */
/* .app-rdv-table-wrapper { width:100%; overflow-x:auto; margin-bottom:8px; } */
.app-rdv-table { width:100% !important; table-layout: fixed; border-collapse: collapse; }
.app-rdv-table th.app-rdv-col-header, .app-rdv-table th.app-rdv-col-sub, .app-rdv-table td.app-rdv-cell { padding: 6px; vertical-align: middle; }
.app-rdv-table td.app-rdv-cell input.app-rdv-table-cell { width:100%; box-sizing: border-box; border: none; background: transparent; padding:6px; }

/* Header / title color set to the requested color */
.app-rdv-table thead th { background: #769fd7; color: #fff; text-align:center; font-weight:700; }
.app-rdv-table thead th.app-rdv-col-header:first-child { text-align:left; }

/* Title with same background as headers */
.app-rdv-table-title { background:#2d4f7d; color:#fff; padding:8px 10px; font-size:16px; font-weight:700; margin-bottom:6px; }

/* Lignes et hover */
.app-rdv-table tbody tr { background:#f6f8f9; }
.app-rdv-table tbody tr:hover { background:#eef3f6; }

/* change la couleur du texte des th des nested tables (Ventanas) */
.app-rdv-table .nested-table thead th { color: #1e73be;background: #eaf3ff;font-weight: 700; }
.app-rdv-table .nested-table-wrapper { padding:10px; }


/* Buttons spécifiques */
.app-rdv-add-row, .app-rdv-remove-row, .app-rdv-add-child-row, .app-rdv-remove-child-row, .app-rdv-toggle-children { line-height:1; padding:4px 8px; }

/* gallery like pic/video */
.gallery-app { margin-bottom:12px; }
.gallery-app .row { display:flex; flex-wrap:wrap; gap:12px; }
.gallery-app .gallery-image { display:block; width:180px; text-align:center; }
.gallery-app .gallery-image img { max-width:180px; max-height:180px; display:block; margin:0 auto 6px; border:1px solid #bbb; background:#f9f9f9; }
.gallery-app .gallery-title { font-size:11px; color:#555; margin-bottom:2px; word-break: break-all; }
.gallery-app .gallery-image-options-app {  position: absolute;top: 0;bottom: 0;left: 0;right: 0;display: none;padding: 10px; }
.gallery-app .gallery-image-options-app .btn { font-size:13px; padding:5px 8px; }

/* ensure gallery action buttons visible */
.gallery-app .gallery-link,
.gallery-app .deldocquest,
.gallery-app .downloaddoc { display:inline-block !important; opacity:1 !important; visibility:visible !important; }

/* pad specifics */
.pad-question-wrapper { margin-bottom:12px; position:relative; }
.pad-preview img.pad-preview-img { max-width:100%; border:1px solid #ddd; display:block; margin-bottom:6px; }
.pad-canvas { background:#fff; cursor:crosshair; display:block; width:100%; height:180px; }
.pad-controls .btn { margin-right:6px; }
.pad-resizer-handle { box-shadow: 0 1px 2px rgba(0,0,0,0.06); }

/* overlay canvas on top */
.pad-overlay-canvas { position:absolute; left:0; top:0; z-index:25; pointer-events:none; }
.pad-toolbox { margin-bottom:6px; }
.pad-color { width:34px; height:22px; padding:0; border: none; vertical-align:middle; }


.gallery-image:hover .gallery-image-options-app {
    display: block;
}

.question-section-appreno {
    color: #31a6a8;
    background-color: #cbf3f0;
    border-bottom: 1px solid gray;
    margin-bottom: 3px;
    cursor: pointer;
    padding-right: 30px;
    position: relative;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
}

.question-section-appreno .chevron-wrapper {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
}

.question-section-appreno .chevron-wrapper i {
    transition: transform 0.3s ease;
    font-size: 1.1em;
    color: #31a6a8;
}

.question-section-appreno.open .chevron-wrapper i {
    transform: translateY(-50%) rotate(180deg);
}