html, body {
    background-color: #ffffff; /* Matches your top-header background */
}
/*html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}
*/
a, .btn-link {
    color: #006bb7;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.content {
    padding-top: 1.1rem;
}

h1:focus {
    outline: none;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
    text-align: start;
}

.app-layout {
    display: flex;
    min-height: 100vh;
    background: #f5f6fa;
}

/*.sidebar {
    width: 250px;
    background: #1f2937;
    color: white;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
*/
.brand {
    padding: 20px;
    display: flex;
    gap: 12px;
    align-items: center;
    border-bottom: 1px solid #374151;
}

.brand-icon {
    font-size: 32px;
}

.brand-name {
    font-size: 20px;
    font-weight: 600;
}

.brand small {
    color: #9ca3af;
}

.menu {
    padding: 15px 10px;
    flex: 1;
}

    .menu a {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 12px 15px;
        margin-bottom: 5px;
        color: #d1d5db;
        text-decoration: none;
        border-radius: 7px;
    }

        .menu a:hover {
            background: #374151;
            color: white;
        }

        .menu a.active {
            background: #4b5563;
            color: white;
        }

.sidebar-bottom {
    padding: 15px;
    border-top: 1px solid #374151;
}

    .sidebar-bottom button {
        width: 100%;
        border: none;
        background: transparent;
        color: #d1d5db;
        text-align: left;
        padding: 12px;
        cursor: pointer;
        border-radius: 7px;
    }

        .sidebar-bottom button:hover {
            background: #374151;
            color: white;
        }

.main-area {
    flex: 1;
    min-width: 0;
}

.topbar {
    height: 65px;
    background: white;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 25px;
}

.user-info {
    color: #4b5563;
}

.content {
    padding: 25px;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

    .dashboard-header h1 {
        margin: 0;
    }

    .dashboard-header p {
        color: #6b7280;
        margin-top: 5px;
    }

.license {
    background: white;
    padding: 12px 18px;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-bottom: 35px;
}

.stat-card {
    background: white;
    border-radius: 10px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    border: 1px solid #e5e7eb;
}

.stat-icon {
    font-size: 32px;
}

.stat-title {
    color: #6b7280;
    font-size: 14px;
}

.stat-value {
    font-size: 25px;
    font-weight: 600;
    margin-top: 4px;
}

.module-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.module-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 22px;
    text-decoration: none;
    color: inherit;
    transition: 0.2s;
}

    .module-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 5px 18px rgba(0,0,0,0.08);
    }

.module-icon {
    font-size: 35px;
}

.module-card h3 {
    margin: 12px 0 5px;
}

.module-card p {
    color: #6b7280;
    margin: 0;
}

