@import url("https://use.typekit.net/ery3vmy.css");

:root {
    /* Colors */
    --primary-blue: #3399FF;
    --primary-blue-dark: #1C74CC;
    --primary-blue-light: #4FB8FF;
    --secondary-green: #13BF78;
    --titles: #263238;
    --text: #455A64;
    --light-text: #90A4AE;
    --grey: #E1E7EA;
    --off-white: #F8FAFB;
    /*--light-blue: #E5F4FD;*/
    --light-blue: #EEF6FC;
    --borders: #BEC9D1;
    --table-header: #edf3f7;
    --danger: #DD3C49;
    --danger-dark: #b12631;
    /*--warning: #FFC107;*/
    --warning-dark: #D58D10;
    --warning: #fba70e;
    --success: #3CDD7F;
    --success-dark: #26AC5E;
    --success-light: hsl(from var(--success) h s calc(l + 32));
    /* Fonts */
    --headers-text: 'co-headline', sans-serif;
    --body-text: 'quicksand', sans-serif;
    --fontawesome: 'Font Awesome 6 Pro';
    /* Borders */
    --table-border: 1px solid var(--borders);
}

*, *:before, *:after {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

html, body, div, span, applet, object, iframe, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}

    html body {
        font-size: 15px;
    }

body {
    /*background: var(--light-blue);*/
    background: linear-gradient(rgba(51, 153, 255, .15), #fff 400px);
    color: var(--text);
    font-family: var(--body-text) !important;
    font-size: 12px;
    line-height: 1.5;
    min-height: 100vh;
    height: 100%;
    box-sizing: border-box;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
    display: block;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--headers-text);
    font-weight: 600;
    letter-spacing: 0.5px;
    line-height: 1.1em;
    /*text-transform: uppercase;*/
    color: var(--titles);
}

h1 {
    font-size: 42px;
    margin-top: 0;
}

h2 {
    font-size: 38px;
    margin-top: 0;
}

h3 {
    font-size: 32px;
}

h4 {
    font-size: 26px;
}

h5 {
    font-size: 22px;
}

h6 {
    font-size: 18px;
}

img {
    max-width: 100%;
    border-style: none;
}

a {
    text-decoration: none;
    color: var(--primary-blue);
    -webkit-transition: color .3s;
    -o-transition: color .3s;
    transition: color .3s;
}

    a:hover {
        color: var(--primary-blue-dark);
        text-decoration: none;
    }

::selection {
    background: var(--primary-blue-light);
}

::-moz-selection {
    background: var(--primary-blue-light);
}

ol, ul {
    list-style: none;
}

blockquote, q {
    quotes: none;
}

    blockquote:before, blockquote:after, q:before, q:after {
        content: '';
        content: none;
    }

table {
    border-collapse: collapse;
    border-spacing: 0;
}

.hidden {
    display: none;
}

.hr {
    display: block;
    background-color: var(--borders);
    width: 100%;
    height: 1px;
    margin: 40px 0;
    opacity: .5;
}

.bold {
    font-weight: bold;
}

.txt-center {
    text-align: center !important;
}

.txt-lg {
    font-size: 16px;
}

.danger {
    color: var(--danger) !important;
}

.warning {
    color: var(--warning) !important;
}

.success {
    color: var(--success) !important;
}

.live-message {
    display: block;
    color: var(--danger);
    font-weight: 600;
    margin-top: 20px;
}

    .live-message::before {
        content: "\f071";
        font-family: var(--fontawesome);
        font-weight: 400;
        padding-right: 7px;
    }

.alert-success {
    background-color: var(--success-light);
    color: var(--success-dark);
    font-weight: 600;
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 4px;
}

/*------------ MARGINS & PADDING PRESETS ------------*/
.m-0 {
    margin: 0 !important;
}

.m-1 {
    margin: 10px !important;
}

.m-2 {
    margin: 20px !important;
}

.m-3 {
    margin: 30px !important;
}

.m-4 {
    margin: 40px !important;
}

.mt-0 {
    margin-top: 0 !important;
}

.mt-1 {
    margin-top: 10px !important;
}

.mt-2 {
    margin-top: 20px !important;
}

.mt-3 {
    margin-top: 30px !important;
}

.mt-4 {
    margin-top: 40px !important;
}

.mb-0 {
    margin-bottom: 0 !important;
}

.mb-1 {
    margin-bottom: 10px !important;
}

.mb-2 {
    margin-bottom: 20px !important;
}

.mb-3 {
    margin-bottom: 30px !important;
}

.mb-4 {
    margin-bottom: 40px !important;
}

.p-0 {
    padding: 0 !important;
}

.p-1 {
    padding: 10px !important;
}

.p-2 {
    padding: 20px !important;
}

.p-3 {
    padding: 30px !important;
}

.p-4 {
    padding: 40px !important;
}

.pt-0 {
    padding-top: 0 !important;
}

.pt-1 {
    padding-top: 10px !important;
}

.pt-2 {
    padding-top: 20px !important;
}

.pt-3 {
    padding-top: 30px !important;
}

.pt-4 {
    padding-top: 40px !important;
}

.pb-0 {
    padding-bottom: 0 !important;
}

.pb-1 {
    padding-bottom: 10px !important;
}

.pb-2 {
    padding-bottom: 20px !important;
}

.pb-3 {
    padding-bottom: 30px !important;
}

.pb-4 {
    padding-bottom: 40px !important;
}


/*------------ BUTTONS ------------*/
a.btn,
.button,
input[type="submit"].btn,
input[type="submit"].btn-secondary,
input[type="submit"],
input[type="button"],
button {
    display: inline-block;
    background-color: var(--primary-blue);
    border-radius: 3px;
    border: 0;
    color: #FFF;
    font-weight: 600;
    padding: 5px 15px;
    transition: all .3s ease;
}

    a.btn-primary,
    input[type="submit"].btn-primary,
    input[type="button"].btn-primary {
        margin: 10px 0;
    }

        .button:hover,
        .button:active,
        a.btn:hover,
        a.btn-primary:hover,
        a.btn-secondary:hover,
        input[type="submit"]:hover,
        input[type="button"]:hover
        input[type="submit"].btn-primary:hover,
        input[type="button"].btn-primary:hover,
        input[type="submit"].btn-secondary:hover {
            background-color: var(--primary-blue-dark);
        }

    a.btn.delete,
    input[type="submit"].btn.delete {
        background: var(--danger);
    }

        a.btn.delete:hover,
        input[type="submit"].btn.delete:hover {
            background: var(--danger-dark);
        }

    a.btn-large,
    input[type="submit"].btn-large {
        font-size: 13px;
        padding: 10px 20px;
    }

.table-responsive a.btn,
.table-responsive input.btn[type="submit"],
.table-responsive .button,
.table-responsive input[type="submit"],
.table-responsive input[type="button"] {
    padding: 6px;
    text-align: center;
    vertical-align: top;
    /*min-width: 85px;*/
    word-wrap: normal;
}

