.fullscreen-bubble {
    position: absolute;
    right: 12px;
    bottom: 12px;
    width: 32px;
    height: 32px;
    background: #0056b3;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 22px;
    box-shadow: 0 2px 8px rgba(0, 86, 179, 0.15);
    z-index: 10;
    transition: box-shadow 0.2s, background 0.2s;
    padding: 0;
    border: none;
    outline: none;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar,
*::-webkit-scrollbar {
    width: 0;
    height: 0;
}

.fullscreen-bubble .material-symbols-outlined {
    font-size: 22px;
    line-height: 1;
    vertical-align: middle;
    user-select: none;
}

.fullscreen-bubble:hover {
    background: #003d80;
    box-shadow: 0 4px 16px rgba(0, 86, 179, 0.25);
}

.close-bubble {
    background: #e53935;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 26px;
    box-shadow: 0 2px 8px rgba(229, 57, 53, 0.15);
    transition: box-shadow 0.2s, background 0.2s;
    margin-left: 8px;
}

.close-bubble .material-symbols-outlined {
    font-size: 26px;
    line-height: 1;
    vertical-align: middle;
    user-select: none;
}

.close-bubble:hover {
    background: #b71c1c;
}

.fullscreen-bubble {
    position: absolute;
    bottom: 10px;
    left: 10px;
    cursor: pointer;
}

.quill-wrapper {
    position: relative;
    width: 300px;
}

.not-300px {
    width: auto;
}

.ql-container.ql-snow {
    border-bottom-right-radius: 0.375rem;
    border-bottom-left-radius: 0.375rem;
}

.ql-toolbar.ql-snow {
    border: 1px solid #ccc;
    border-top-left-radius: 0.375rem;
    border-top-right-radius: 0.375rem;
}

.ql-editor.ql-blank::before {
    color: #c0c1c4;
}

#quill-modal {
    background: white;
}



#send {
    float: right;
    margin-top: -30px;
    margin-right: 10px;
}

#save {
    float: right;
    margin-top: -30px;
    margin-right: 10px;
    margin-bottom: 100px;
}

.landingPageButton {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
    position: relative;
}


.landingPageButton .material-symbols-outlined {
    font-size: 60px;
    display: inline-block;
    position: absolute;
    right: 40px;
    top: 50%;
    transform: translateY(-50%);
}

footer {
    padding-bottom: 40px;
}

#navbarBasicExample {
    min-height: 56px;
}

@media screen and (max-width: 1023px) {
    .navbar {
        position: relative;
        z-index: 40;
    }

    .navbar-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        width: 100%;
        padding: 0.75rem 1rem 1.25rem;
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
        max-height: calc(100vh - 56px);
        overflow-y: auto;
    }

    .navbar-menu.is-active {
        display: block;
    }
}

/* fallback */
@font-face {
    font-family: 'Material Symbols Outlined';
    font-style: normal;
    font-weight: 100 700;
    src: url("google_icons.woff2") format('woff2');
}

.material-symbols-outlined {
    font-family: 'Material Symbols Outlined';
    font-weight: normal;
    font-style: normal;
    font-size: 24px;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    font-feature-settings: 'liga';
    -webkit-font-feature-settings: 'liga';
    -webkit-font-smoothing: antialiased;
}

.company-multi-select {
    position: relative;
    display: flex;
    flex-direction: column;
    border: 1px solid #dbdbdb;
    border-radius: 4px;
    padding: 4px;
    background-color: #fff;
    min-height: 2.5em;
}

.company-multi-select:focus-within {
    border-color: #3273dc;
    box-shadow: 0 0 0 0.125em rgba(50, 115, 220, 0.25);
}

.company-multi-select__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    align-items: center;
}

.company-multi-select__input {
    border: none;
    flex: 1;
    min-width: 120px;
    padding: 4px;
    outline: none;
    font-size: 1rem;
}

.company-multi-select__input::placeholder {
    color: #7a7a7a;
}

.company-multi-select__tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background-color: #3273dc;
    color: #fff;
    border-radius: 999px;
    padding: 4px 10px;
    font-size: 0.9rem;
}

.company-multi-select__remove {
    background: transparent;
    border: none;
    color: inherit;
    cursor: pointer;
    font-size: 0.85rem;
    line-height: 1;
    padding: 0;
}

.company-multi-select__remove:hover {
    color: rgba(255, 255, 255, 0.75);
}