@media (max-width: 900px) {
    .sidebar {
        width: 210px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .module-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .sidebar {
        width: 70px;
    }

    .brand-name, .brand small, .menu a span:last-child, .sidebar-bottom span:last-child {
        display: none;
    }

    .brand {
        justify-content: center;
    }

    .menu a {
        justify-content: center;
    }

    .stats-grid, .module-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-header {
        display: block;
    }

    .license {
        margin-top: 15px;
    }
}


/* =========================================
   DEVU HOTEL MAIN LAYOUT
   ========================================= */
.devu-layout {
    display: flex;
    min-height: 100vh;
    background: #f5f6f8;
}


/* =========================================
   SIDEBAR
   ========================================= */

.devu-sidebar {
    width: 250px;
    min-height: 100vh;
    background: #1f2937;
    color: white;
    display: flex;
    flex-direction: column;
}


/* =========================================
   LOGO
   ========================================= */

.devu-logo {
    height: 75px;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid #374151;
}

.devu-logo-icon {
    font-size: 32px;
}

.devu-logo-title {
    font-size: 20px;
    font-weight: 600;
}

.devu-logo-subtitle {
    font-size: 11px;
    color: #9ca3af;
}


/* =========================================
   MENU
   ========================================= */

.devu-menu {
    flex: 1;
    padding: 15px 10px;
}


    .devu-menu a {
        display: flex;
        align-items: center;
        gap: 12px;
        width: 100%;
        padding: 12px 14px;
        margin-bottom: 4px;
        color: #d1d5db;
        text-decoration: none;
        border-radius: 6px;
        font-size: 15px;
    }

        .devu-menu a:hover {
            background: #374151;
            color: white;
        }

        .devu-menu a.active {
            background: #4b5563;
            color: white;
        }


/* =========================================
   ICON
   ========================================= */

.menu-icon {
    width: 25px;
    text-align: center;
    font-size: 18px;
}

/* =========================================
   LOGOUT
   ========================================= */

.devu-logout {
    padding: 12px 10px;
    border-top: 1px solid #374151;
}

    .devu-logout button {
        width: 100%;
        border: none;
        background: transparent;
        color: #d1d5db;
        text-align: left;
        padding: 12px 14px;
        border-radius: 6px;
        cursor: pointer;
        font-size: 15px;
    }

        .devu-logout button:hover {
            background: #374151;
            color: white;
        }

/* =========================================
   MAIN AREA
   ========================================= */

.devu-main {
    flex: 1;
    min-width: 0;
}

/* =========================================
   TOP BAR
   ========================================= */

.devu-topbar {
    height: 65px;
    background: white;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 25px;
}

.hotel-name {
    font-size: 17px;
    font-weight: 600;
}

.user-name {
    color: #4b5563;
}

/* =========================================
   CONTENT
   ========================================= */

.devu-content {
    padding: 25px;
}

/* =========================================
   MOBILE
   ========================================= */

@media (max-width: 700px) {

    .devu-sidebar {
        width: 70px;
    }

    .devu-logo-title,
    .devu-logo-subtitle,
    .devu-menu a span:not(.menu-icon),
    .devu-logout span:not(.menu-icon) {
        display: none;
    }

    .devu-logo {
        justify-content: center;
    }

    .devu-menu a {
        justify-content: center;
    }

    .devu-logout button {
        text-align: center;
    }

    .submenu {
        display: none;
    }
}

/* ==========================================
   DEVU HOTEL LAYOUT
   ========================================== */

.devu-layout {
    display: flex;
    width: 100%;
    min-height: 100vh;
}


/* ==========================================
   SIDEBAR
   ========================================== */

.devu-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 250px;
    min-width: 250px;
    height: 100vh;
    background: linear-gradient( 180deg, rgb(5, 39, 103) 0%, #3a0647 100% );
    color: white;
    display: flex;
    flex-direction: column;
    z-index: 1000;
    overflow: hidden;
}


/* ==========================================
   LOGO
   ========================================== */

.devu-logo {
    display: flex;
    align-items: center;
    width: 100%;
    height: 80px;
    min-height: 80px;
    padding: 12px 18px;
    box-sizing: border-box;
    border-bottom: 1px solid rgba(255,255,255,0.15);
}

.devu-logo-icon {
    width: 42px;
    min-width: 42px;
    margin-right: 10px;
    font-size: 30px;
    text-align: center;
}

.devu-logo-title {
    font-size: 20px;
    font-weight: 600;
    line-height: 24px;
}

.devu-logo-subtitle {
    font-size: 11px;
    line-height: 16px;
    opacity: 0.75;
}


/* ==========================================
   MENU
   ========================================== */

.devu-menu {
    display: block;
    width: 100%;
    flex: 1;
    padding: 15px 10px;
    box-sizing: border-box;
    overflow-y: auto;
    overflow-x: hidden;
}


    /* ==========================================
   NAVLINK
   ========================================== */

    .devu-menu a {
        display: flex !important;
        width: 100% !important;
        height: 44px !important;
        align-items: center !important;
        padding: 0 14px !important;
        margin: 3px 0 !important;
        box-sizing: border-box !important;
        color: white !important;
        text-decoration: none !important;
        border-radius: 6px;
        font-size: 15px;
        line-height: normal !important;
    }


        /* ==========================================
   MENU HOVER
   ========================================== */

        .devu-menu a:hover {
            background: rgba(255,255,255,0.12);
        }


        /* ==========================================
   ACTIVE MENU
   ========================================== */

        .devu-menu a.active {
            background: rgba(255,255,255,0.18);
            font-weight: 600;
        }


    /* ==========================================
   MENU ICON
   ========================================== */

    .devu-menu .menu-icon {
        display: inline-flex !important;
        width: 28px !important;
        min-width: 28px !important;
        height: 100%;
        margin-right: 10px !important;
        align-items: center;
        justify-content: center;
        font-size: 18px;
        flex-shrink: 0;
    }


/* ==========================================
   POS GROUP
   ========================================== */

.menu-group {
    width: 100%;
}


/* ==========================================
   POS SUBMENU
   ========================================== */

.submenu {
    display: block;
    width: 100%;
    box-sizing: border-box;
}

    .submenu a {
        display: block !important;
        width: 100% !important;
        height: 34px !important;
        padding: 0 30px !important;
        margin: 1px 0 !important;
        box-sizing: border-box !important;
        font-size: 14px !important;
        line-height: 34px !important;
        border-radius: 5px;
        color:black;
    }

        .submenu a:hover {
            background: rgba(255,255,255,0.10);
        }

        .submenu a.active {
            color: black !important;
            font-weight: 600;
        }


/* ==========================================
   LOGOUT
   ========================================== */

.devu-logout {
    width: 100%;
    padding: 10px;
    box-sizing: border-box;
    border-top: 1px solid rgba(255,255,255,0.15);
}

    .devu-logout button {
        display: flex !important;
        width: 100% !important;
        height: 44px !important;
        align-items: center !important;
        padding: 0 14px !important;
        box-sizing: border-box !important;
        border: none !important;
        border-radius: 6px;
        background: transparent !important;
        color: white !important;
        font-size: 15px;
        text-align: left;
        cursor: pointer;
    }

        .devu-logout button:hover {
            background: rgba(255,255,255,0.12) !important;
        }


/* ==========================================
   MAIN
   ========================================== */

.devu-main {
    display: block;
    width: calc(100% - 250px);
    min-height: 100vh;
    margin-left: 250px;
    box-sizing: border-box;
}


/* ==========================================
   TOP BAR
   ========================================== */

.devu-topbar {
    display: flex;
    width: 100%;
    height: 60px;
    align-items: center;
    justify-content: space-between;
    padding: 0 25px;
    box-sizing: border-box;
    background: white;
    border-bottom: 1px solid #ddd;
}

.hotel-name {
    font-size: 18px;
    font-weight: 600;
}

.user-name {
    font-size: 14px;
    color: #555;
}


/* ==========================================
   CONTENT
   ========================================== */

.devu-content {
    display: block;
    width: 100%;
    padding: 25px;
    box-sizing: border-box;
}


/* ==========================================
   MOBILE
   ========================================== */

@media (max-width: 768px) {

    .devu-sidebar {
        width: 220px;
        min-width: 220px;
    }

    .devu-main {
        width: calc(100% - 220px);
        margin-left: 220px;
    }
}

/* SIDEBAR */

.devu-sidebar {
    width: 250px !important;
    min-width: 250px !important;
    transition: width .25s ease !important;
}


    /* COLLAPSED */

    .devu-sidebar.collapsed {
        width: 70px !important;
        min-width: 70px !important;
    }


/* LOGO */

.devu-logo {
    position: relative;
    display: flex !important;
    align-items: center !important;
}

.devu-logo-text {
    overflow: hidden;
    white-space: nowrap;
    transition: opacity .15s ease !important;
}


/* TOGGLE */

/*.sidebar-toggle {
    position: absolute;
    right: 10px;
    top: 10px;
    width: 32px;
    height: 32px;
    border: none;
    background: transparent;
    color: white;
    font-size: 20px;
    cursor: pointer;
}
*/

/* COLLAPSED LOGO */

.devu-sidebar.collapsed .devu-logo-text {
    display: none !important;
}

.devu-sidebar.collapsed .devu-logo {
    justify-content: center !important;
    padding: 10px !important;
}

.devu-sidebar.collapsed .devu-logo-icon {
    margin-right: 0 !important;
}


/* MENU */

.devu-menu-item {
    display: flex !important;
    align-items: center !important;
    white-space: nowrap !important;
    overflow: hidden !important;
}


/* COLLAPSED MENU */

.devu-sidebar.collapsed .devu-menu-item {
    justify-content: center !important;
    padding: 0 !important;
}

.devu-sidebar.collapsed .menu-icon {
    margin-right: 0 !important;
}

.devu-sidebar.collapsed .menu-text {
    display: none !important;
}

.devu-sidebar.collapsed .pos-arrow {
    display: none !important;
    /* HIDE POS SUBMENU WHEN COLLAPSED */

    .devu-sidebar.collapsed .devu-submenu {
        display: none !important;
    }
    /* MAIN */

    .devu-main {
        margin-left: 250px !important;
        width: calc(100% - 250px) !important;
        transition: margin-left .25s ease, width .25s ease !important;
    }
    /* MAIN WHEN COLLAPSED */

    .devu-sidebar.collapsed ~ .devu-main {
        margin-left: 70px !important;
        width: calc(100% - 70px) !important;
    }
}

/*shifted from DailyReports.razor*/

.daily-reports {
    padding: 20px;
    color: #202938;
    box-shadow: 0 5px 5px -3px rgba(0, 0, 0, .2), 0 8px 10px 1px rgba(0, 0, 0, .14), 0 3px 14px 2px rgba(0, 0, 0, .12);
}

.report-heading {
    margin-bottom: 10px; /*20px*/
    box-shadow: 0 5px 5px -3px rgba(0, 0, 0, .2), 0 8px 10px 1px rgba(0, 0, 0, .14), 0 3px 14px 2px rgba(0, 0, 0, .12);
}

    .report-heading h2 {
        margin: 0 0 6px;
        font-size: 24px;
    }

    .report-heading p {
        margin: 0;
        color: #697386;
        font-size: 14px;
    }

.report-filter {
    display: grid;
    grid-template-columns: minmax(220px, 2fr) repeat(3, minmax(140px, 1fr));
    gap: 10px; /*16px;*/
    padding: 10px; /*    18px;*/
    background: white;
    border: 1px solid #e0e5ec;
    border-radius: 10px;
    box-shadow: 0 5px 5px -3px rgba(0, 0, 0, .2), 0 8px 10px 1px rgba(0, 0, 0, .14), 0 3px 14px 2px rgba(0, 0, 0, .12);
}

.filter-field label {
    display: block;
/*    margin-bottom: 7px;*/
    font-size: 13px;
    font-weight: 600;
    text-align: center;
}

.filter-field select,
.filter-field input {
    box-sizing: border-box;
    width: 100%;
    height: 25px;    /*40px;*/
    padding: 0 10px;
    border: 1px solid #ccd3dd;
    border-radius: 6px;
    background: white;
    color: #202938;
    font-size: 14px;
}
.filter-field input[type='radio']{
    height: 25px;
}
.filter-actions {
    display: flex;
    align-items: end;
    gap: 10px;
    justify-content: center;
    grid-column: 1 / -1;
}

    .filter-actions button {
        min-height: 40px;
        padding: 0 18px;
        border: 0;
        border-radius: 6px;
        /* color: white; */
        font-weight: 600;
        cursor: pointer;
    }

.view-button {
    /* background: #2458a6; */
}

.print-button {
    /* background: #218451; */
}

.excel-button {
    /* background: #218451; */
}

.button {
    border: none;
    padding: 8px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    margin: 4px;
    cursor: pointer;
    border-radius: 8px;
    opacity: 1;
    white-space: normal;
    border: 1px solid transparent;
    box-shadow: .5px .5px .5px .5px #2C3E50;
}

    .button:hover {
        background-color: transparent
    }

.filter-actions button:disabled {
    opacity: .55;
    cursor: not-allowed;
}

.report-results {
    margin-top: 22px;
    padding: 18px;
    background: white;
    border: 1px solid #e0e5ec;
    border-radius: 10px;
}

.results-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}

    .results-heading h3 {
        margin: 0 0 6px;
        font-size: 19px;
    }

