:root {
    --brand-font: 'Source Sans 3', var(--bs-font-sans-serif);
    --heading-font: 'Open Sans', var(--bs-font-sans-serif);
    --form-font: 'Open Sans', var(--bs-font-sans-serif);
    --body-font: 'Open Sans', var(--bs-body-font-family);
    --light-bg: #FAFAFA;
    --border-color: #A0A0A0;
    --border-bold-color: #505050;
    --heading-font: 'Open Sans', var(--bs-font-sans-serif);
    --preview--text-muted: #808080;
    --preview--dark: #333;
    --dark-bg: #212529;
}

@page print {
    size: A4 portrait;
    margin: 0;
    page-break-after: auto !important;
}

/* bootstrap-extension.css */
@media (min-width: 1920px) {
    .offset-xxxl-2 {
        margin-left: 16.66666667%;
    }

    .col-xxxl-2 {
        flex: 0 0 auto;
        width: 16.66666667%;
    }

    .col-xxxl-3 {
        flex: 0 0 auto;
        width: 25%;
    }

    .col-xxxl-4 {
        flex: 0 0 auto;
        width: 33.33333333%;
    }

    .col-xxxl-5 {
        flex: 0 0 auto;
        width: 41.66666667%;
    }

    .col-xxxl-6 {
        flex: 0 0 auto;
        width: 50%;
    }

    .col-xxxl-7 {
        flex: 0 0 auto;
        width: 58.33333333%;
    }

    .col-xxxl-8 {
        flex: 0 0 auto;
        width: 66.66666667%;
    }

    .col-xxxl-9 {
        flex: 0 0 auto;
        width: 75%;
    }

    .col-xxxl-10 {
        flex: 0 0 auto;
        width: 83.33333333%;
    }
}

.fw-boldish {
    font-weight: 600;
}

.carousel-inner.carousel-inner-fast-transition .carousel-item {
    transition: transform .3s ease-in-out;
}

.btn.btn-custom-white {
    background-color: #fff;
    color: #212529;
    border-color: #ced4da;
}

.btn.btn-custom-white:hover {
    background-color: #e2e6ea; /* Slightly darker white on hover */
    border-color: #dae0e5;
}

.btn.btn-custom-white:active {
    background-color: #d3d9df; /* Even darker white when active */
    border-color: #c6cdd3;
}

.btn-clear {
    --bs-btn-active-border-color: transparent;
}

    .btn-clear:focus-visible {
        outline-color: transparent;
    }

.btn.btn-roundel {
    width: 2.5rem;
    height: 2.5rem;
    text-align: center;
    padding: 0;
}

.btn-group-top-right {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
}

.progress.progress-stripe-top {
    height: 5px;
    margin-bottom: -5px;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    font-family: var(--body-font);
}

.dashboard {
    min-height: 100vh;
    padding-top: 70px;
}

.dashboard .side-panel {
    min-height: 100vh;
    padding: 0.5rem 3.5rem;
}

.dashboard .content-panel.content-panel-preview {
    min-height: 100vh;
    padding: 2.5rem 0 0 0;
}

.top-nav {
    top: 0;
    z-index: 1000;
    height: 70px;
    margin-bottom: -70px;
}

.top-nav .login-controls ul li:nth-child(n+1) {
    margin-left: 2.5rem;
}

.top-nav ul.menu li:nth-child(n+2) {
    margin-left: 2.5rem;
}

.brand {
    padding: 0.5rem 0;
}

    .brand .brand-name {
        font-size: 25px;
    }

        .brand .brand-name.brand-name-sm {
            font-size: 22px;
        }

.brand-name {
    font-family: var(--brand-font);
    font-weight: 800;
}

h1 {
    font-family: var(--heading-font);
}

.divider {
    border-bottom: 1px solid var(--border-color);
}

.divider-bold {
    border-bottom: 3px solid var(--border-bold-color);
}

.invoice-entry-panel {
    margin-top: 3rem;
    padding: 0 0.23rem;
}

#invoice-preview-frame {
    width: 210mm;
    height: 297mm;
    overflow: hidden;
}

form {
    font-family: var(--form-font);
}

form label, button, .btn {
    font-weight: 600;
}

button, .btn {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    padding-top: 0.55rem;
    padding-bottom: 0.55rem;
}

.btn.btn-sm {
    padding-top: 0.35rem;
    padding-bottom: 0.35rem;
}

.clickable, label {
    cursor: pointer;
}