a.btn,
input[type="submit"].btn,
.button,
input[type="submit"],
input[type="button"],
button {
    background: var(--primary-blue);
    font-family: var(--headers-text);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: #FFF;
    text-transform: capitalize;
    border-radius: 50px;
    border: 0;
    display: inline-block;
    -webkit-transition: background .3s;
    -o-transition: background .3s;
    transition: background .3s;
}

    a.btn-primary,
    input[type="submit"].btn-primary,
    input[type="button"].btn-primary {
        background: var(--primary-blue);
        margin: 10px 0;
        -webkit-transition: background .2s, color .2s;
        -o-transition: background .2s, color .2s;
        transition: background .2s, color .2s;
    }

        a.btn-primary:hover,
        input[type="submit"].btn-primary:hover,
        input[type="button"].btn-primary:hover {
            background: var(--primary-blue-dark);
            color: #FFF;
        }

    a.btn-secondary:hover,
    input[type="submit"].btn-secondary:hover,
    .button:hover,
    .button:active,
    input[type="submit"]:hover,
    input[type="button"]:hover {
        background: var(--primary-blue-dark);
    }

    a.btn.delete, input[type="submit"].btn.delete {
        background: #E63B2E;
    }

        a.btn.delete:hover, input[type="submit"].btn.delete:hover {
            background: #E63B2E;
        }

input[type="datetime"],
input[type="number"] {
    border: 1px solid #DDD;
    padding: 8px 4px;
}

.btn-seller {
    margin-left: 0 !important;
    margin-top: 30px !important;
}

.btn-outline {
    background-color: transparent !important;
    color: var(--primary-blue) !important;
    border: 2px solid var(--primary-blue) !important;
}

    .btn-outline:hover {
        background-color: var(--primary-blue-dark) !important;
        color: #fff !important;
        border: 2px solid var(--primary-blue-dark) !important;
    }

/*Forms*/
input,
textarea,
select {
    vertical-align: middle;
}

form,
fieldset {
    margin: 0;
    padding: 0;
    border-style: none;
}

.form {
    width: 100%;
    padding: 10px 10px;
}

    .form .button,
    .form input[type="submit"] {
        clear: both;
        float: right;
    }

.form-label {
    display: block;
    margin-bottom: 5px;
    font-size: 16px;
}

.form-control,
.text-box {
    background-color: #fff;
    margin-bottom: 20px;
    background-image: none;
    border: 1px solid var(--borders);
    border-radius: 4px;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset;
    color: #555555;
    display: block;
    font-size: 14px;
    height: 34px;
    line-height: 1.42857;
    padding: 6px 12px;
    transition: border-color 0.15s ease-in-out 0s, box-shadow 0.15s ease-in-out 0s;
    vertical-align: middle;
    width: 100%;
}

    .form-control:focus,
    .text-box:focus {
        border-color: var(--primary-blue);
        box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset, 0 0 8px rgba(102, 175, 233, 0.6);
        outline: 0 none;
    }

    [type="file"].form-control {
        border-color: transparent !important;
        box-shadow: none;
    }

.radio,
.checkbox {
    display: block;
    margin-bottom: 10px;
    margin-top: 10px;
    min-height: 20px;
    padding-left: 20px;
    vertical-align: middle;
}

    .radio input[type="radio"],
    .radio-inline input[type="radio"],
    .checkbox input[type="checkbox"],
    .checkbox-inline input[type="checkbox"] {
        float: left;
        margin-left: -20px;
    }

input[type="radio"],
input[type="checkbox"] {
    line-height: normal;
}

input[type="text"],
input[type="email"],
input[type="datetime-local"],
.form-field {
    display: inline-block;
    border-radius: 3px;
    border: 1px solid #ddd;
    font-family: var(--body-text);
    padding: 5px 10px;
}

    /*.form-field.input-validation-error,
    input[type="text"].input-validation-error,
    select.input-validation-error {
        margin-bottom: 0;
    }*/

        .form-field.input-validation-error + .field-validation-error,
        input[type="text"].input-validation-error + .field-validation-error,
        select.input-validation-error + .field-validation-error {
            margin-bottom: 15px;
            width: 100%;
            display: inline-block;
            padding-top: 5px;
        }

    input[type="text"]:focus,
    .form-field:focus {
        border-color: #66afe9;
    }

select {
    border: 1px solid var(--borders);
    display: block;
    font-size: 15px;
    padding: 5px 6px;
    border-radius: 3px;
}

.form-vertical {
    max-width: 350px;
}

.form-field {
    display: block;
    width: 100%;
}

input[type="text"],
input[type="password"],
input[type="email"],
input[type="datetime"],
input[type="number"],
input[type="datetime-local"],
select,
.form-field {
    font-family: var(--body-text);
    font-weight: 400;
    font-size: 16px;
    height: 40px;
    width: 100%;
    margin-bottom: 20px;
}

input[type="file"] {
    font-family: var(--body-text);
}

a.btn-secondary,
input[type="submit"].btn-secondary {
    margin-left: 9px;
    margin-top: 10px;
    margin-bottom: 15px;
}

.form-btn-container {
    display: flex;
    gap: 10px;
}

    .form-btn-container .btn {
        padding: 12px 24px !important;
        margin: 0 !important;
        /*height: 45px;*/
        border: 2px solid var(--primary-blue) !important;
        transition: all .2s ease !important;
    }

        .form-btn-container .btn:hover {
            border: 2px solid var(--primary-blue-dark) !important;
        }

    .form-btn-container .btn-cancel,
    .btn-cancel {
        background-color: var(--light-text) !important;
        border-color: var(--light-text) !important;
        text-align: center;
    }

        .form-btn-container .btn-cancel:hover,
        .btn-cancel:hover {
            background-color: var(--text) !important;
            border-color: var(--text) !important;
        }

.form-btn-container .btn-void {
    background-color: var(--danger);
    border-color: var(--danger) !important;
    cursor: pointer;
}

    .form-btn-container .btn-void:hover {
        background-color: var(--danger-dark);
        border-color: var(--danger-dark) !important;
    }

.forms-container input[type="checkbox"] {
    width: 18px;
    height: 18px;
}

input[type="text"]::-webkit-input-placeholder,
input[type="password"]::-webkit-input-placeholder {
    color: var(--light-text);
}

input[type="text"]::-moz-placeholder,
input[type="password"]::-moz-placeholder {
    color: var(--light-text);
}


input[type="text"]:-ms-input-placeholder,
input[type="password"]:-ms-input-placeholder {
    color: var(--light-text);
}


input[type="text"]::-ms-input-placeholder,
input[type="password"]::-ms-input-placeholder {
    color: var(--light-text);
}


input[type="text"]::placeholder,
input[type="password"]::placeholder {
    color: var(--light-text);
}

input[type="submit"]:hover {
    cursor: pointer;
}

/*------------ TOOLTIPS ------------*/
.tooltip-container {
    position: relative;
    display: inline-block;
    padding: 0;
    width: fit-content;
    height: 16px;
    margin-left: 8px;
    box-sizing: border-box;
    transition: all 0.2s;
}

.tooltip-icon {
    display: inline-block;
    color: var(--light-text);
    cursor: pointer;
    font-size: 16px;
    font-weight: 700;
    height: fit-content;
    margin-top: -3px;
}