.report-dates,
.record-count {
    color: #697386;
    font-size: 13px;
}

.report-table-wrapper {
    overflow-x: auto;
    max-width: 100%;
}

.report-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    white-space: nowrap;
    background-color: #f1f1f1;
}

    .report-table th,
    .report-table td {
        padding: 5px 10px;/*        10px 12px;*/
        border: 1px solid #e0e5ec;
        text-align: left;
    }

    .report-table th {
        background: #f1f4f8;
        font-weight: 700;
    }

    .report-table tbody tr:nth-child(even) {
        background: #f9fafc;
    }

.report-message {
    padding: 18px 0;
    color: #697386;
}

.report-error {
    margin-top: 15px;
    padding: 12px;
    color: #a52525;
    background: #fff1f1;
    border-radius: 6px;
}

@media (max-width: 768px) {
    .daily-reports {
        padding: 12px;
    }

    .report-filter {
        grid-template-columns: 1fr;
        padding: 14px;
    }

    .filter-actions {
        grid-column: auto;
        flex-wrap: wrap;
    }

        .filter-actions button {
            flex: 1;
        }

    .results-heading {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media print {
    body * {
        visibility: hidden;
    }

    .report-results,
    .report-results * {
        visibility: visible;
    }

    .report-results {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        padding: 0;
        margin: 0;
        border: 0;
    }

    .report-table-wrapper {
        overflow: visible;
    }

    .report-table {
        font-size: 10px;
        white-space: normal;
    }

        .report-table tr {
            break-inside: avoid;
        }
}

/*/////end/////*/


.filter-row {
    display: flex;
    align-items: end;
    gap: 12px;
    flex-wrap: nowrap;
}

    .filter-row .filter-field {
        display: flex;
        flex-direction: column;
        flex: 1;
        min-width: 0;
    }

        .filter-row .filter-field input {
            width: 100%;
            box-sizing: border-box;
        }

.radio-group {
    display: flex;
    align-items: center;
    gap: 5px;
    height: 18px;
    white-space: nowrap;
}

    .radio-group label {
        display: inline-flex;
        flex-direction: row;
        align-items: center;
        gap: 5px;
        margin: 0;
        line-height: 1;
    }

    .radio-group input[type="radio"] {
        margin: 0;
        vertical-align: middle;
    }

.grid-5,
.grid-5n {
    display: grid;
    grid-template-columns: auto auto auto auto auto;
    gap: 1%;
    border: 1px solid var(--grey-light);
    border-radius: 12px;
    padding: 10px;
    align-items: center;
}

.report-name {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}
    .report-name p {
        margin: 0 0 8px 0;
    }
    .print-date {
        font-size: 12px;
    }

    @media (max-width: 768px) {
        .report-name {
            flex-direction: column;
            align-items: flex-start;
        }
    }

.report-subheading {
    margin-bottom: 10px; /*20px*/
    box-shadow: 0 5px 5px -3px rgba(0, 0, 0, .2), 0 8px 10px 1px rgba(0, 0, 0, .14), 0 3px 14px 2px rgba(0, 0, 0, .12);
    background-color: lightslategray;
    color: white;
    margin-top: 5px;
    margin-bottom: 5px
}


.grid {
    display: grid;
    grid-template-rows: auto auto;
    grid-template-columns: auto auto;
    width: 25%;
    margin-bottom: 10px;
}

.guest-entry,
.grid-3,
.grid-3n {
    display: grid;
    grid-template-columns: auto auto auto;
    gap: 1%;
    border: 1px solid var(--grey-light);
    border-radius: 12px;
    padding: 10px;
    align-items: center;
}

.grid-4,
.grid-4n {
    display: grid;
    grid-template-columns: auto auto auto auto;
    gap: 1%;
    border: 1px solid var(--grey-light);
    border-radius: 12px;
    padding: 10px;
    align-items: center;
}

.grid-5,
.grid-5n {
    display: grid;
    grid-template-columns: auto auto auto auto auto;
    gap: 1%;
    border: 1px solid var(--grey-light);
    border-radius: 12px;
    padding: 10px;
    align-items: center;
}

.grid-6,
.grid-6n {
    display: grid;
    grid-template-columns: auto auto auto auto auto auto;
    gap: 1%;
    border: 1px solid var(--grey-light);
    border-radius: 12px;
    padding: 10px;
    align-items: center;
}

.grid-7,
.grid-7n {
    display: grid;
    grid-template-columns: auto auto auto auto auto auto auto;
    gap: 1%;
    border: 1px solid var(--grey-light);
    border-radius: 12px;
    padding: 10px;
    align-items: center;
}

.grid-8,
.grid-8n {
    display: grid;
    grid-template-columns: auto auto auto auto auto auto auto auto;
    gap: 1%;
    border: 1px solid var(--grey-light);
    border-radius: 12px;
    padding: 10px;
    align-items: center;
}

.grid-9,
.grid-9n {
    display: grid;
    grid-template-columns: auto auto auto auto auto auto auto auto auto;
    gap: 1%;
    border: 1px solid var(--grey-light);
    border-radius: 12px;
    padding: 10px;
    align-items: center;
}

.grid-10,
.grid-10n {
    display: grid;
    grid-template-columns: auto auto auto auto auto auto auto auto auto auto;
    gap: 1%;
    border: 1px solid var(--grey-light);
    border-radius: 12px;
    padding: 10px;
    align-items: center;
}

.grid-1p {
    display: grid;
    grid-template-columns: auto;
    gap: 8px;
    border: 1px solid var(--grey-light);
    border-radius: 12px;
    padding: 10px;
    align-items: center;
}

.grid-1,
.grid-1n {
    display: grid;
    grid-template-columns: auto;
    gap: 1%;
    border: 1px solid var(--grey-light);
    border-radius: 12px;
    padding: 10px;
    /*margin-bottom: 10px;*/
}

.grid-2,
.grid-2n {
    display: grid;
    grid-template-columns: auto auto;
    gap: 1%;
    border: 1px solid var(--grey-light);
    border-radius: 12px;
    padding: 10px;
    /*margin-bottom: 10px;*/
}
.grid-1n,
.grid-2n,
.grid-3n,
.grid-4n,
.grid-5n,
.grid-6n,
.grid-7n {
    /*padding: 5px 5px 5px 5px*/
    padding: 2px 2px 2px 2px
}

.block {
    display: block !important;
}

.guest-entry > div input,
.grid-2 > div input,
.grid-3 > div input {
    width: 70%;
}

.grid-2 > div select,
.grid-3 > div select {
    width: 70%
}

.grid-2n > div input,
.grid-2n > div select,
.grid-3n > div input,
.grid-3n > div select,
.grid-4n > div input,
.grid-4n > div select,
.grid-4n input[type=submit] {
    width: 98%;
    margin: 0
}

.grid-2n > div label,
.grid-3n > div label,
.grid-4n > div label,
.grid-5n > div label,
.grid-6n > div label,
.grid-7n > div label {
    margin-bottom: 2px;
}
@media (max-width: 600px) {
    .guest-entry,
    .grid-1,
    .grid-2,
    .grid-3,
    .grid-4,
    .grid-5,
    .grid-6,
    .grid-7,
    .grid-8,
    .grid-9,
    .grid-10,
    .grid-1n,
    .grid-2n,
    .grid-3n,
    .grid-4n,
    .grid-5n,
    .grid-6n,
    .grid-7n,
    .grid-8n,
    .grid-9n,
    .grid-10n,
    .grid-8p {
        grid-template-columns: auto;
        /*padding-bottom: 40px;*/
        padding-bottom: 10px;
        gap: 0;
    }

    .column.left, .column.middle, .column.right {
        display: block;
    }

    .extra-div {
        flex-direction: column;
        align-items: flex-start;
    }

        .extra-div div {
            width: 100%;
        }

            .extra-div div.flex {
                flex-direction: row;
                align-items: flex-start;
            }

    .grid {
        width: 75% !important;
    }
}
@media (max-width: 600px) {
    .col-left-guest > div:first-child,
    .col-left-guest > div:nth-child(2) {
        width: 100%
    }
}

.base-line {
    align-items: baseline
}

.shadow {
    box-shadow: 0 5px 5px -3px rgba(0, 0, 0, .2), 0 8px 10px 1px rgba(0, 0, 0, .14), 0 3px 14px 2px rgba(0, 0, 0, .12);
    border-radius: 0px;
    padding: 7px 7px 7px 7px;
}

.shadowgrid {
    box-shadow: 0 5px 5px -3px rgba(0, 0, 0, .2), 0 8px 10px 1px rgba(0, 0, 0, .14), 0 3px 14px 2px rgba(0, 0, 0, .12);
    border-radius: 0px;
    padding: 1px 7px 7px 7px;
}

.shadowsmall {
    box-shadow: 0 5px 5px -3px rgba(0, 0, 0, .2), 0 8px 10px 1px rgba(0, 0, 0, .14), 0 3px 14px 2px rgba(0, 0, 0, .12);
    border-radius: 0px;
    padding: 5px 5px 12px 12px;
}

.guest-document-section {
    border: 1px solid #d5d5d5;
    border-radius: 8px;
/*    padding: 15px;
    margin-top: 15px;
    margin-bottom: 15px;*/
}

    .guest-document-section h5 {
        font-size: 16px;
        font-weight: 600;
        margin-bottom: 15px;
    }

.guest-preview {
    display: block;
    max-width: 80px;
    max-height: 50px;
    object-fit: contain;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.guest-search-container {
    position: relative;
    overflow: visible !important;
}

.guest-search-popup {
    position: absolute;
    top: 100%;
    left: 0;
    width: 750px;
    max-width: 85vw;
    background: white;
    border: 1px solid #999;
    border-radius: 6px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.25);
    z-index: 999999;
}

.guest-search-table-wrapper {
    max-height: 280px;
    overflow: auto;
}

.guest-search-table {
    width: 100%;
    white-space: nowrap;
}

.separate-bill-options {
    display: flex;
    gap: 10px;
    margin-top: 5px;
}

.separate-option {
    flex: 1;
    padding: 9px 12px;
    border: 1px solid #ced4da;
    border-radius: 6px;
    background: white;
    color: #444;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: 0.2s;
}

    .separate-option span {
        margin-right: 5px;
        font-weight: bold;
    }

    .separate-option.selected {
        background: #e8f5e9;
        border-color: #28a745;
        color: #198754;
    }

    .separate-option:hover {
        border-color: #28a745;
    }