.company-multi-select__dropdown {
    position: absolute;
    top: 100%;
    left: -1px;
    right: -1px;
    background-color: #fff;
    border: 1px solid #dbdbdb;
    border-top: none;
    border-radius: 0 0 4px 4px;
    box-shadow: 0 2px 6px rgba(10, 10, 10, 0.1);
    max-height: 200px;
    overflow-y: auto;
    z-index: 20;
    display: none;
}

.company-multi-select__dropdown.is-active {
    display: block;
}

.company-multi-select__option {
    width: 100%;
    text-align: left;
    padding: 8px 12px;
    background: transparent;
    border: none;
    font-size: 0.95rem;
    cursor: pointer;
}

.company-multi-select__option:hover,
.company-multi-select__option.is-active {
    background-color: #f5f5f5;
}

.platform-multi-select {
    position: relative;
    width: 100%;
}

.platform-multi-select__control {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-height: 2.5em;
    width: 100%;
    border: 1px solid #dbdbdb;
    border-radius: 4px;
    padding: 0.4rem 0.65rem;
    background-color: #fff;
    cursor: pointer;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.platform-multi-select__control:focus {
    outline: none;
    border-color: #3273dc;
    box-shadow: 0 0 0 0.125em rgba(50, 115, 220, 0.25);
}

.platform-multi-select.is-open .platform-multi-select__control {
    border-color: #3273dc;
    box-shadow: 0 0 0 0.125em rgba(50, 115, 220, 0.25);
}

.platform-multi-select__label {
    flex: 1;
    color: #7a7a7a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.platform-multi-select.has-selection .platform-multi-select__label {
    color: #363636;
    display: none;
}

.platform-multi-select__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    flex: 1;
}

.platform-multi-select__badges span {
    background-color: #f0f0f0;
    border-radius: 999px;
    padding: 0.1rem 0.6rem;
    font-size: 0.85rem;
    color: #363636;
    white-space: nowrap;
}

.platform-multi-select__arrow {
    color: #7a7a7a;
    font-size: 0.85rem;
    line-height: 1;
}

.platform-multi-select.is-open .platform-multi-select__arrow {
    transform: rotate(180deg);
}

.platform-multi-select__dropdown {
    position: absolute;
    top: calc(100% + 2px);
    left: 0;
    right: 0;
    background-color: #fff;
    border: 1px solid #dbdbdb;
    border-radius: 0 0 4px 4px;
    box-shadow: 0 2px 6px rgba(10, 10, 10, 0.1);
    max-height: 220px;
    overflow-y: auto;
    display: none;
    z-index: 30;
}

.platform-multi-select.is-open .platform-multi-select__dropdown {
    display: block;
}

.platform-multi-select__option {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.6rem 0.9rem;
    cursor: pointer;
    user-select: none;
}

.platform-multi-select__option:hover {
    background-color: #f5f5f5;
}

.inline-delete-form {
    display: inline;
}

.users-management td,
.users-management th {
    width: 25%;
}

.company-management td,
.company-management th {
    width: calc(100% / 6);
}

.print-only {
    display: none !important;
}

.header-row th {
    text-align: center !important;
    font-size: 1.5rem;
}

@media (prefers-color-scheme: dark) {

    .company-multi-select {
        background: #14161a;
        border-color: #373d49;
        width: 100%;
    }

    .company-multi-select:focus-within {
        border-color: #6c8fff;
        box-shadow: 0 0 0 0.125em rgba(108, 143, 255, 0.25);
    }

    .company-multi-select__input {
        background: #14161a;
        color: #f5f5f5;
    }

    .company-multi-select__input::placeholder {
        color: #b5b5b5;
    }

    .company-multi-select__dropdown {
        background-color: #14161a;
        border-color: #3a3a3a;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
    }

    .company-multi-select__option {
        color: #f5f5f5;
    }

    .company-multi-select__option:hover,
    .company-multi-select__option.is-active {
        background-color: #363636;
    }

    .platform-multi-select__control {
        background-color: #14161a;
        border-color: #3a3a3a;
        color: #f5f5f5;
    }

    .platform-multi-select__control:focus {
        border-color: #6c8fff;
        box-shadow: 0 0 0 0.125em rgba(108, 143, 255, 0.25);
    }

    .platform-multi-select__label {
        color: #b5b5b5;
    }

    .platform-multi-select.has-selection .platform-multi-select__label {
        color: #f5f5f5;
        display: none;
    }

    .platform-multi-select__badges span {
        background-color: #2f2f2f;
        color: #f5f5f5;
    }

    .platform-multi-select__arrow {
        color: #b5b5b5;
    }

    .platform-multi-select__dropdown {
        background-color: #14161a;
        border-color: #3a3a3a;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
    }

    .platform-multi-select__option:hover {
        background-color: #3a3a3a;
    }


    .ql-editor.ql-blank::before {
        color: #54565a;
    }

    .ql-snow .ql-stroke {
        stroke: #fff;
    }

    .ql-snow .ql-fill, .ql-snow .ql-stroke.ql-fill {
        fill: #fff;
    }

    .ql-snow .ql-picker {
        color: #fff;
    }

    .ql-snow .ql-picker-options {
        background: #1a1a1a;
    }

    #quill-modal .ql-editor .ql-blank {
        color: rgba(0, 0, 0, 0.6);
    }

    #quill-modal .ql-snow .ql-fill, #quill-modal .ql-snow .ql-stroke.ql-fill {
        fill: #444;
    }

    #quill-modal .ql-snow .ql-picker {
        color: #444;
    }

    .number {
        border-color: white;
    }

    .percent {
        border-color: white;
    }

    #quill-modal, .ql-picker-label, .ql-picker-item, .ql-picker-options, .ql-stroke {
        stroke: #fff;
        fill: #fff;
        color: #fff;
    }

    #quill-modal {
        background: #14161a;
    }
}