.tooltip {
    position: absolute;
    top: calc(-1 * 0.5rem);
    left: 8px;
    transform: translateX(-50%) translateY(0%) scale(0);
    padding: 0.3em 0.6em;
    opacity: 0;
    font-weight: 400;
    pointer-events: none;
    transition: all 0.2s;
    background: var(--grey);
    color: var(--headers-text);
    border-radius: 0.5rem;
    z-index: 99999;
}

    .tooltip::before {
        content: "";
        position: absolute;
        width: 10px;
        height: 10px;
        bottom: -5px;
        left: 50%;
        transform: translateX(-50%) rotate(45deg);
        background: var(--grey);
    }

.tooltip-container:hover .tooltip {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(-100%) scale(1);
}

/*------------ REUSABLE ------------*/
.forms-container {
    display: flex;
    flex-direction: column;
    /*gap: 20px;*/
}

    .forms-container .row {
        margin-bottom: 20px;
    }

.row {
    /*overflow: auto;*/
    display: flex;
    align-items: flex-start;
    gap: 0 20px;
}

.col-1 {
    width: 100%;
}

.col-2 {
    width: 50%;
    /*float: left;
    margin: 0 0% 0 0;
    padding: 0 1%;*/
}

.col-3 {
    width: 33.3333%;
    /*float: left;
    margin: 0 0% 0 0;
    padding: 0 1%;*/
}

.archived {
    width: auto;
    margin-top: 15px;
}

.inspection-creation-header {
    clear: both;
    font-size: 28px;
    padding: 0;
}

.count {
    display: inline-block;
    float: right;
}

    .count div {
        display: inline;
    }

        .count div:first-child {
            margin-right: 10px;
        }

    .count span {
        font-weight: 600;
    }

.d-inline {
    display: inline;
}

.w-full {
    width: 100%;
}

.sub-head {
    color: var(--titles);
    text-transform: none;
    margin: 0;
    margin-bottom: 20px;
}

.divider-container {
    width: 100%;
}

.divider {
    display: block;
    margin: 0 auto;
    margin-top: 20px;
    margin-bottom: 20px;
    width: 97%;
    height: 1px;
    background-color: #DDD;
}

/* styles for validation helpers */
.field-validation-error {
    color: #ff0000;
}

.field-validation-valid {
    display: none;
}

input.input-validation-error, .input-validation-error {
    border: 1px solid var(--danger);
    border-color: var(--danger) !important;
}

input[type="checkbox"].input-validation-error {
    border: 0 none;
}

.validation-summary-errors {
    color: #b94a48;
}

.validation-summary-valid {
    display: none;
}

/*------------ HEADER ------------*/
#header {
    background: #FFF;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 40px;
    width: 100%;
    box-shadow: 0 3px 3px rgba(51,153,255,0.1);
}

    #header .block .box {
        position: relative;
        display: flex;
        align-content: center;
        font-size: 12px;
        line-height: 14px;
        color: var(--titles);
        padding-top: 10px;
        padding-bottom: 10px;
        min-width: 124px;
    }

        #header .block .box .header-user {
            display: inline-block;
            align-self: center;
            font-size: 14px;
            font-weight: 500;
            letter-spacing: 0.5px;
            margin-right: 20px;
        }

        #header .block .box a:not(.btn) {
            display: inline-block;
            background-color: transparent;
            color: var(--primary-blue);
            border: 2px solid var(--primary-blue);
            border-radius: 50px;
            font-family: var(--headers-text);
            font-size: 15px;
            font-weight: 500;
            padding: 12px 28px;
        }

        #header .block .box a:hover {
            background-color: var(--primary-blue);
            color: #fff;
        }

        #header .block .box > i {
            background: #4A4C4B;
            border-radius: 50%;
            font-size: 20px;
            padding: 15px 18px;
        }

        #header .block .box a i {
            margin: 0 0 0 5px;
        }

    #header .logo {
        display: flex;
    }

        #header .logo a {
            display: flex;
            height: 100%;
        }

            #header .logo a img {
                width: 100%;
                max-width: 200px;
                height: auto;
            }

/*.header-info {
    width: 40%;
}

.header-h1-box {
    width: 100%;
}

.header-h1 {
    display: block;
    width: 100%;
    margin-top: 10px;
    margin-bottom: 0;
    text-align: center;
    color: #FFF;
    margin-bottom: -5px;
    overflow: hidden;
}*/

#header .box .switch-company {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-right: 40px;
}

    #header .box .switch-company label {
        font-size: 14px;
    }

    #header .box .switch-company select {
        font-size: 14px;
        margin: 0;
    }

        #header .box .switch-company select:focus-visible {
            outline-color: var(--primary-blue);
        }

/* Mobile Menu */
.nav-menu,
.nav-overlay {
    display: none;
}

.close-btn {
    display: none;
}

.menu-icon {
    display: none;
}

.no-scroll {
    overflow: hidden;
}

/*#breadcrumb {
    background-image: -webkit-gradient( linear, left top, left bottom, color-stop(30%, #748DA5), color-stop(110%, #57748e) );
    background-image: -webkit-linear-gradient( #748DA5 30%, #57748e 110% );
    background-image: -o-linear-gradient( #748DA5 30%, #57748e 110% );
    background-image: linear-gradient( #748DA5 30%, #57748e 110% );
}*/

/*------------ MAIN CONTENT ------------*/
#main-content {
    display: flex;
    height: 100%;
    position: relative;
}

/*------------ SIDEBAR ------------*/
#sidebar {
    display: flex;
    flex-direction: column;
    background-color: var(--primary-blue);
    background: linear-gradient(to bottom, var(--primary-blue) 20vh, var(--primary-blue-dark) 90vh);
    background-attachment: fixed;
    width: 300px;
    z-index: 99;
}

.menu-active {
    margin-left: 0 !important;
}

.mobile-btn {
    display: none;
    color: #fff;
    /*background-color: var(--primary-blue);*/
    font-size: 25px;
    padding: 15px;
    width: 60px;
    transition: background-color .5s ease;
    position: absolute;
    top: 0px;
    right: 0;
}

/*.menu-active .mobile-btn {
    background-color: rgba(28,116,204,0.5);
}*/

.mobile-btn-icon {
    width: 28px;
    height: 25px;
    position: relative;
    margin: 5px auto;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: .5s ease-in-out;
    -moz-transition: .5s ease-in-out;
    -o-transition: .5s ease-in-out;
    transition: .5s ease-in-out;
    cursor: pointer;
}

.menu-active .mobile-btn-icon {
    width: 30px;
}

.mobile-btn-icon span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: #FFF;
    border-radius: 9px;
    opacity: 1;
    left: 0;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: .25s ease-in-out;
    -moz-transition: .25s ease-in-out;
    -o-transition: .25s ease-in-out;
    transition: .25s ease-in-out;
}

    .mobile-btn-icon span:nth-child(1) {
        top: 0px;
    }

    .mobile-btn-icon span:nth-child(2),
    .mobile-btn-icon span:nth-child(3) {
        top: 10px;
    }

    .mobile-btn-icon span:nth-child(4) {
        top: 20px;
    }

.menu-active .mobile-btn-icon span:nth-child(1) {
    top: 18px;
    width: 0%;
    left: 50%;
}

