.main-header #header-logo .logo-custom{
    text-align: center;
}

.ws-pre-line { white-space: pre-line; }

td.required:after, span.required:after {
    background: var(--color-danger);
    border-radius: 50%;
    content: "";
    display: inline-block;
    filter: opacity(75%);
    height: 4px;
    position: relative;
    right: -2px;
    top: -8px;
    width: 4px;
    z-index: var(--zindex-700)
}

.scroll-box {
  max-height: 200px;     /* ajuste la hauteur */
  overflow-y: auto;      /* scroll vertical si besoin */
  overflow-x: hidden;    /* évite un scroll horizontal */
}

.scroll-box hr {
    border-top: 1px dashed #000;
    margin: 0.35rem 0;
}

/**  Chapter header **/

.college_header select{
    height: 50px;
    line-height: 50px;
    width: auto;
    padding: 0 30px 0 5px;
}

.college_header select option.office{
    color: blue;
}

.college_header .college-logo{
    height: 50px;
    width: auto;
}

.college_header .college-name{
    vertical-align: middle;
}

.doc-tasks-grid {
    border: 1px solid var(--bs-border-color);
    border-radius: 0.5rem;
    padding: 1rem;
    background: var(--bs-body-bg);
}

.doc-tasks-grid-header,
.doc-tasks-grid-row {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 1.4fr 40px;
    gap: 1rem;
    align-items: start;
}

.doc-tasks-grid-header {
    font-weight: 600;
    padding-bottom: .75rem;
    margin-bottom: .75rem;
    border-bottom: 1px solid var(--bs-border-color);
}

.doc-tasks-grid-row {
    padding: .75rem 0;
    border-bottom: 1px solid var(--bs-border-color-translucent);
}

.doc-tasks-grid-row:last-child {
    border-bottom: 0;
}

.doc-tasks-grid-col--actions {
    display: flex;
    justify-content: center;
    padding-top: 2rem;
}

.doc-tasks-grid .form-group,
.doc-tasks-grid .field-group,
.doc-tasks-grid .form-widget {
    margin-bottom: 0;
}

.doc-tasks-grid .form-control,
.doc-tasks-grid .form-select {
    width: 100%;
}

.annual-capitation-table td {
    vertical-align: top;
}

.annual-capitation-payment-group {
    min-width: 260px;
}

.annual-capitation-payment-group .form-group {
    margin-bottom: 0;
}

.annual-capitation-payment-group textarea {
    min-height: 90px;
    resize: none;
}

.form-widget {
    position: relative;
}

.reasons-group .form-group {
    padding-bottom: 10px;
}

.ea-boolean-inline .form-check {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.ea-boolean-inline .form-check-input {
    margin-top: 4px;
    flex-shrink: 0;
}

.ea-boolean-inline .form-check-label {
    margin: 0;
    line-height: 1.4;
}


/* =========================
   HEADER EASYADMIN
========================= */
.content-header {
    position: sticky;
    top: 0;
    z-index: 200;
    background: #fff;
    padding: 30px 20px;
    margin: 0;
    box-sizing: border-box;
}

/* =========================
   TABLE GLOBAL
========================= */
.table {
    border-collapse: separate;
    border-spacing: 0;
}

.table-responsive {
    overflow-x: auto;
    overflow-y: visible;
    max-height: none;
}

.datagrid thead th {
    position: sticky;
    top: 80px;
    z-index: 100;
    background: #fff;
    box-shadow: 0 1px 0 #dee2e6;
}

/* =========================
   TABLE BORDERS
========================= */

.table,
.datagrid table {
    border-collapse: collapse;
}

.table th,
.table td,
.datagrid table th,
.datagrid table td {
    border-bottom: 1px solid #2e3a4c ; /*rgba(181, 185, 189, 0.55);*/
}

.table thead th,
.datagrid table thead th {
    border-bottom: 1px solid #2e3a4c; /*rgba(181, 185, 189, 0.55);*/
}

/* =========================
   BLAZON HISTORY MODAL TABLE FIXED HEADER
========================= */

.blazon-history-modal .modal-header {
    position: sticky;
    top: 0;
    z-index: 1055;
    background: #fff;
}

.blazon-history-modal .modal-body {
    overflow-y: auto;
}

.blazon-history-modal .table thead th {
    position: sticky;
    top: 0;
    z-index: 1050;
    background: #fff;
}

/* =========================
   FIX POUR ACCORDION
========================= */
.accordion .table thead th:not(.modal .table thead th) {
    top: 0;
    z-index: 10;
}

.accordion .table thead {
    position: relative;
    z-index: 10;
}

/* =========================
   DIVERS
========================= */
label.required::after {
    content: " *";
    color: red;
}

.ql-editor {
    min-height: 400px;
    font-size: 16px;
}

.quill-content img {
    max-width: 100%;
    height: auto;
}

.quill-editor-large .ql-editor,
.ql-editor.quill-editor-large {
    font-size: 18px;
    line-height: 1.6;
}