﻿/* Typography & Fonts */
@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');
@import url('https://fonts.googleapis.com/css2?family=Red+Hat+Display:ital,wght@0,300..900;1,300..900&display=swap');

*,
*::before,
*::after {
    font-family: 'Red Hat Display', sans-serif !important;
    font-weight: 600;
}

/* Grid / Layout Heights */
.dxbl-grid {
    height: 75vh;
}

/* Grid Padding No Group */
.pad-grid {
    padding: 10px;
}

/* Desktop: 3 equal columns */
.perm-row {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.perm-col {
    flex: 1 1 0;
    border: 1px solid #dcdcdc;
    border-radius: 6px;
    padding: 16px;
    min-width: 0; /* critical so they can shrink evenly */
}

/* Tablet + down: stack */
@media (max-width: 992px) {
    .perm-row {
        flex-direction: column;
        gap: 16px;
    }

    .perm-col {
        width: 100%;
    }
}

.separator {
    margin: 0 6px;
    opacity: .6;
}

/* Primary Button */
.primary-btn {
    background-color: #0E2243 !important;
}

    .primary-btn:hover {
        background-color: #56647B !important;
    }

/* Page Structure */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    font-size: 16px;
}

p {
    line-height: 1.5;
}

.responsive-amount {
    font-size: clamp(1.25rem, 3.5vw, 2.75rem);
    line-height: 1.1;
}

h5 {
    color: #0E2243;
    font-weight: 800;
}

label {
    font-size: 1rem !important;
    font-weight: 600 !important
}

/* Images */
.img-fluid {
    max-width: 100%;
    height: auto;
}

/* Layout Containers */
.app-layout {
    width: 100%;
    height: 100%;
    display: grid;
}

.header-form-layout {
    width: 100%;
}

/* Background Utility Colors */
.bg-primary {
    background-color: #0E2243 !important;
}

.bg-primary-subtle {
    background-color: #56647B !important;
}

.text-primary {
    color: #0E2243 !important;
}

/* Validation States */
.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

/* Buttons & Links */
.button-link {
    text-decoration: unset;
}

/* Blazor Error UI */
#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;
    }

/* Titles & Headings */
.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 */
.main-content {
    display: flex;
    height: 100%;
    width: 100%;
}

.container {
    width: 100%;
}

/* Block Content */
.block-content {
    width: 31.25rem;
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
    max-width: 100%;
}

/* Icon Masks */
.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);
}

/* Drawer Header */
.navigation-drawer-header {
    color: #FEC203 !important;
}

/* Menu Hover Backgrounds */
.dxbl-menu-item:hover .dxbl-menu-dropdown-item,
.dxbl-menu-dropdown-item:hover {
    background-color: #25416C !important;
}

.dxbl-menu .dxbl-btn:hover {
    background-color: #25416C !important;
}

/* Expanded Parent Menu Item */
.dxbl-menu .dxbl-btn[aria-expanded="true"] {
    background-color: #25416C !important;
    color: #fff !important;
}

/* Drawer / Sidebar Colors */
.navigation-drawer > .dxbl-drawer-panel {
    background-image: none !important;
    background-color: #09182F !important;
    padding-top: 15px;
}

.dxbl-menu-item {
    background-color: #09182F !important;
}

.dxbl-menu-item-text {
    font-size: 1rem !important;
    color: #fff !important;
}

.dxbl-menu-bar {
    background-color: #09182F !important;
    border: none !important;
    color: #fff !important;
}

.dxbl-drawer-panel .dxbl-btn:hover {
    background-color: #25416C !important;
}

.menu-button-nav.dxbl-btn {
    color: #8E9CB6 !important;
    padding: 0px;
    margin: 0px;
}

    .menu-button-nav.dxbl-btn svg {
        fill: currentColor !important;
    }


/* Header Toolbar */
.header-toolbar {
    background-color: #1f1f1f;
    color: #fff;
    border-bottom: 1px solid #333;
    padding: 0.5rem 1rem;
    width: 100%;
    box-sizing: border-box;
}

.toolbar-logo {
    height: 36px;
    width: auto;
    flex-shrink: 0;
}

.dxbl-toolbar {
    flex-wrap: wrap;
}

.dxbl-toolbar-item {
    /* color: #ccc; */
    font-size: 0.9rem;
}

    .dxbl-toolbar-item .dxbl-button {
        font-size: 0.9rem;
    }

        .dxbl-toolbar-item .dxbl-button.dxbl-button-primary {
            background-color: #0078d7;
            border-color: #0078d7;
            color: #fff;
        }

/* Header Bar */
.header-bar {
    background-color: #1f1f1f;
    border-bottom: 1px solid #333;
}

.header-logo {
    height: 36px;
    width: auto;
    display: block;
    object-fit: contain;
}

.header-logo-container {
    padding: 8px 16px;
}

.header-combobox {
    min-width: 130px;
    margin: 4px auto;
}
/* Responsive Combobox */
.header-combobox {
    width: 100%;
    min-width: 125px;
    max-width: 200px;
    font-size: 1rem;
}

@media (max-width: 991.98px) {
    .header-combobox {
        max-width: 150px;
    }
}

@media (max-width: 575.98px) {
    .header-combobox {
        max-width: 100%;
    }
}

@media (min-width: 992px) {
    .header-logo {
        margin-left: 2px;
    }
}
/* Company / Account Labels */
.company-name {
    color: #fff;
    font-size: 1rem;
}

.account-label {
    color: #fff;
    font-size: 1rem;
    margin: 8px;
}

.text-moremuted {
    color: #7f8286;
}

.menu-button-nav {
    color: #000
}
/* Drawer Layout */
.dxbl-drawer-header {
    padding: 8px !important;
}