.menu-active .mobile-btn-icon span:nth-child(2) {
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
}

.menu-active .mobile-btn-icon span:nth-child(3) {
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

.menu-active .mobile-btn-icon span:nth-child(4) {
    top: 18px;
    width: 0%;
    left: 50%;
}

#nav {
    width: 100%;
    display: inline-block;
    vertical-align: top;
    margin: 30px 0 60px 0;
    padding: 0 20px;
    position: relative;
}

    #nav li {
        overflow: hidden;
        vertical-align: top;
    }

    #nav li:not(:last-child) {
        margin-bottom: 20px;
    }

    #nav a {
        display: block;
        color: #fff;
        font-family: var(--headers-text);
        font-size: 16px;
        font-weight: 700;
        line-height: 1;
        padding: 12px 15px !important;
    }

        #nav a i {
            color: #fff;
            font-size: 20px;
            width: 30px;
        }

        /*#nav .active a,
        #nav a:hover {
            background-color: var(--primary-blue-dark);
        }*/

        #nav li.active a {
            background-color: #fff;
            border-radius: 50px;
            color: var(--primary-blue-dark);
        }

            #nav li.active a i {
                color: var(--primary-blue-dark);
            }

    #nav span {
        margin-right: 10px;
        margin-left: 10px;
    }

/*a.license-warning:after {
    margin-left: 12px;
    content: "\f06a";
    color: rgb(247, 36, 36);
    font: normal normal normal 19px/2px var(--fontawesome);
    display: inline-block;
    margin-top: 32px;
    padding-top: 0;
    display: block;
    float: right;
    padding-right: 9px;
}

.icon-exclamation-sign:before {
    content: "\f06a";
    color: rgb(247, 36, 36);
    font: normal normal normal 19px/2px var(--fontawesome);
}*/

.switch-org {
    padding: 0 20px;
}

.switch-org h6 {
    color: #fff;
    font-size: 14px;
    margin: 0 0 10px 0;
}

.switch-org-input {
    position: relative;
    display: inline-block;
    vertical-align: middle;
    width: 100%;
}

.switch-org-input select {
    background-color: transparent;
    border: 2px solid #fff;
    border-radius: 6px;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 0;
    padding: 0 30px 0 7px;
    cursor: pointer;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    resize: horizontal;
    -webkit-appearance: none;
    -moz-appearance: none;
    text-indent: 1px;
}

    .switch-org-input select:focus-visible {
        outline-color: #fff;
    }

    .switch-org-input::before,
    .switch-org-input::after {
        content: "";
        position: absolute;
        pointer-events: none;
    }

    .switch-org-input::after {
        content: '\f078';
        color: #fff;
        font-family: var(--fontawesome);
        font-size: 10px;
        font-weight: 700;
        line-height: 1;
        right: 1.2em;
        top: 50%;
        transform: translateY(-50%);
    }

.switch-org-input select option {
    color: #000;
}

/*----------- Pagination ----------*/
.pagination {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 15px;
}

/*----------- Modal (Popup) ----------*/
.modal {
    display: none;
    position: fixed;
    z-index: 1001;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    width: 400px;
    border-radius: 8px;
}

.modal-footer {
    text-align: right;
    margin-top: 10px;
}

.modal-close {
    background: #007bff;
    color: white;
    border: none;
    padding: 8px 12px;
    cursor: pointer;
    border-radius: 4px;
}

.modal-close-top {
    position: absolute;
    top: 15px;
    right: 15px;
    background: transparent;
    border: none;
    font-size: 32px;
    cursor: pointer;
}

.modal-close-top i {
    color: var(--titles);
}

.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

/*------------ LOGIN ------------*/
#login-page {
    background-color: var(--primary-blue-dark);
    background: url(/images/cms/hero-img.jpg);
    background-size: cover;
    background-position: 25% center;
    height: auto;
}

#login-wrap {
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    width: 100%;
    padding: 30px;
}

.login {
    display: block;
    background-color: var(--light-blue);
    border-radius: 24px;
    width: 100%;
    max-width: 600px;
    padding: 60px 60px 40px 60px;
    margin: 10px auto;
    box-shadow: 0 2px 3px rgba(0, 0, 0, 0.25);
}

.logo-holder {
    margin: 0 0 40px;
    width: 100%;
}

    .logo-holder .logo {
        margin: 0 auto;
    }

    .logo-holder #login-logo {
        display: block;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

.login .block {
    border-radius: 10px;
    width: 100%;
}

.login .holder {
    width: 100%;
}

.login .form-control,
.accountRetrieval .block .form-control {
    border: 1px solid #ccc;
    border-left-width: 5px;
    border-radius: 0;
    -webkit-box-shadow: none;
    box-shadow: none;
    font-family: var(--body-text);
    font-weight: 400;
    font-size: 18px;
    width: 100%;
    height: auto;
    padding: 10px;
}

    .login .form-control:focus,
    .accountRetrieval .block .form-control:focus {
        border-color: var(--primary-blue);
        color: var(--primary-blue);
    }

/* custom checkbox styles */
/*.chk-area {
    margin: 0 7px 0 0;
    float: left;
    width: 16px;
    height: 16px;
    background: url(../images/cms/bg-checkbox.png) no-repeat;
}*/

.login a.btn-primary,
.login input[type="submit"].btn-primary,
.login input[type="button"].btn-primary,
.twofactor .btn-primary {
    font-size: 17px;
    width: 100%;
    padding: 14px 28px;
}

.login input[type="text"]::-webkit-input-placeholder,
.login input[type="password"]::-webkit-input-placeholder {
    color: var(--light-text);
}

.login input[type="text"]:-ms-input-placeholder,
.login input[type="password"]:-ms-input-placeholder {
    color: var(--light-text);
}

.login input[type="text"]::-ms-input-placeholder,
.login input[type="password"]::-ms-input-placeholder {
    color: var(--light-text);
}

.login input[type="text"]::placeholder,
.login input[type="password"]::placeholder {
    color: var(--light-text);
}

.login-back {
    font-size: 16px;
}

.login.twofactor h2 {
    font-size: 32px;
}

.login.twofactor p {
    margin-bottom: 10px;
}

.login.twofactor .btn-container {
    display: flex;
    gap: 20px;
}

.twofactor .btn-primary,
.twofactor .btn-resend {
    cursor: pointer;
}

.login.twofactor .btn-resend {
    background-color: transparent;
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
}

.twofactor .btn-primary:hover,
.twofactor .btn-resend:hover {
    background-color: var(--primary-blue-dark);
    border-color: var(--primary-blue-dark);
    color: #fff;
}

.login .alert-danger {
    color: var(--danger);
    margin-bottom: 20px;
}

.danger {
    color: var(--danger);
}

/*------------ DASHBOARD ------------*/
.dashboard-header {
    background-color: #fff;
    padding: 0 20px 20px;
    text-align: center;
}

    .dashboard-header h1 {
        margin: 0;
        color: var(--text);
        font-size: 32px;
        font-weight: 300;
        text-transform: capitalize;
    }

.stats-subtitle {
    color: var(--primary-blue);
    text-align: center;
    margin-top: 40px;
    margin-bottom: 10px;
}