/* General printing hygiene */
@page {
    size: A4 portrait;
    margin-top: 5mm;
    margin-bottom: 0;
}

@media print {

    /* General print hygiene */
    * {
        box-shadow: none !important;
        text-shadow: none !important;
        overflow: visible !important;
        /* prevents clipped content */
    }

    html, body {
        print-color-adjust: exact;
        /* browsers may still ignore bg colors */
        -webkit-print-color-adjust: exact;
        background: #fff !important;
    }

    body {
        font-size: 11pt;
        /* readable default for A4 */
        line-height: 1.35;
        color: black !important;
        background-color: white;
    }

    .table.is-striped  {
        background-color: #fff !important;
    }

    /* Utility helpers */
    .no-print {
        display: none !important;
    }

    .print-only {
        display: block !important;
    }

    /* Page breaking helpers you can add to your markup */
    .page-break {
        break-before: page;
    }

    .avoid-break {
        break-inside: avoid;
    }

    .break-after {
        break-after: page;
    }

    .print-stack td {
        /* behave like divs instead of table-cells */
        display: block;
        /* each one becomes a full-width "row" */
        width: 100%;
    }

    .inner-table {
        width: 100% !important;
    }

    .inner-table td {
        display: table-cell;
        width: auto;
    }

    .fill-cell {
        height: auto;
    }

    th {
        font-size: 16pt !important;
    }

    .inner-table th {
        font-size: 11pt !important;
    }

    .quill-wrapper {
        width: 230px !important;
    }

    .not-300px {
        width: auto !important;
    }

    .second-table {
        width: 1000px !important;
    }

    .inner-table input,
    .inner-table input[readonly],
    .inner-table input[disabled] {
        /* make input look like plain text */
        border: none !important;
        background-color: transparent !important;
        box-shadow: none !important;
        outline: none !important;
        border-radius: 0 !important;
        padding: 0;
        margin: 0;
        -webkit-appearance: none;
        appearance: none;

        /* match table text */
        font: inherit;
        color: #000 !important;
        -webkit-text-fill-color: #000;

        /* no extra width if table handles layout */
        /* width: auto; */
    }

    #specific_partner {
        width: 970px !important;
        min-height: 0px !important;
        margin-bottom: 50px;
    }

    /* Hide interactive / decorative UI elements for print */
    .fullscreen-bubble,
    .close-bubble,
    .platform-multi-select__dropdown,
    .company-multi-select__dropdown,
    .platform-multi-select__arrow,
    .platform-multi-select__control,
    .company-multi-select__remove,
    .company-multi-select__input,
    .landingPageButton .material-symbols-outlined,
    #navbarBasicExample,
    #send,
    #save,
    nav, footer .buttons, .button, .buttons,
    [role="button"],
    .inline-delete-form {
        display: none !important;
    }

    /* Quill: print only the editor content, not the toolbar/chrome */
    .ql-toolbar {
        display: none !important;
    }

    .ql-container, .ql-editor {
        border: 0 !important;
        background: transparent !important;
        min-width: 0 !important;
    }

    .ql-editor {
        font-size: 11pt !important;
        color: #000 !important;
        min-height: 0 !important;
        padding: 0 !important;
        width: inherit !important;
    }

    .ql-editor.ql-blank::before {
        display: none !important;
    }

    /* no placeholder in print */

    /* Colors to grayscale-friendly where helpful */
    .fullscreen-bubble,
    .close-bubble,
    .company-multi-select__tag {
        background: #000 !important;
        color: #fff !important;
    }
}