@import '_content/Microsoft.FluentUI.AspNetCore.Components/Microsoft.FluentUI.AspNetCore.Components.ewdlgswx1m.bundle.scp.css';

/* /Components/Agenda/DoctorDayAgenda.razor.rz.scp.css */
/* or whatever fits your page 
    table {
        border-collapse: collapse !important;
    }

    td {
        border: 1px solid blue !important;
    }
*/

.agenda-container[b-y8zjhgpeti] {
    position: relative;
    overflow: auto;
    max-height: 900px; /* or whatever fits your page */
}

/* Table basics */
.agenda-table[b-y8zjhgpeti] {
    border-collapse: collapse;
    width: 100%;
    table-layout: fixed;
    font-family: system-ui, sans-serif;
    font-size: 11px;
}

/* Header */
.agenda-header[b-y8zjhgpeti] {
    position: sticky;
    top: 0;
    z-index: 3;
    background: #f5f5f5;
    text-align: center;
    padding: 4px;
    border-bottom: 1px solid #ccc;
    min-width: 120px; /* doctor column width */
    max-width: 220px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Time column */
.agenda-time-header[b-y8zjhgpeti] {
    position: sticky;
    top: 0;
    left: 0;
    z-index: 4;
    width: 60px;
    background: #f5f5f5;
    border-right: 1px solid #ccc;
}

.agenda-time-cell[b-y8zjhgpeti] {
    position: sticky;
    left: 0px;
    z-index: 2;
    width: 60px;
    background: #ffffff;
    border-right: 1px solid #e0e0e0;
    text-align: center;
    vertical-align: top;
    padding-right: 4px;
    padding-top: 5px; /* Adjust this value for the desired space from the top */
    font-size: 10px;
    color: #666;
    /* make the text readable inside a tall rowspan cell */
    align-items: flex-start; /* or center, if you prefer */
}


/* Row height and grid lines */
/* must match RowHeightPx in C# */
.agenda-row[b-y8zjhgpeti] {
    height: 2px;
}

.agenda-row td[b-y8zjhgpeti] {
    padding: 0;
    border: 0;
}

.half-hour-row td:not(.agenda-time-cell)[b-y8zjhgpeti] {
    border-top: 1px solid #e5e5e5;
}

.hour-row td:not(.agenda-time-cell)[b-y8zjhgpeti] {
    border-top: 1px solid #cccccc;
}

/* Event vs empty cells */
.agenda-empty-cell[b-y8zjhgpeti] {
    border-right: 1px solid #f0f0f0;
    background: #ffffff;
}

.agenda-event-cell[b-y8zjhgpeti] {
    border-right: 1px solid #f0f0f0;
    background: transparent; /* inner div will provide color */
    position: relative; /* anchor for absolute children */
    padding: 0; /* remove default padding to avoid gaps */
}

.agenda-event-inner[b-y8zjhgpeti] {
    position: absolute; /* stretch inside the td */
    background: #e6f0ff;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 0px 4px;
    width: 100%;
    height: 100%;
    display: flex; /* optional, nice for vertical layout */
    flex-direction: column;
    justify-content: flex-start;
    border-radius: 8px; /* optional, styling */
    border: 1px solid #b3c6ff;
    overflow: hidden; /* optional */
    text-overflow: ellipsis;
}

    .agenda-event-inner:hover[b-y8zjhgpeti] {
        filter: hue-rotate(-30deg);
        cursor: pointer;
        border: 1px solid #00ff00;
    }

/* Title left, Time right */
.agenda-event-header[b-y8zjhgpeti] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

/* Optional: separate title & time styling */
.agenda-event-title[b-y8zjhgpeti] {
    font-weight: 600;
    font-size: 10px;
    white-space: nowrap;
}

.agenda-event-time[b-y8zjhgpeti] {
    font-size:9px;
    opacity: 0.75;
    white-space: nowrap;
    margin-left: 8px;
    color: #555;
}

/* Now-line overlay */
.agenda-now-overlay[b-y8zjhgpeti] {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    /* pointer-events: none; // you can enable this if you don't want it to intercept clicks */
    z-index: 5;
}

.agenda-now-line[b-y8zjhgpeti] {
    position: absolute;
    left: 0;
    right: 0;
    height: 2px;
    background: red;
    opacity: 0.9;
}
/* /Layout/LoginDisplay.razor.rz.scp.css */
a[b-zo83lfu1a9] {
    color: var(--fill-color);
}
/* /Layout/MainLayout.razor.rz.scp.css */
/* Nudge the flag upward a touch */
.lang-flag[b-0qd0xompnm] {
    vertical-align: middle;
    padding-right: 0.3rem;
    transform: translateY(-2px); 
}
/* /Pages/Connection.razor.rz.scp.css */


/* Define custom properties (variables) */
:root[b-cwkujdthtw] {
    --color-primary: #0078d4;
    --color-secondary: #2b88d8;
    --color-background: #f3f2f1;
    --font-size-small: 12px;
    --font-size-medium: 14px;
    --font-size-large: 16px;
    --spacing-small: 4px;
    --spacing-medium: 8px;
    --spacing-large: 16px;
}

*[b-cwkujdthtw],
*[b-cwkujdthtw]::before,
*[b-cwkujdthtw]::after {
    box-sizing: border-box;
}

body[b-cwkujdthtw] {
    font-family: Arial, sans-serif;
    background-color: #f4f4f9;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    /*  height: 100vh; */
}

.calendar[b-cwkujdthtw] {
    width: 95%;
    max-width: 1600px;
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    display: grid;
    grid-template-columns: 60px repeat(7, 1fr);
    grid-template-rows: 56px 50px repeat(600, minmax(1px, 3px));
    gap: 0px; /* Ensure no gaps in grid */
    border: 0px solid #e0e0e0;
}

.calendar-header[b-cwkujdthtw] {
    grid-column: 1 / -1;
    background-color: var(--color-primary);
    color: #fff;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 8px;
    position: sticky; /* Makes the header sticky */
    top: 0; /* Sticks to the top of the viewport */
    z-index: 3; /* Higher than day headers to ensure visibility */
}

    .calendar-header h1[b-cwkujdthtw] {
        margin: 0;
        font-size: 24px;
    }

    .calendar-header .week-nav[b-cwkujdthtw] {
        display: flex;
        gap: 10px;
    }

        .calendar-header .week-nav button[b-cwkujdthtw] {
            background: #005a9e;
            color: #fff;
            border: none;
            padding: 10px;
            border-radius: 4px;
            cursor: pointer;
        }

            .calendar-header .week-nav button:hover[b-cwkujdthtw] {
                background: #003e7e;
            }

.day-header[b-cwkujdthtw] {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
    background-color: #f4f4f9;
    color: #666;
    font-weight: bold;
    font-size: 18px;
    position: sticky; /* Makes header sticky */
    top: 56px; /* Sticks to the top of the viewport */
    z-index: 2; /* Keeps header above other content */
}

.event-container[b-cwkujdthtw] {
    padding: 2px 0px 0px 6px;
    display: flex;
    flex-direction: column;
    box-sizing: border-box; /* Ensure padding is included in the cell size */
    gap: 0px;
    background: #e6f7ff;
    border-left: 4px solid #0078d7;
    border-radius: 6px;
    overflow: hidden; /* Hide overflow content */
    padding: 5px;
    text-overflow: ellipsis; /* Show ellipsis for overflow text */
    align-items: center; /* Center content vertically */
}

.midday[b-cwkujdthtw] {
    border-top: 2px solid #b7d9f4;
}

.hour-header[b-cwkujdthtw] {
    font-weight: bold;
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
    background-color: #f4f4f9;
    color: #666;
    position: sticky; /* Makes header sticky */
    top: 56px; /* Sticks to the top of the viewport */
    z-index: 2; /* Keeps header above other content */
}

.hour-label[b-cwkujdthtw] {
    display: flex;
    align-items: start;
    justify-content: center;
    background-color: #f4f4f9;
    color: #666;
    padding: 7px;
}

.event[b-cwkujdthtw] {
    padding: 6px 0px 0px 6px;
}

.event-title[b-cwkujdthtw] {
    margin: 0;
    font-size: medium;
    color: #555555;
    font-weight: 600;
}

.event-title-small[b-cwkujdthtw] {
    margin: 0;
    font-size: small;
    color: #555555;
    font-weight: 600;
    overflow-wrap: break-word; /* Break long words */
    white-space: normal; /* Allow text to wrap */
    max-height: 100%; /* Ensure cell does not exceed the defined row height */

    display: flex;
    align-items: center; /* Center content vertically */

    padding: 5px;
    border: 1px solid black;
    overflow-wrap: break-word; /* Break long words */
    white-space: normal; /* Allow text to wrap */
    max-height: 100%; /* Ensure cell does not exceed the defined row height */
    display: -webkit-box; /* For multiline ellipsis support */
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3; /* Limit to 3 lines before truncating */
}

.event-time[b-cwkujdthtw] {
    margin: 0;
    font-size: smaller;
    color: #666;
}

/* /Pages/EidDrop.razor.rz.scp.css */
.eid-dropzone[b-rvgev3i5pg] {
    display: block;
    width: 100%;
    max-width: 458px; /* or a fixed width/height */
    min-width: 220px;
    max-height: 47px;
    min-height: 47px;
    background-image: url("/img/twikx-belgium-eid-dropzone-nl-normal.svg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain; /* or 'cover' depending on your design */
    flex: 0 0 auto; /* do NOT shrink */
}

    .eid-dropzone.eid-drop-hover[b-rvgev3i5pg] {
        background-image: url("/img/twikx-belgium-eid-dropzone-nl-active.svg");
    }

.eid-xml-viewer[b-rvgev3i5pg] {
    max-height: 400px;
    overflow: auto;
    background: #1e1e1e;
    color: #dcdcdc;
    padding: 10px;
    border-radius: 6px;
    font-family: Consolas, "Courier New", monospace;
    font-size: 0.8rem;
}

.eid-error[b-rvgev3i5pg] {
    color: #b00020;
    padding: 10px;
    background-color: #ffe6e6;
    border-radius: 6px;
    margin-top: 10px;
}

/* NL */
.eid-dropzone.nl[b-rvgev3i5pg] {
    background-image: url("/img/twikx-belgium-eid-dropzone-nl-normal.svg");
}

    .eid-dropzone.nl.eid-drop-hover[b-rvgev3i5pg] {
        background-image: url("/img/twikx-belgium-eid-dropzone-nl-active.svg");
    }

/* FR */
.eid-dropzone.fr[b-rvgev3i5pg] {
    background-image: url("/img/twikx-belgium-eid-dropzone-fr-normal.svg");
}

    .eid-dropzone.fr.eid-drop-hover[b-rvgev3i5pg] {
        background-image: url("/img/twikx-belgium-eid-dropzone-fr-active.svg");
    }

/* DE */
.eid-dropzone.de[b-rvgev3i5pg] {
    background-image: url("/img/twikx-belgium-eid-dropzone-de-normal.svg");
}

    .eid-dropzone.de.eid-drop-hover[b-rvgev3i5pg] {
        background-image: url("/img/twikx-belgium-eid-dropzone-de-active.svg");
    }

/* EN */
.eid-dropzone.en[b-rvgev3i5pg] {
    background-image: url("/img/twikx-belgium-eid-dropzone-en-normal.svg");
}

    .eid-dropzone.en.eid-drop-hover[b-rvgev3i5pg] {
        background-image: url("/img/twikx-belgium-eid-dropzone-en-active.svg");
    }