#dashboard-stats .statistics-cards {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-template-rows: 1fr;
    gap: 30px 30px;
    padding: 20px;
}

#dashboard-stats .card {
    background-color: #fff;
    border: 1px solid var(--borders);
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
}

    #dashboard-stats .card h2 {
        margin-top: 0;
        color: var(--primary-blue);
        font-size: 18px;
    }

    #dashboard-stats .card p {
        color: var(--text);
        font-family: var(--headers-text);
        font-size: 28px;
        font-weight: 400;
        margin: 5px 0 0 0;
    }

#dashboard-stats .charts {
    padding: 20px;
}

#dashboard-stats .chart {
    background-color: #fff;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

    #dashboard-stats .chart h3 {
        margin-top: 0;
        color: #333;
        font-size: 18px;
    }

#dashboard-stats .bar-chart {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    height: 150px;
    padding: 10px 0;
    position: relative;
}

#dashboard-stats .bar {
    width: 20px;
    background-color: #5cb85c;
    margin: 0 5px;
    transition: background-color 0.3s ease;
}

    #dashboard-stats .bar:hover {
        background-color: #4cae4c;
    }

#dashboard-stats .bar-labels {
    display: flex;
    justify-content: space-between;
    padding: 0 10px;
}

#dashboard-stats .bar-label {
    text-align: center;
    font-size: 0.75rem;
    margin-top: 5px;
    color: #6c757d;
    width: 20px;
}

/*------------ CREATE CLIENT ------------*/
#content {
    display: flex;
    flex-direction: column;
    align-content: center;
    width: 100%;
    height: 100%;
    min-height: calc(100vh - 83px);
}

.content-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-self: center;
    border-radius: 24px;
    width: calc(100% - 80px);
    max-width: 1200px;
    background: #fff;
    padding: 40px;
    margin: 40px;
    /*box-shadow: 0 2px 6px rgba(51,153,255,0.15);*/
    box-shadow: 0 3px 6px rgba(61,82,102,0.2);
}

#main-footer {
    display: none;
    width: 100%;
    height: 100px;
}

.inspection-creation-header {
    margin: 15px 0 25px 0;
}

.orders-header {
    font-size: 24px;
}

.tabs-menu {
    display: none;
}

.tabs {
    overflow: hidden;
    margin-bottom: 0;
    border-bottom: 0;
}

    .tabs li a .licence-count {
        color: rgb(37, 153, 199);
    }

    .tabs li {
        display: inline-block;
        /*margin-right: 3px;*/
        margin-bottom: -1px;
        border: 1px solid #ccc;
        border-bottom: 0;
        border-top-left-radius: 7px;
        border-top-right-radius: 7px;
        font-family: var(--headers-text);
        font-size: 15px;
        font-weight: 400;
        text-decoration: none;
        -webkit-transition: all 0.5s ease;
        -o-transition: all 0.5s ease;
        transition: all 0.5s ease;
    }

        .tabs li:hover {
            background-color: var(--light-blue);
            transition: all 0.5s ease;
        }

        .tabs li a {
            display: block;
            color: var(--body-text);
            padding: 10px 15px;
        }

        .tabs li.active {
            background: var(--primary-blue);
            border: 1px solid var(--primary-blue);
            color: #fff;
            -webkit-box-shadow: none;
            box-shadow: none;
        }

        .tabs li a.active {
            color: #fff;
        }

#dashboard {
    width: 100%;
    height: 100%;
    border: 1px solid #ccc;
    padding: 20px;
}

/*form .row {
    margin-bottom: 20px;
}*/

.form-label, .form-label-inline {
    font-family: var(--headers-text);
    font-size: 13px;
    font-weight: 600;
    color: #575958;
}

.form-label-inline {
    display: inline-block;
    margin-bottom: 3px;
}

.form-group {
    width: 100%;
}

.form-container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flexbox;
    width: 100%;
}

.form-group:not(:last-child) {
    margin-right: 5px;
}

textarea {
    width: 100%;
    display: inline-block;
    border-radius: 3px;
    border: 1px solid #ddd;
    padding: 5px 10px;
    font-family: var(--body-text);
    font-weight: 400;
    font-size: 16px;
}


/*------------ TABLES ------------*/
.table-container {
    overflow-x: auto;
}

.table-responsive {
    width: 100%;
}

    .table-responsive tr:nth-child(even) {
        background: var(--off-white);
    }

    .table-responsive thead tr {
        background-color: var(--table-header);
    }

    .table-responsive td {
        display: block;
        font-size: 16px;
        color: var(--text);
        line-height: 26px;
        font-weight: 300;
        word-wrap: break-word;
        padding-left: 7.5em;
    }

        .table-responsive td:before {
            content: attr(data-th) ": ";
            font-weight: bold;
            width: 7.5em;
            display: inline-block;
            margin-left: -7.5em;
        }

    .table-responsive th, .table-responsive td {
        text-align: left;
        vertical-align: middle;
    }

        .table-responsive th, .table-responsive td:before {
            color: var(--titles);
            font-size: 18px;
            font-weight: 500;
            text-transform: uppercase;
        }

.table-responsive th a {
    color: var(--titles);
    font-size: 18px;
    font-weight: 500;
}

.table-responsive tr {
    border: 1px solid var(--borders);
}

.table-responsive th {
    color: var(--titles);
    font-family: var(--headers-text);
    font-size: 14px;
    font-weight: 600;
    text-transform: none;
    white-space: nowrap;
    padding-top: 9px;
    padding-bottom: 9px;
}

.table-responsive td {
    color: var(--texts);
    font-family: var(--body-text);
    font-weight: 500;
    font-size: 14px;
    line-height: 1.3em;
    word-wrap: break-word;
    padding: 15px;
}

    .table-responsive td:before {
        display: none;
    }

.table-responsive th,
.table-responsive td {
    display: table-cell;
    padding: 15px;
    vertical-align: middle;
}

.table-responsive td {
    padding: 10px 15px;
}

.table-responsive .table-btns {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.table-responsive a {
    transition: all .3s ease;
}

    .table-responsive a:hover:not(.btn) {
        color: var(--primary-blue-dark);
    }

.table-responsive td:before {
    content: attr(data-th) " ";
}

.table-responsive .table-btns a.btn,
.table-responsive .table-btns input[type="submit"].btn,
.table-responsive .table-btns button.btn {
    display: block;
    color: var(--text);
    background-color: #fff;
    border: 1px solid var(--text);
    font-size: 12px;
    font-family: var(--body-text);
    font-weight: 700;
    line-height: 1.5em;
    padding: 5px 10px !important;
    white-space: nowrap;
    cursor: pointer;
}

.table-responsive .table-btns .btn:hover {
    display: block;
    color: var(--primary-blue);
    border-color: var(--primary-blue);
}

/* Standard Table */
.styled-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    margin-top: 15px;
}

.styled-table th, .styled-table td {
    padding: 10px;
    border: 1px solid var(--borders);
}

    .styled-table th {
        background-color: var(--table-header);
        color: var(--titles);
        font-family: var(--headers-text);
        font-size: 14px;
        font-weight: 600;
        padding: 10px 15px;
    }

.styled-table tr:nth-child(even) {
    background-color: var(--off-white);
}