.dxbl-drawer-body {
    padding: 0px !important;
}

.nav-buttons-container {
    padding: .62rem .62rem !important;
}

.dxbl-drawer-panel > .dxbl-drawer-footer {
    width: 185px !important;
}
/* Group Header */
.dxbl-group-header {
    font-size: 18px !important;
}
/* Grid Header */
.dxbl-grid-header-row {
    background-color: #0F2136;
}

.dxbl-grid-header-sortable:hover {
    background-color: #a27b1f !important;
}

.dxbl-grid-header-content {
    color: #fff !important;
}

.dxbl-grid-filter-menu-funnel-btn {
    color: #fff !important;
}
/* No Hover Background Utility */
.no-hover-bg:hover,
.no-hover-bg:focus,
.no-hover-bg:active {
    background-color: transparent !important;
    box-shadow: none !important;
}
/* Chart Legend */
.dxbl-chart-legend-text {
    text-align: left !important;
    font-size: .8rem !important;
    padding: 0px !important;
    margin: 0px !important;
}

@media (max-width: 768px) {

    .dxbl-chart-tooltip {
        transform: none !important;
        position: fixed !important;
        pointer-events: none;
    }
}
/* Bootstrap Radius Overrides */
:root {
    --bs-border-radius: 0 !important;
    --bs-border-radius-sm: 0 !important;
    --bs-border-radius-lg: 0 !important;
    --bs-border-radius-xl: 0 !important;
    --bs-border-radius-xxl: 0 !important;
    --bs-border-radius-pill: 0 !important;
}

button.dxbl-btn {
    border-radius: 0 !important;
}
/* Status Colors */
.status-cancelled {
    background-color: var(--dx-danger-light);
}

.status-completed {
    background-color: var(--dx-success-light);
}
/* Draggable Elements */
.draggable {
    position: relative;
    cursor: grab;
    transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease;
}

    .draggable:active {
        cursor: grabbing;
    }
    /* Dragging Look */
    .draggable.dragging {
        opacity: 0.60;
        transform: scale(1.02);
        z-index: 10;
        box-shadow: 0 12px 28px rgba(0,0,0,0.20);
        animation: pickUp 0.12s ease-out;
    }

@keyframes pickUp {
    0% {
        transform: scale(1);
    }

    40% {
        transform: scale(1.04);
    }

    100% {
        transform: scale(1.02);
    }
}
/* Drop Highlight */
.drag-over {
    outline: 1px dashed #0d6efd;
    outline-offset: -8px;
    background: rgba(13, 110, 253, 0.06);
    border-radius: 6px;
    animation: dropPulse 0.35s ease;
}

@keyframes dropPulse {
    0% {
        transform: scale(0.98);
    }

    50% {
        transform: scale(1.01);
    }

    100% {
        transform: scale(1.00);
    }
}

.draggable.full-width {
    width: 100% !important;
    flex: 0 0 100% !important;
}

.no-review-overlay {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none; /* remove if you want to block interaction */
}

.overlay-text {
    font-size: clamp(40px, 8vw, 140px);
    font-weight: 900;
    letter-spacing: 0.15em;
    white-space: nowrap;
    color: rgba(0, 0, 0, 0.1);
    transform: rotate(-30deg);
    transform-origin: center center;
    text-align: center;
}

.loader-fullscreen {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80vh;
}

.loader-overlay {
    position: fixed;
    inset: 0;
    background: rgba(13, 34, 66, 0.55); /* prism-blue dim */
    backdrop-filter: blur(1px); /* optional subtle blur */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}
/* Make grid header command buttons white */
.dxbl-grid-header-content .dxbl-grid-command-button {
    color: #ffffff !important;
}

    .dxbl-grid-header-content .dxbl-grid-command-button .dxbl-image {
        fill: #ffffff !important;
    }

.menu-button {
    min-width: 44px;
    min-height: 44px;
}

#headerbar {
    position: relative;
}

.logout-btn.dxbl-btn-primary {
    --dxbl-btn-bg: transparent;
    --dxbl-btn-border-color: transparent;
}

    .logout-btn.dxbl-btn-primary:hover {
        background-color: #324253 !important;
    }

    .logout-btn.dxbl-btn-primary:active {
        background-color: #243241 !important;
    }

@media (max-width: 575px) {

    #headerbar .menu-button {
        position: absolute;
        left: 10px;
        top: 8px;
        z-index: 3000;
    }

    .logo-container {
        padding-bottom: 10px;
    }

    #headerbar .logout-btn {
        position: absolute;
        right: 10px;
        top: 8px;
        z-index: 3000;
    }
}

.clickable {
    cursor: pointer;
}

.form-label {
    text-transform: uppercase;
    color: #555;
    font-size: small !important;
    font-weight: 500;
}

.dxbl-grid-header.dxbl-grid-action.dxbl-grid-header-sortable {
    background-color: #25416C !important;
}

.dxbl-btn.dxbl-grid-filter-menu-funnel-btn:not(.dxbl-disabled):not(:disabled):hover {
    --dxbl-btn-hover-background: #755815;
    --dxbl-btn-hover-bg: #755815;
    background-color: #755815 !important;
    border-color: #755815 !important;
    color: #fff !important;
}

body *[class*="drag"],
body *[class*="Drag"] {
    background: #0F6CBD !important;
    color: #fff !important;
    border-color: #25416C !important;
}

@media (max-width: 768px) {
    /* Hide both header + cells for those columns */
    .dxbl-grid th.hide-on-mobile,
    .dxbl-grid td.hide-on-mobile {
        display: none !important;
    }
}
