@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

* {
    font-family: "Poppins", sans-serif;
}

body {
    background: linear-gradient(180deg, #F3B36C 0%, rgba(243, 179, 108, 0) 100%);
    background-repeat: no-repeat;
}

a, .btn-link {
    color: #006bb7;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.content {
    padding-top: 1.1rem;
}

h1:focus {
    outline: none;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.validation-message {
    color: #e50000;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44Nzc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Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
    text-align: start;
}


:root {
    --cj-rail-width: 72px;
    --cj-offcanvas-width: 300px;
    --cj-topbar-height: 128px;
    /* Unified sizing tokens */
    --cj-slot: 44px; /* icon hit area */
    --cj-footer-stack: 88px; /* space for rail footer items */
    --cj-avatar: 36px;
    /* Bootstrap integration */
    --bs-offcanvas-bg: var(--bs-tertiary-bg);
    --cj-content-padding: 1rem;
    --base-color: #A52F1D;
    --primary-color: #F8F9FA;
}

/* Layout */
.cj-main {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    min-height: calc(100dvh - 200px);
    flex-direction: column;
}

/* Top bar */
.cj-topbar {
    width: 100%;
    display: flex;
    height: 200px;
    align-items: center;
    justify-content: center;
}

.cj-topbar-logo {
    display: block;
}

/* Rail */
.cj-rail {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    width: var(--cj-rail-width);
    z-index: 1035;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 0 .5rem .75rem .5rem;
    background: var(--bs-tertiary-bg);
}

.cj-rail-top,
.cj-rail-bottom {
    display: flex;
    flex-direction: column;
}

.cj-rail-brand {
    height: var(--cj-topbar-height);
    font-size: 36px;
    font-weight: 700;
    color: #1D271F;
    text-decoration: none;
    margin: 35px 0;
    height: auto;
}

.cj-rail-nav {
    display: flex;
    flex-direction: column;
}

.cj-rail-link {
    height: var(--cj-slot);
    display: grid;
    place-items: center;
    border-radius: .75rem;
    text-decoration: none;
    color: inherit;
}

    .cj-rail-link:hover {
        background: rgba(0,0,0,.05);
    }

    .cj-rail-link.active {
        color: var(--bs-body-color);
        background-color: rgba(var(--bs-primary-rgb), 0.12);
        border-radius: 10px;
    }

/* Rail footer layout (no inline heights) */
.cj-rail-footer {
    display: flex;
    flex-direction: column;
}

.cj-rail-footer-items {
    height: var(--cj-footer-stack);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.cj-rail-footer-arrow {
    height: var(--cj-slot);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Offcanvas */
.cj-offcanvas {
    width: calc(var(--cj-rail-width) + var(--cj-offcanvas-width));
    z-index: 1050;
    --bs-offcanvas-bg: var(--bs-tertiary-bg);
    --bs-list-group-bg: var(--bs-tertiary-bg);
    background: var(--bs-tertiary-bg);
}

.offcanvas-start.cj-offcanvas {
    left: 0;
}

/* Header */
.cj-offcanvas .offcanvas-header {
    height: var(--cj-topbar-height);
    padding: 0;
    display: flex;
    align-items: center;
    background: var(--bs-tertiary-bg);
}

.cj-offcanvas-brand {
    height: var(--cj-topbar-height);
    display: flex;
    align-items: center;
    padding-left: var(--cj-rail-width);
    font-weight: 800;
    text-decoration: none;
    color: inherit;
    font-size: 36px;
}

/* Menu list rows */
.cj-offcanvas .list-group-item {
    min-height: var(--cj-slot);
    padding: 0;
    background: var(--bs-tertiary-bg);
    border-top: none;
    border-bottom: none;
}

    /* Icon column = rail width */
    .cj-offcanvas .list-group-item i {
        width: var(--cj-rail-width);
        display: inline-flex;
        justify-content: center;
    }

    .cj-offcanvas .list-group-item.active {
        color: var(--bs-body-color) !important;
        background-color: rgba(var(--bs-primary-rgb), 0.12) !important;
        border-color: rgba(var(--bs-primary-rgb), 0.25) !important;
        font-weight: 600;
    }

        .cj-offcanvas .list-group-item.active i {
            color: var(--bs-body-color) !important;
        }
/*Menu active*/
.cj-active-menu-list span {
    color: #1D271F !important;
}
/* Offcanvas footer (no inline heights) */
.cj-offcanvas-footer {
    margin-top: auto;
    display: flex;
    flex-direction: column;
}

.cj-offcanvas-footer-row {
    height: var(--cj-footer-stack);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1rem;
}

.cj-offcanvas-footer-arrow {
    height: var(--cj-slot);
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0 1rem;
}

.cj-avatar {
    width: var(--cj-avatar);
    height: var(--cj-avatar);
    border-radius: 999px;
    background: rgba(0,0,0,.12);
}

/* Parent menu row */
.cj-parent-item {
    background: var(--bs-tertiary-bg);
    border: none !important;
}

.list-group-item span {
    color: rgba(29, 39, 31, 0.6);
    font-size: 16px;
    font-weight: 500;
}

.cj-sub-spacer {
    width: var(--cj-rail-width);
    display: inline-block;
}

.cj-sub-item span {
    font-size: 16px;
    color: #1D271F;
}
/* Active sub item */
.cj-sub-item.active {
    background: rgba(0,0,0,.06);
    font-weight: 600;
}
/*text & title*/
.text-base {
    font-weight: 500;
    font-size: 14px;
    color: rgba(29, 39, 31, 0.6);
}

.text-primary {
}

.text-secondary {
}

.title-base {
    font-weight: 500;
    font-size: 24px;
    color: rgba(29, 39, 31, 1);
}

.title-primary {
    font-weight: 500;
    font-size: 16px;
    color: var(--base-color);
    line-height: 24px;
}

.title-secondary {
}
/*form*/
.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 12px;
    position: relative;
}

    .form-group label {
        font-weight: 400;
        font-size: 14px;
        color: #1D271F;
        margin-bottom: 5px;
    }

    .form-group input {
        width: 100%;
        border: 1px solid #1D271F99;
        height: 48px;
        border-radius: 6px;
        text-indent: 14px;
    }

    .form-group textarea {
        width: 100%;
        border: 1px solid #1D271F99;
        padding: 5px 14px;
        border-radius: 6px;
        min-height: 96px;
    }

    .form-group select {
        width: 100%;
        border: 1px solid #1D271F99;
        height: 48px;
        border-radius: 6px;
        text-indent: 14px;
    }

    .form-group .text-danger {
        position: absolute;
        right: 6px;
        bottom: 2px;
        font-size: 12px;
    }
/*global button*/
.cta {
    background: var(--base-color);
    box-shadow: 0px 20px 50px 0px #BF156C0D;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 400;
    color: #FCFCFC;
    border-radius: 8px;
    border: none;
    padding: 13px 40px;
    transition: ease-in-out all .5s;
    cursor: pointer;
}

    .cta:hover {
        opacity: 0.8;
    }

.cta2 {
    border: 1px solid var(--base-color) !important;
    box-shadow: 0px 20px 50px 0px #BF156C0D;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 400;
    color: var(--base-color);
    border-radius: 8px;
    border: none;
    padding: 13px 40px;
    transition: ease-in-out all .5s;
    cursor: pointer;
}

    .cta2:hover {
        opacity: 0.7;
    }

.cta3 {
    background: #e42627;
    box-shadow: 0px 20px 50px 0px #BF156C0D;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 400;
    color: #FCFCFC;
    border-radius: 8px;
    border: none;
    padding: 13px 40px;
    transition: ease-in-out all .5s;
    cursor: pointer;
}

    .cta3:hover {
        opacity: 0.8;
    }
/*forgot pass*/
.forgot-pass {
    margin-top: 12px;
}

    .forgot-pass a {
        color: #1D271F99;
        font-weight: 400;
        font-size: 14px;
    }

.form-group.checkbox input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
}

.form-group.checkbox span {
    width: 100%;
    position: relative;
    padding-left: 38px;
    display: inline-block;
    min-height: 24px;
    font-size: 14px;
    color: #1D271F;
}

    .form-group.checkbox span:before {
        content: '';
        width: 24px;
        height: 24px;
        position: absolute;
        top: -2px;
        left: 0;
        display: inline-block;
        background-image: url(images/no-cb.png);
        background-repeat: no-repeat;
        background-size: 24px;
    }

.form-group.checkbox .form-check-input:checked + span:before {
    background: url(images/cb.png);
}
/*global card*/
.custom-card {
    background: var(--primary-color);
    border: 1px solid #E6E6E6;
    box-shadow: 0px 20px 50px 0px #BF156C0D;
    border-radius: 16px;
    padding: 42px 40px;
    min-height: 290px;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .custom-card.no-hover:hover {
        opacity: 1 !important;
    }

    .custom-card:hover {
        opacity: 0.85;
    }

    .custom-card .card-body {
        display: flex;
        gap: 12px;
        flex-direction: column;
    }

    .custom-card i {
        color: var(--base-color);
        font-size: 24px;
    }

    .custom-card .h5 {
        font-weight: 500;
        font-size: 16px;
        color: var(--base-color) !important;
        line-height: 24px;
        margin-bottom: 0 !important;
    }
/*file input*/
.cj-file-input {
    position: relative;
    cursor: pointer;
}

    .cj-file-input input[type="file"] {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        opacity: 0;
        cursor: pointer;
        z-index: 10;
    }

    .cj-file-input i {
        color: #1D271F99;
    }

/*card list style*/
.card-list-style {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #E6E6E6;
}

    .card-list-style .card-header {
        min-height: 48px;
        color: var(--base-color);
        font-size: 14px;
        font-weight: 600;
        background: var(--primary-color);
        border-color: #fff;
    }

        .card-list-style .card-header a {
            color: var(--base-color);
            font-size: 14px;
            font-weight: 600;
        }

    .card-list-style .list-group-item {
        min-height: 48px;
        background: var(--primary-color);
        border-color: #fff;
    }

/*table style*/
.cj-table-style {
    background: none;
    border: none !important;
    box-shadow: none !important;
}

    .cj-table-style .table {
        border-collapse: separate;
        border-spacing: 0 12px;
    }

    .cj-table-style .table-responsive {
        padding: 15px;
        background: var(--primary-color);
        border-radius: 12px;
    }

        .cj-table-style .table-responsive tr,
        .cj-table-style .table-responsive td,
        .cj-table-style .table-responsive th {
            background: none;
            border-color: #fff;
        }

        .cj-table-style .table-responsive th {
            color: var(--base-color);
            font-size: 14px;
            font-weight: 600;
        }

        .cj-table-style .table-responsive tr {
            font-size: 12px;
            font-weight: 400;
        }

    .cj-table-style .text-secondary {
        font-size: 12px;
        color: #1D271F;
    }

    .cj-table-style .card-body {
        padding: 0;
    }
/*status badge background*/
.badge-status {
    display: flex !important;
    gap: 6px !important;
    padding: 10px 20px !important;
    border-radius: 14px !important;
    color: #fff !important;
    width: min-content !important;
    align-items: center;
    font-size:12px;
    line-height:1;
}

    .badge-status i {
        color: #fff;
    }

.min-w-static {
    width: 110px !important;
    justify-content: center;
}

.cj-type-green {
    background: #26BC8A !important;
}

.cj-type-red {
    background: #FF4D4E !important;
}

.cj-type-orange {
    background: #FF6100 !important;
}

.cj-type-gray {
    background: #1D271F99 !important;
}

.cj-type-darkRed {
    background: #e42627 !important;
}

.cj-type-blue {
    background: #1b6ec2 !important;
}

.min-h-auto {
    min-height: auto;
}

.align-items-normal {
    align-items: normal !important;
}