.accordion.seamless {
    --bs-accordion-bg: initial;
    --bs-accordion-border-width: 0;
    --bs-accordion-body-padding-x: 0;
    --bs-accordion-body-padding-y: 0;
}

.accordion.seamless .accordion-item .accordion-button {
    color: var(--bs-secondary-color) !important;
    --bs-accordion-inner-border-radius: 0;
    --bs-accordion-btn-focus-border-color: transparent;
    --bs-accordion-btn-focus-box-shadow: none;
    --bs-accordion-active-color: initial;
    --bs-accordion-active-bg: initial;
    --bs-accordion-border-width: 0;
    --bs-accordion-border-color: initial;
    --bs-accordion-btn-padding-y: 0;
    --bs-accordion-btn-padding-x: 0;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
}

.accordion.partition .accordion-item {
    margin-bottom: 2rem;
}

.accordion.partition .accordion-item:nth-of-type(n + 2) .accordion-header {
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
}

.accordion .accordion-body label {
    display: flex;
}

.accordion .accordion-body label button {
    margin-left: auto;
}

.invoice-entries .invoice-entry {
    margin-top: 3rem;
}

.toolbar {
    position: fixed;
    top: 0;
    right: 0;
    padding-top: 1.5rem;
    padding-right: 3rem;
}

@media screen {
    html, body {
        height: 100%;
    }

    .page {
        background-color: #FFF;
    }
}

@page {
    size: A4 portrait;
    margin: 0;
    page-break-after: auto !important;
}

@media print {
    .dashboard {
        min-height: initial;
        padding-top: 0;
    }

    .side-panel-form {
        display: none;
    }

    .document-preview {
        margin: 0;
        padding: 0;
        width: 210mm;
    }

    .modal {
        display: none;
    }
    
    .dashboard .content-panel.content-panel-preview {
        min-height: 100vh;
        padding: 0;
    }

    footer {
        display: none;
    }
}

@media print, screen {
    .page {
        width: 210mm;
        height: 297mm;
        position: relative;
        margin: auto;
    }

    .page .small-gap {
        margin-bottom: 20px !important;
    }
}

/* invoice-entry-panel.css */
.control-group-heading {
    font-weight: 700;
    color: var(--bs-secondary-color);
    font-size: 0.75rem;
    text-transform: uppercase;
}

/* invoice-list-table.css */

.invoice-list-table thead tr td {
    text-transform: uppercase;
    font-size: 0.875em;
    font-weight: 800;
    color: var(--bs-tertiary-color);
    text-align: center;
}

.invoice-list-table table tr td {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
    padding-left: 2rem;
    padding-right: 2rem;
}

.invoice-list-table tbody tr td {
    font-weight: 600;
    vertical-align: middle;
    text-align: center;
    font-size: 0.875em;
}

.invoice-list-table tbody tr td .btn {
    font-size: 0.875em;
}

.invoice-list-panel .number-heading {
    width: 190px;
}

.invoice-list-panel .total-heading {
    width: 100px;
}

.invoice-list-panel .recipient-heading {
    width: 220px;
}

.invoice-list-panel .date-heading {
    width: 190px;
}

.invoice-list-panel .status-heading {
    width: 100px;
}

.invoice-list-panel .action-heading {
    width: 160px;
}

/* prompt.css */
.delete-prompt.toast {
    --bs-toast-bg: rgba(var(--bs-body-bg-rgb), 1);
}

.prompt .prompt-body {
    position: relative;
}

.prompt .prompt-body > i {
    position: absolute;
    padding-top: 0.25rem;
}

.prompt .prompt-body [data-role="message"] > p:first-child:before {
    content: '      ';
    white-space: pre;
}

.prompt.prompt-success [data-role="message"] p a {
    color: #fff !important;
}

/* dashboard.css */
.dashboard.dashboard-one-column .content-panel {
    padding-top: 10rem;
}

/* status-bar.css */
.status-bar {
    transition: opacity 1s ease-in-out;
}

/* login-panel.css */
.login-panel {
    min-height: 100vh;
}

.login-panel .highlights-column {
    padding: 102px 3rem 3rem 3rem;
}

.login-panel .highlights-message-panel {
    height: 100%;
    width: 100%;
    background: #E9ECF5;
}

.login-panel .highlights-message-panel ul li {
    margin-bottom: 1.5rem;
}

.login-main {
    width: 500px;
}