/*.styled-table tr:hover {
    background-color: #f1f1f1;
}*/

    .styled-table td {
        color: var(--text);
        font-family: var(--body-text);
        font-size: 14px;
        font-weight: 500;
        padding: 10px 15px;
    }

/* End Standard Table */

.info-table th {
    background-color: var(--table-header);
    border-right: 1px solid var(--borders);
}

/* LOTTERIES */
.lotteries-title {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 15px;
}

    .lotteries-title h1 {
        margin: 0;
    }

    .lotteries-title .btn {
        text-align: center;
        padding: 12px 24px;
    }

        .lotteries-title .btn span {
            margin-right: 5px;
        }

#lottery-container.tile-container {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 1fr;
    gap: 30px 30px;
    /*padding: 20px;*/
}

#lottery-container .lottery-tile {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px;
    border: 1px solid var(--borders);
    background-color: #ffffff;
    border-radius: 10px;
}

    #lottery-container .lottery-tile h2 {
        font-size: 1.35em;
        margin-bottom: 10px;
        font-weight: bold;
    }

    #lottery-container .lottery-tile p {
        font-size: .95em;
        margin-bottom: 3px;
    }

        #lottery-container .lottery-tile p span {
            font-weight: 600;
        }

    #lottery-container .lottery-tile .jackpot-amount {
        color: var(--primary-blue);
        font-size: 32px;
        font-weight: 700;
    }

    #lottery-container .lottery-tile .btn {
        border: 2px solid var(--primary-blue);
        background-color: #fff;
        color: var(--primary-blue);
        padding: 7px 14px;
    }

    #lottery-container .lottery-tile .btn:hover {
        border-color: var(--primary-blue-dark);
    }

#lottery-container .lottery-image {
    display: block;
    width: 100%;
    max-width: 320px;
    height: auto;
    margin: 0 auto;
    margin-bottom: 25px;
    border-radius: 6px;
    object-fit: cover;
    object-position: center;
}

.cover-img-container {
    display: flex;
    align-items: center;
    gap: 40px;
}

    .cover-img-container .cover-img-col1 {
        width: 60%;
    }

    .cover-img-container .cover-img-col2 {
        width: 40%;
    }

    .cover-img-container .sub-head {
        padding: 0;
        margin-bottom: 30px;
    }

    .cover-img-container .form-group {
        margin-bottom: 30px;
    }

    .cover-img-container .form-btn-container {
        margin-top: 30px;
    }

    .cover-img-container p {
        font-size: 13px;
    }

.lottery-img-upload {
    border-radius: 12px;
    width: 100%;
    max-width: 800px;
    height: auto;
}

#lottery-container .btns-container {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

#lottery-container .btn {
    display: inline-block;
    border: none;
    border-radius: 25px;
    padding: 8px 15px;
    color: #FFF;
    text-align: center;
    text-decoration: none;
    width: 100%;
    transition: background-color 0.3s;
    box-sizing: border-box;
}

    #lottery-container .btn:hover {
        background-color: var(--primary-blue-dark);
        color: white;
    }

#removePhotoBtn.btn-outline {
    background-color: transparent !important;
    color: var(--text) !important;
    border: 2px solid var(--text) !important;
}

    #removePhotoBtn.btn-outline:hover {
        background-color: var(--danger) !important;
        color: #fff !important;
        border: 2px solid var(--danger) !important;
    }

#lottery-container .lottery-total {
    color: var(--titles);
    font-family: var(--headers-text);
    font-size: 32px;
    margin-bottom: 10px;
}

#lottery-container .no-lotteries {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--borders);
    background-color: #ffffff;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
}

.no-lotteries .lottery-empty-icon {
    font-size: 180px;
    margin-bottom: 1rem;
    color: #ccc;
}

.no-lotteries h3 {
    margin-bottom: 0.5rem;
    font-weight: 600;
    font-size: 1.5rem;
}

.no-lotteries p {
    margin-bottom: 1.5rem;
    font-size: 1rem;
    max-width: 320px;
}

#lottery-container .no-lotteries .btn {
    border: 2px solid var(--primary-blue);
    background-color: #fff;
    color: var(--primary-blue);
    padding: 7px 14px;
}

#lottery-container .no-lotteries .btn:hover {
    background-color: var(--primary-blue-dark);
    border-color: var(--primary-blue-dark);
    color: #fff
}

/*------------ UNASSIGNED ORDERS ------------*/
.orders-container {
    border: 1px solid var(--borders);
    padding: 30px;
}

.orders-subtitle {
    font-size: 24px;
    margin: 10px 0 25px 0;
}

.page-header {
    width: 100%;
    display: inline-block;
    vertical-align: top;
}

.page-search {
    float: left;
    display: inline-block;
}

.mobile-sort, .searchBox {
    display: inline-block;
    float: left;
    margin-right: 10px;
    position: relative;
}

    .mobile-sort, .searchBox form {
        display: flex;
    }

        .mobile-sort select {
            display: inline-block;
        }

    .searchBox i.fa {
        position: absolute;
        left: 10px;
        top: 10px;
        font-size: 14px;
        color: #666;
    }

    .searchBox input[type="text"] {
        padding-left: 30px;
    }

    .searchBox select {
        display: inline-block;
        height: 40px;
    }

.print-search-form {
    display: flex;
}

#ticket-queue {
    margin-bottom: 40px;
}

.orders-container {
    border: 1px solid var(--borders);
    border-top: 3px solid var(--primary-blue);
    border-bottom-right-radius: 12px;
    border-bottom-left-radius: 12px;
    padding: 20px;
}

    .orders-container .page-search {
        width: 100%;
    }

    .orders-container a.btn,
    .orders-container input[type="submit"].btn,
    .orders-container .button,
    .orders-container input[type="submit"],
    .orders-container input[type="button"] {
        padding: 12px 18px;
        margin: 0;
    }

.searchBox i.fa {
    top: 13px;
}

.search-box {
    width: 300px !important;
}

.view-bar {
    display: flex;
    align-content: center;
    justify-content: space-between;
    width: 100%;
    padding: 30px 0 10px 0;
}

    .view-bar .pagination {
        display: flex;
        align-items: center;
        margin: 0;
    }

.form-inline .form-label {
    display: inline-block;
}

    .form-inline .form-label:last-child {
        font-weight: normal;
    }

.edit-order .col-2 {
    min-height: 90px;
}

.search-container {
    margin-bottom: 30px;
}

.search-container h5 {
    font-size: 18px;
    margin: 0 0 15px 0;
}

.search-container .search-input {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 10px;
}

.search-input .search-col:nth-of-type(1) {
    width: calc(60% - 84px);
}

.search-input .search-col:nth-of-type(2) {
    width: calc(40% - 84px);
}

.search-input .search-col:nth-of-type(3) {
    width: 128px;
}

.search-container.search-tickets .search-col:nth-of-type(1) {
    width: 60%;
}

.search-container.search-tickets .search-col:nth-of-type(2) {
    width: 40%;
}

.search-col .form-control,
.search-col select {
    margin: 0;
}

.lottery-info {
    padding: 15px;
    margin-bottom: 20px;
}

