@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

/* html, body {
    height: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
 */
.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

.button-link {
    text-decoration: unset;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}

.title {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding-bottom: 0.625rem;
}

.title.title-secondary {
    padding-top: 0.313rem;
    padding-bottom: 0;
    color: var(--bs-secondary-color, var(--DS-color-content-neutral-default-rest));
}

.title-header-text {
    font-size: 2.5rem;
    line-height: 3rem;
    font-weight: 600;
    letter-spacing: 0rem;
    padding: 0.3125rem 0;
}

.title-content-text {
    font-size: 1.75rem;
    font-weight: 400;
    line-height: 2.5rem;
    letter-spacing: 0rem;
}

/* .main-content {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
}
 */
.block-content {
    width: 31.25rem;
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
    max-width: 100%;
}
 
.icon {
    width: var(--icon-width);
    height: var(--icon-height);
    background-color: currentcolor;
    mask-position: center center;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-image: var(--icon-mask-image);
    mask-image: var(--icon-mask-image);
}


/* .my-grid {
    border-left: 5px;
    border-right: 5px;
}
.my-grid.dxbl-grid .dxbl-grid-table > tbody > tr > td {
    border-left: none;
    border-right: none;
    border-bottom: 1px solid #ddd;
}

.my-grid.dxbl-grid .dxbl-grid-table > thead > tr > th {
    border-left: none;
    border-right: none;
    border-bottom: 2px solid #ccc;
}
 */

.my-grid
  table tr:not(:first-child) > td {
    border-top: none;
}


html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

.main-content {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.dxbl-splitter {
    flex-grow: 1;
    min-height: 0; /* voorkomt overflow */
}

.left-panel, .right-panel {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
}

.fullscreen-grid {
    flex-grow: 1;
    min-height: 0;
    overflow: auto;
}

.fullscreen-content {
    flex-grow: 1;
    min-height: 0;
    overflow: auto;
    display: flex;
    flex-direction: column;
}

.tab-content {
    flex-grow: 1;
    min-height: 0;
    overflow: auto;
}

.fullscreen-pdf {
    height: 1500px;
    margin-top: 50px;
}

.dxbl-pdfviewer.fullscreen-pdf {
    height: 250px !important;
    margin-top: 50px;
    border: solid purple 10px;
    background: red !important;
}


.dcbv-pdf-viewer.fullscreen-pdf {
    height: 50px !important;
    background: red !important;
}

.component-class {
    height: 1500px;
    margin-top: 50px;
    border: solid purple 1px;
}

.memo-invalid {
    border: 1px solid red;
    border-radius: 4px;
}

.grid-fixed-height3 {
    height: 160px;      /* pas aan naar 3 rijen */
    overflow-y: auto;   /* scrollbar bij meer records */
}

/* .icon-save {
    --icon-mask-image: url('/images/icons/save-mask.svg');
}

.icon-add {
    --icon-mask-image: url('/images/icons/add-mask.svg');
}

.icon-delete {
    --icon-mask-image: url('/images/icons/delete-mask.svg');
}

.icon-refresh {
    --icon-mask-image: url('/images/icons/refresh-mask.svg');
}

.icon-copy {
    --icon-mask-image: url('/images/icons/copy-mask.svg');
}

.icon-paste {
    --icon-mask-image: url('/images/icons/paste-mask.svg');
}

.icon-cut {
    --icon-mask-image: url('/images/icons/cut-mask.svg');
}

.icon-thumbs-up {
    --icon-mask-image: url('/images/icons/thumbs-up-mask.svg');
}

.icon-thumbs-down {
    --icon-mask-image: url('/images/icons/thumbs-down-mask.svg');
}

.icon-pause {
    --icon-mask-image: url('/images/icons/pause-mask.svg');
}

.icon-hamburgermenu {
    --icon-mask-image: url('/images/icons/hamburgermenu-mask.svg');
}

.icon-doorboeken {
    --icon-mask-image: url('/images/icons/doorboeken-mask.svg');
}

.icon-options {
    --icon-mask-image: url('/images/icons/options-mask.svg');
}
 */
 
.appointment-popup-text-header {
    margin-right: auto;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    line-height: 1.4;
}

.hidden-row {
    visibility: hidden;
    height: 0;
    padding: 0;
    margin: 0;
}


/* De container die DevExpress vult */
.cell {
    height: 100%;
    padding: 0.2em 0.5em;
    opacity: 0.9;
    overflow: hidden; /* voorkomt dat content buiten de afspraak valt */
    display: flex;
    flex-direction: column;
    container-type: size; 
}

.appointment-container {
    height: 100%;
    padding: 0.2em 0.5em;
    opacity: 0.9;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    container-type: size; /* belangrijk */
}

 @container (max-height: 78px) {
    .apt-description {
        display: none;
    }
}

/* @container appointment-container (max-height: 78px) {
    .apt-description {
        display: none;
    }
}


@container appointment-container (min-height: 80px) {
    .apt-description {
        white-space: normal;
        display: -webkit-box;
        -webkit-line-clamp: 5;
        -webkit-box-orient: vertical;
    }
}
 */

@container (max-height: 52px) {
    .apt-time {
        display: none;
    }
}

@container (max-height: 26px) {
    .apt-bestemming {
        display: none;
    }
}

/* Subject: altijd zichtbaar, 1 regel max */
.apt-subject {
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex-shrink: 0;
}

/* Bestemming: alleen tonen als er ruimte is (max 1 regel) */
.apt-bestemming {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    opacity: 0.85;
    font-size: 0.85em;
}

/* Description: minst belangrijk, klein en automatisch verborgen */
.apt-description {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    opacity: 0.65;
    font-size: 0.75em;
}

/* Tijd: altijd zichtbaar, onderaan */
.apt-time {
    overflow: hidden;
    margin-top: auto; /* duwt tijd naar onderen */
    white-space: nowrap;
    font-size: 0.75em;
    opacity: 0.8;
}

.toolbar-badge-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 100%;
}

.form-popup-container {
    padding-top: 1rem; 
    padding-bottom: 1rem;
    padding-left: 1rem;
    padding-right: 1rem;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1028; /* net onder het panel (1029) */
}