/* document-preview.css */
@media screen {
    .document-preview {
        position: sticky;
        top: calc(70px + 2.5rem);
        margin: 0 auto;
    }

    .document-preview .preview-pages section:nth-of-type(n+2) {
        margin-top: 60px;
    }

        .document-preview .preview-pages {
            overflow: scroll;
            -ms-overflow-style: none;
            scrollbar-width: none;
            scroll-behavior: smooth;
            padding-bottom: 10rem;
            width: calc(210mm + 20mm);
            margin: 0 auto;
        }

    .document-preview .preview-pages::-webkit-scrollbar {
        display: none;
    }

    .document-preview .preview-pages-standalone {
        width: calc(210mm + 20mm);
        margin: 0 auto;
    }

    .command-panel {
        position: sticky;
        bottom: 0;
        text-align: right;
        margin-top: -7.5rem;
        background: #fff;
    }

    .command-list {
    }

    .command-list li:nth-child(n+2) {
        padding: 0.5rem;
    }
}

@media screen and (min-width: 1920px) {
    .document-preview .preview-pages {
        height: calc((1.1 * 297mm) + 10mm);
        transform: scale(1.1) translate(60px, 90px);
        padding-bottom: 20rem;
    }
}

/* footer.css */
footer {
    background-color: #f0f0f0;
    position: relative;
}

footer ul li:nth-child(n+2) {
    margin-top: 0.75rem;
}

/* article.css */
.article.article-legal {
    margin-top: 7rem;
    padding-bottom: 7rem;
}

/* Google Sign-in Button css */
.gsi-material-button {
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    -webkit-appearance: none;
    background-color: WHITE;
    background-image: none;
    border: 1px solid #747775;
    -webkit-border-radius: 20px;
    border-radius: 20px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    color: #1f1f1f;
    cursor: pointer;
    font-family: 'Roboto', arial, sans-serif;
    font-size: 14px;
    height: 40px;
    letter-spacing: 0.25px;
    outline: none;
    overflow: hidden;
    padding: 0 12px;
    position: relative;
    text-align: center;
    -webkit-transition: background-color .218s, border-color .218s, box-shadow .218s;
    transition: background-color .218s, border-color .218s, box-shadow .218s;
    vertical-align: middle;
    white-space: nowrap;
    width: auto;
    max-width: 400px;
    min-width: min-content;
}

.gsi-material-button .gsi-material-button-icon {
    height: 20px;
    margin-right: 12px;
    min-width: 20px;
    width: 20px;
}

.gsi-material-button .gsi-material-button-content-wrapper {
    -webkit-align-items: center;
    align-items: center;
    display: flex;
    -webkit-flex-direction: row;
    flex-direction: row;
    -webkit-flex-wrap: nowrap;
    flex-wrap: nowrap;
    height: 100%;
    justify-content: space-between;
    position: relative;
    width: 100%;
}

.gsi-material-button .gsi-material-button-contents {
    -webkit-flex-grow: 1;
    flex-grow: 1;
    font-family: 'Roboto', arial, sans-serif;
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    vertical-align: top;
}

.gsi-material-button .gsi-material-button-state {
    -webkit-transition: opacity .218s;
    transition: opacity .218s;
    bottom: 0;
    left: 0;
    opacity: 0;
    position: absolute;
    right: 0;
    top: 0;
}

.gsi-material-button:disabled {
    cursor: default;
    background-color: #ffffff61;
    border-color: #1f1f1f1f;
}

.gsi-material-button:disabled .gsi-material-button-contents {
    opacity: 38%;
}

.gsi-material-button:disabled .gsi-material-button-icon {
    opacity: 38%;
}

.gsi-material-button:not(:disabled):active .gsi-material-button-state,
.gsi-material-button:not(:disabled):focus .gsi-material-button-state {
    background-color: #303030;
    opacity: 12%;
}

.gsi-material-button:not(:disabled):hover {
    -webkit-box-shadow: 0 1px 2px 0 rgba(60, 64, 67, .30), 0 1px 3px 1px rgba(60, 64, 67, .15);
    box-shadow: 0 1px 2px 0 rgba(60, 64, 67, .30), 0 1px 3px 1px rgba(60, 64, 67, .15);
}

.gsi-material-button:not(:disabled):hover .gsi-material-button-state {
    background-color: #303030;
    opacity: 8%;
}

/* slider.css */
.business-profile-slider {
    position: relative;
    transition: height 0.5s ease-in-out;
    overflow: hidden;
}

.business-profile-slider .slider-item {
    transition: margin-top 0.5s ease-in-out, opacity 0.5s ease-in-out;
}

.business-profile-slider.slider-index-1 {
    overflow: hidden;
    height: calc(732px + 1rem);
}