.lottery-name {
    font-size: 1.5rem;
    font-weight: bold;
    color: #333;
    /*margin-bottom: 8px;*/
}

.lottery-number span {
    font-weight: bold !important;
}

.lottery-draw-date, .lottery-number {
    font-size: 1rem;
    color: #555;
    margin-bottom: 4px;
}

.signup-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 20px;
    font-size: 16px;
    color: #444;
}

.signup-link p {
    font-size: 18px;
    margin: 0 0 10px;
}

    .signup-link a.btn-outline-secondary {
        padding: 6px 18px;
        border: 1px solid #007bff;
        border-radius: 20px;
        background-color: transparent;
        color: #007bff;
        text-decoration: none;
        font-weight: 600;
        transition: all 0.2s ease-in-out;
    }

        .signup-link a.btn-outline-secondary:hover {
            background-color: #007bff;
            color: #fff;
        }


/* LOTTERY SETUP PAGES */
.table-packages {
    width: 100%;
    max-width: 700px;
}

.lottery-stats-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 30px;
}

.lottery-stats-container .lottery-stat-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.lottery-stat-col > div {
    font-size: 16px;
    text-align: center;
}

.lottery-stat-col i {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--light-text);
    border-radius: 50px;
    color: #fff;
    font-size: 24px;
    margin-bottom: 10px;
    width: 50px;
    height: 50px;
}

.lottery-stat-col h4 {
    font-size: 18px;
    margin-top: 0;
    margin-bottom: 8px;
}

/* LOTTERY DETAILS PAGES */
.orders-info {
    margin-top: 15px;
    margin-bottom: 35px;
}

    .orders-info h2 {
        margin-bottom: 15px;
    }

    .orders-info .lottery-number {
        font-size: 18px;
    }

        .orders-info .lottery-number strong {
            font-weight: 700;
        }

.order-modal {
    width: calc(100% - 40px);
    max-width: 600px;
    padding: 30px;
}

    .order-modal h4 {
        margin: 10px 50px 20px 0;
    }

    .order-modal li {
        padding: 2px 0;
    }

        .order-modal li strong {
            font-weight: 700;
        }

/* ORDERS */
.table-orders tr td:nth-of-type(6) {
    white-space: nowrap;
}

.table-draws tr td:nth-of-type(4) {
    white-space: nowrap;
}

/* ORDER - REPORTS */
.reports-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    margin-top: 10px;
    margin-bottom: 40px;
}

.reports-title h3 {
    margin: 0;
}

.reports-title .btn,
.orders-info .btn {
    font-size: 13px;
    font-weight: 400;
    padding: 8px 16px;
    white-space: nowrap;
}

    .reports-title .btn::before,
    .orders-info .btn::before {
        content: '\f060';
        font-family: var(--fontawesome);
        margin-right: 8px;
    }

.reports-date-select {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 40px;
}

.reports-date-select .date-input {
    width: 40%;
}

.reports-date-select .date-submit {
    width: 20%;
    display: flex;
    justify-content: flex-end;
}

    .reports-date-select .date-submit input {
        padding: 10px;
        width: 90%;
    }

.reports-chart {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}
/*Status pill for void and successful orders in Orders tab*/
.status-pill {
    display: inline-block;
    padding: .25em .6em;
    font-weight: 600;
    line-height: 1;
    border-radius: .25rem;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
}

.status-success {
    background-color: #d4edda;
    color: #155724;
}

.status-void {
    background-color: #f8d7da;
    color: #721c24;
}

.void-order-btns .btn {
    line-height: 1;
}

.void-order-btns .btn-submit {
    background-color: var(--danger);
    border-color: var(--danger) !important;
    border-radius: 50px;
    font-weight: 700;
}

    .void-order-btns .btn-submit:hover {
        background-color: var(--danger-dark);
        border-color: var(--danger-dark) !important;
    }

    /* Lottery selector styling */
    .lottery-selector {
        margin: 20px 0;
        padding: 15px;
        background: #f8f9fa;
        border-radius: 8px;
        border: 1px solid #dee2e6;
    }

.form-group {
    margin-bottom: 0;
}

    .form-group label {
        font-weight: 600;
        color: #495057;
        margin-bottom: 8px;
        display: block;
    }

/*.form-control {
    width: 100%;
    min-width: 500px;
    padding: 10px 12px;
    font-size: 14px;
    border: 1px solid #ced4da;
    border-radius: 6px;
    background-color: #fff;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}*/

    /*.form-control:focus {
        border-color: #007bff;
        outline: 0;
        box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
    }*/

.search-container .report-select {
    display: flex;
    align-items: center;
    gap: 20px;
    background-color: var(--off-white);
    border: 1px solid #dee2e6;
    border-radius: 6px;
    padding: 25px;
}

.search-container .report-select label {
    color: var(--titles);
    font-size: 16px;
    white-space: nowrap;
    margin: 0;
}

.search-container .report-select select {
    font-size: 15px;
    margin: 0;
}

.download-actions {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
}

.download-actions .btn {
    padding: 12px 28px;
}

/* Reports table container */
.reports-table {
    margin-top: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    overflow: hidden;
}

/* Table header */
.table-header {
    display: grid;
    grid-template-columns: 2fr 1fr;
    background-color: #f8f9fa;
    border-bottom: 2px solid #dee2e6;
}

.header-cell {
    padding: 15px 20px;
    font-weight: 600;
    color: #495057;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Table row */
.table-row {
    display: grid;
    grid-template-columns: 2fr 1fr;
    border-bottom: 1px solid #dee2e6;
    transition: background-color 0.2s ease;
}

    .table-row:hover {
        background-color: #f8f9fa;
    }

    .table-row:last-child {
        border-bottom: none;
    }

/* Table cells */
.table-cell {
    padding: 15px 20px;
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #495057;
}

.report-name-cell {
    font-weight: 500;
    color: #212529;
}

.actions-cell {
    justify-content: flex-end;
}

/* Button styles */
.btn {
    padding: 8px 16px;
    font-size: 13px;
    text-decoration: none;
    border-radius: 6px;
    text-align: center;
    color: #fff;
    font-weight: 500;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
    display: inline-block;
}

.btn-primary {
    background-color: #007bff;
}

    .btn-primary:hover {
        background-color: #0056b3;
        transform: translateY(-1px);
        box-shadow: 0 2px 4px rgba(0,123,255,0.3);
    }

/* Responsive design */
@@media (max-width: 768px) {
    .table-header,
    .table-row {
        grid-template-columns: 1fr;
    }

    .header-cell,
    .table-cell {
        padding: 12px 15px;
    }

    .actions-cell {
        justify-content: flex-start;
    }
}

/* Lottery selector styling */
.lottery-selector {
    margin: 20px 0;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #dee2e6;
}

/*.form-group {
    margin-bottom: 0;
}

    .form-group label {
        font-weight: 600;
        color: #495057;
        margin-bottom: 8px;
        display: block;
    }

.form-control {
    width: 100%;
    min-width: 500px;
    padding: 10px 12px;
    font-size: 14px;
    border: 1px solid #ced4da;
    border-radius: 6px;
    background-color: #fff;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

    .form-control:focus {
        border-color: #007bff;
        outline: 0;
        box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
    }*/

.orders-comparison-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

/* Orders comparison styling */
.orders-comparison {
    margin-top: 10px;
}

/*.orders-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 20px;
}*/

.orders-table-container {
    /*box-shadow: 0 2px 4px rgba(0,0,0,0.1);*/
    overflow: hidden;
}

    .orders-table-container h3 {
        margin: 0;
        margin-bottom: 15px;
        /*background: #f8f9fa;*/
        /*border-bottom: 1px solid #dee2e6;*/
        color: var(--titles);
        font-size: 18px;
        font-weight: 600;
    }

.table-wrapper {
    overflow-x: auto;
    max-height: 600px;
    overflow-y: auto;
}

.orders-table {
    background: white;
    border: 1px solid var(--borders);
    border-radius: 8px;
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

    .orders-table th {
        background: var(--table-header);
        border-bottom: 1px solid var(--borders);
        color: var(--titles);
        padding: 12px 8px;
        text-align: left;
        font-weight: 700;
        position: sticky;
        top: 0;
        z-index: 10;
    }

    .orders-table td {
        background-color: #fff;
        padding: 10px 8px;
    }

        .orders-table tr:not(:last-child) td {
            border-bottom: 1px solid var(--borders);
        }

    .orders-table tr:nth-child(even) td {
        background: var(--off-white);
    }

    .orders-table tbody tr:hover td {
        background-color: var(--table-header);
    }

.no-data {
    text-align: center;
    color: #6c757d;
    font-style: italic;
    padding: 20px;
}

.status-badge {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    text-align: center;
    text-transform: uppercase;
    min-width: 62px;
}

    .status-badge.paid {
        background-color: #d4edda;
        color: #155724;
    }

    .status-badge.not-paid {
        background-color: #f8d7da;
        color: #721c24;
    }

.no-data {
    text-align: center;
    color: #6c757d;
    font-style: italic;
    padding: 20px;
}

.no-selection {
    text-align: center;
    padding: 40px;
    color: #6c757d;
    font-size: 16px;
}

/* Unmatched Orders Section */
.unmatched-orders-section {
    margin-top: 40px;
    padding: 30px;
    /*background: #f8f9fa;*/
    border-radius: 12px;
    border: 1px solid var(--borders);
}

    .unmatched-orders-section h3 {
        margin: 0 0 25px 0;
        color: var(--titles);
        font-size: 22px;
        font-weight: 600;
        text-align: center;
    }

.unmatched-summary {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.summary-card {
    background: #FFF;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

    .summary-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    }

    .summary-card.info {
        border-color: var(--borders);
    }

    .summary-card .summary-count {
        color: var(--titles);
    }

    .summary-card.missing-in-stripe,
    .summary-card.mismatch {
        border-color: var(--danger);
    }

    .summary-card.missing-in-db {
        border-color: var(--warning);
    }

    .summary-card.matched {
        border-color: var(--success);
    }

    .summary-card .summary-status {
        font-size: 24px;
        font-weight: 700;
        color: var(--success);
    }

    .summary-card.mismatch .summary-status {
        color: var(--danger);
    }

.summary-icon {
    font-size: 32px;
    margin-bottom: 10px;
}

.summary-title {
    font-size: 16px;
    font-weight: 600;
    color: #495057;
    margin-bottom: 8px;
}

.summary-count {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 5px;
}

.summary-card.missing-in-stripe .summary-count {
    color: var(--danger);
}

.summary-card.missing-in-db .summary-count {
    color: var(--warning);
}

.summary-card.matched .summary-count {
    color: var(--success);
}

.summary-subtitle {
    font-size: 12px;
    color: #6c757d;
    font-style: italic;
}

.unmatched-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.unmatched-table-container {
    /*border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);*/
    overflow: hidden;
}

    .unmatched-table-container h4 {
        margin: 0;
        margin-bottom: 15px;
        /*border-bottom: 1px solid #dee2e6;*/
        color: var(--titles);
        font-size: 16px;
        font-weight: 600;
        line-height: 1.3;
    }

.unmatched-table {
    background-color: #fff;
    width: 100%;
    border: 1px solid var(--borders);
    border-collapse: collapse;
    font-size: 14px;
}

    .unmatched-table th {
        background: var(--table-header);
        color: var(--titles);
        border-bottom: 1px solid var(--borders);
        padding: 12px 8px;
        text-align: left;
        font-weight: 700;
    }

    .unmatched-table td {
        padding: 10px 8px;
    }

    .unmatched-table tr:not(:last-child) td {
        border-bottom: 1px solid var(--borders);
    }

    .unmatched-table tr:nth-child(even) td {
        background: var(--off-white);
    }

    .unmatched-table tbody tr:hover {
        background-color: #f8f9fa;
    }

    .unmatched-table tfoot tr th {
        border-top: 1px solid var(--borders);
    }

    .unmatched-table .no-data {
        text-align: center;
        color: #6c757d;
        font-style: italic;
        padding: 20px;
    }

.action-button {
    padding: 4px 8px;
    font-size: 12px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
}

    .action-button.investigate {
        background-color: #007bff;
        color: white;
    }

        .action-button.investigate:hover {
            background-color: #0056b3;
        }

/* Loading Section Styles */
.loading-section {
    margin: 30px 0;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 12px;
    border: 1px solid #dee2e6;
}

.loading-header {
    text-align: center;
    margin-bottom: 30px;
}

    .loading-header h3 {
        color: #495057;
        margin-bottom: 10px;
        font-size: 24px;
        font-weight: 600;
    }

.progress-info {
    color: #6c757d;
    font-size: 16px;
}

.progress-container {
    margin-bottom: 30px;
}

.progress-bar {
    width: 100%;
    height: 20px;
    background-color: #e9ecef;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 20px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #007bff, #0056b3);
    border-radius: 10px;
    transition: width 0.3s ease;
    width: 0%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.7;
    }

    100% {
        opacity: 1;
    }
}

.progress-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.progress-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    background: white;
    border-radius: 8px;
    border: 1px solid #dee2e6;
}

.progress-label {
    font-weight: 600;
    color: #495057;
}

.progress-status {
    color: #007bff;
    font-weight: 500;
}

.loading-skeleton {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.skeleton-table {
    background: white;
    border-radius: 8px;
    padding: 20px;
    border: 1px solid #dee2e6;
}

.skeleton-header {
    height: 20px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 4px;
    margin-bottom: 15px;
}

.skeleton-row {
    height: 16px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 4px;
    margin-bottom: 10px;
}

    .skeleton-row:nth-child(2) {
        animation-delay: 0.1s;
    }

    .skeleton-row:nth-child(3) {
        animation-delay: 0.2s;
    }

    .skeleton-row:nth-child(4) {
        animation-delay: 0.3s;
    }

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

/* Responsive design */
@media (max-width: 1200px) {
    .orders-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .loading-skeleton {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .progress-details {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .unmatched-summary {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .unmatched-details {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .form-control {
        min-width: 100%;
    }

    .orders-table th,
    .orders-table td {
        padding: 8px 4px;
        font-size: 12px;
    }

    .loading-section {
        padding: 20px;
    }

    .loading-header h3 {
        font-size: 20px;
    }

    .progress-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
}