.business-profile-slider.slider-index-1 .slider-item:nth-child(1) {
    margin-top: 0;
    opacity: 1;
}

.business-profile-slider.slider-index-1 .slider-item:nth-child(2) {
    opacity: 0;
}

.business-profile-slider.slider-index-2 {
    height: 1.5rem;
}

.business-profile-slider.slider-index-2 .slider-item:nth-child(1) {
    margin-top: -732px;
    opacity: 0;
}

.business-profile-slider .text-label-width {
    width: 92px;
}

.login-modal .left {
    padding: 7.5rem 0 7.5rem 5rem;
}

.login-modal .right {
    padding: 7.5rem 5rem 7.5rem 5rem;
    border-radius: var(--bs-modal-border-radius);
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    color: #fff;
}

.login-panel .promotion-panel, .login-modal .promotion-panel {
    background: radial-gradient(circle at center, #0077B6 0, #006AAF 93%, #0060A5 100%);
    color: #fff;
}

.login-modal .promotion ul li:nth-child(n + 1) {
    margin-top: 0.5rem;
}

/* summary-details-panel.css */
.summary-details-panel p {
    margin: 0;
}

.summary-details-panel .main-subject {
    font-weight: 700;
    --bs-text-opacity: 1;
    color: rgba(var(--bs-primary-rgb), var(--bs-text-opacity)) !important;
    padding: 0;
}

.summary-details-panel .line-item {
    margin-top: 0.5rem;
}

.summary-details-panel .line-item span:first-child {
    width: 92px;
    font-size: 0.875rem;
    color: var(--bs-secondary-color) !important;
    display: inline-block;
    text-transform: uppercase;
    text-align: end;
    margin-right: 1rem;
}

.summary-details-panel .line-item span:last-child {
    font-size: 0.875rem;
}

/* slider-group.css */
.slider-group {
    position: relative;
    transition: height 0.3s ease-in-out;
    overflow: hidden;
}

.slider-group .slider-item {
    transition: margin-top 0.3s ease-in-out, opacity 0.5s ease-in-out;
}

.slider-group.initial {
    height: 100px;
}

.slider-group.initial .slider-item {
    opacity: 0;
}

.slider-group .loader {
    height: 1px;
}

.slider-group.initialised .loader {
    display: none;
}

.slider-group.initialised .loader {
    opacity: initial;
}

/* business-logo-upload-control.css */
.business-logo-upload-control {
    position: relative;
    overflow: hidden;
}

.business-logo-upload-control[data-mode="form"] input[type="file"] {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    left: 0;
    top: 0;
}

    .business-logo-upload-control [data-roles~="business-logo-preview"] {
        display: none;
        position: relative;
        overflow: hidden;
    }

        .business-logo-upload-control [data-roles~="business-logo-preview"] [data-roles~="img-uploader-preview"] {
            padding-top: 1.25rem;
            padding-bottom: 1.25rem;
            width: 10rem;
            margin: 0 auto;
        }

.business-logo-upload-control.img-selected [data-roles~="business-logo-preview"] {
    display: block;
}

.business-logo-upload-control.img-selected.img-uploaded [data-roles~="business-logo-preview"] .progress {
    display: none;
}

.business-logo-upload-control.img-selected [data-roles~="business-logo-preview"] img {
    max-width: 100%;
    height: auto;
    opacity: 60%;
}

.business-logo-upload-control.img-selected.img-uploaded [data-roles~="business-logo-preview"] img {
    opacity: 100%;
}

.business-logo-upload-control.img-selected [data-role~="form"] {
    display: none;
}

    .business-logo-upload-control [data-role="button-group"] {
        z-index: 1000;
    }

/* file-uploader.css */
form[data-file-uploader] {
    position: relative;
}

form[data-file-uploader] input[type="file"] {
    opacity: 0;
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    cursor: pointer;
}

.business-logo-form {
    padding: 2.5rem 1.25rem;
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

.business-logo-form > div {
    float: left;
}

.business-logo-form .upload-image-icon {
    border: var(--bs-border-width) solid var(--bs-border-color);
    border-radius: var(--bs-border-radius-lg) !important;
    padding: 0.375rem 0.5rem;
}

.business-logo-form .upload-guide {
    color: rgba(var(--bs-primary-rgb));
    margin-left: 1rem;
}

.business-logo-form .upload-guide small {
    color: rgb(var(--bs-secondary-rgb));
    display: block;
    margin-top: 0.125rem;
}