.btn-section {
    padding-top: 30px;
}

.btn {
    display: inline-block;
    padding: 10px 36px;
    margin: 0px;
    color: white;
    text-align: center;
    text-decoration: none;
    border-radius: 0px;
    font-weight: 500;
    font-size: 18px;
}

.btn-primary {
    --bs-btn-color: #fff;
    --bs-btn-bg: #000000;
    --bs-btn-border-color: #000000;
    --bs-btn-hover-color: #000;
    --bs-btn-hover-bg: #dee2e6;
    --bs-btn-hover-border-color: #dee2e6;
    --bs-btn-focus-shadow-rgb: 49, 132, 253;
    --bs-btn-active-color: #000;
    --bs-btn-active-bg: #dee2e6;
    --bs-btn-active-border-color: #dee2e6;
    --bs-btn-active-shadow: unset;
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: #000000;
    --bs-btn-disabled-border-color: #000000;
}

.btn-check:checked+.btn:focus-visible,
 :not(.btn-check)+.btn:active:focus-visible,
.btn:first-child:active:focus-visible,
.btn.active:focus-visible,
.btn.show:focus-visible {
    box-shadow: unset;
}

#cameraStream {
    display: none;
    width: 100%;
    height: auto;
    border: 1px solid #ccc;
    margin-top: 10px;
}

.logged-in #wpadminbar {
    display: none;
}

.login-wrapper {
    background-color: #000000;
    padding: 15px 0;
}

.company-logo img {
    filter: invert(1);
}

.login-wrapper_details {
    display: flex;
    align-items: center;
}

.login-wrapper_details .descrption {
    color: #fff;
    margin-left: auto;
    font-weight: 500;
    font-size: 16px;
    margin-bottom: 0px;
}

.login-wrapper_details .descrption span {
    text-transform: uppercase;
    color: #c36;
}

.logout_link a {
    color: #000000;
    padding: 8px 32px;
}

.logout_link .btn-primary {
    --bs-btn-bg: #ffffff;
    --bs-btn-color: #000000;
    --bs-btn-border-color: #ffffff;
}


/*login page design*/

.navbar {
    display: none;
}

div#wrapper-footer-colophon {
    padding: 0px !important;
}

.login_page_section {
    display: flex;
    min-height: 100vh;
    align-items: center;
    background-color: #E9E8EB;
}

.login_page_section .container {
    max-width: 400px;
    width: 100%;
    height: 100vh;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.login-card {
    background-color: #fff;
    padding: 50px 25px;
    box-shadow: 0px 4px 34px rgba(0, 0, 0, 0.12);
}

.login-card h2 {
    color: #333;
    text-align: center;
}

form {
    display: flex;
    flex-direction: column;
}

.login-card input {
    padding: 10px;
    margin-bottom: 16px;
    border: 1px solid #ccc;
}

button {
    background-color: #007BFF;
    color: #fff;
    padding: 12px;
    border: none;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #0056b3;
}

form .forgot-pass a {
    color: #3498db;
    text-decoration: none;
}

form .forgot-pass a:hover {
    text-decoration: underline;
}

.forgot-link {
    margin-bottom: 25px;
}

.form-control {
    background: #FEFEFE;
    border: 1px solid #D8D9DE;
    height: 54px;
    border-radius: 3px;
    margin-bottom: 16px;
    outline: unset;
}

.form-control:focus {
    box-shadow: unset;
    border-color: unset !important;
}

.forgot-link a {
    color: #000000;
    text-decoration: unset;
    font-weight: 600;
}

.forgot-link a:hover {
    text-decoration: underline;
}

.company-logo img {
    filter: invert(1);
    max-width: 150px;
    height: auto;
}

.clock {
    font-size: 2rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
}

.date {
    font-size: 1.2rem;
    color: #6c757d;
    text-align: center;
}

#message {
    display: none;
    /* Hidden by default */
    margin-top: 10px;
    padding: 10px;
    background-color: #e7f3fe;
    color: #31708f;
    border: 1px solid #bce8f1;
    border-radius: 5px;
}

#loadingOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.progress-bar-container {
    width: 80%;
    max-width: 400px;
    height: 40px;
    background-color: #ccc;
    border-radius: 50px;
    overflow: hidden;
    border: 3px solid #111;
}

.progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #4caf50, #81c784);
    animation: loadingProgress 2s infinite;
    transition: width 0.4s ease;
}

@keyframes loadingProgress {
    0% {
        width: 0%;
    }
    100% {
        width: 100%;
    }
}

#popupMsg {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #d4edda;
    color: #155724;
    padding: 85px 30px;
    border: 2px solid #d4edda;
    border-radius: 8px;
    z-index: 9999;
    font-weight: bold;
    text-align: center;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
    min-width: 350px;
    font-size: 18px;
    line-height: normal;
    word-break: keep-all;
}

#popupClose {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #008000;
    border-radius: 50%;
    width: 25px;
    height: 25px;
    font-size: 18px;
    cursor: pointer;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-section button:not(:disabled) {
    background-color: green;
    /* Green background when enabled */
}

.btn-section label.error {
    color: red;
    margin-bottom: 5px;
    font-weight: 600;
}

#cameraError {
    color: red;
    display: none;
    font-weight: 600;
    font-size: 16px;
}

.loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999;
    display: none;
}

.loader img {
    width: 50px;
    height: 50px;
}

#imagePreview {
    max-width: 100px;
    max-height: 100px;
    margin-top: 10px;
}

#outletSelect,
#outletSearch {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
}

#outletList {
    display: none;
    max-height: 150px;
    overflow-y: auto;
    border: 1px solid #ccc;
    background-color: white;
    position: absolute;
    width: 100%;
}

.dropdown-item {
    padding: 10px;
    cursor: pointer;
}

.dropdown-item:hover {
    background-color: #f1f1f1;
}

.button-menu {
    list-style: none;
    /* Remove bullet points */
    padding: 0;
    /* Remove padding */
    margin: 0;
    /* Remove margin */
}

.button-menu li {
    display: inline-block;
    /* Display items in a line */
}

.btn.btn-left {
    border-end-start-radius: 20px;
    border-start-start-radius: 20px;
}

.btn.btn-right {
    border-end-end-radius: 20px;
    border-start-end-radius: 20px;
}


/** Invoice Form css start **/

.title {
    font-size: 40px;
    font-weight: 600;
    line-height: 45px;
    color: var(--bs-black)
}

.sub-title {
    font-size: 26px;
    font-weight: 600;
    line-height: 35px;
    color: var(--bs-black);
    font-family: titillium web, Sans-serif;
    margin-bottom: 26px;
    border-bottom: 1px solid #e2e2e2;
    padding-bottom: 18px
}

.btn {
    --bs-btn-padding-x: 22px;
    --bs-btn-padding-y: 10px;
    font-weight: 500;
    --bs-btn-border-radius: 0px
}

.btn-primary,
[type=button],
[type=submit],
button {
    --bs-btn-color: #fff;
    --bs-btn-bg: var(--bs-black);
    --bs-btn-border-color: var(--bs-black);
    --bs-btn-hover-color: var(--bs-black);
    --bs-btn-hover-bg: transparent;
    --bs-btn-hover-border-color: var(--bs-black);
    --bs-btn-focus-shadow-rgb: unset;
    --bs-btn-active-color: var(--bs-black);
    --bs-btn-active-bg: transparent;
    --bs-btn-active-border-color: var(--bs-black);
    --bs-btn-active-shadow: unset;
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: var(--bs-black);
    --bs-btn-disabled-border-color: var(--bs-black)
}

.spinner-border {
    --bs-spinner-width: 22px;
    --bs-spinner-height: 22px;
    --bs-spinner-border-width: 0.2em
}

.invoice-form_section {
    padding-top: 60px;
    padding-bottom: 60px
}

.invoice-form_section .container {
    box-shadow: 0 10px 18px rgba(0, 0, 0, .1);
    background-color: var(--bs-white);
    border: 1px solid var(--bs-gray-300);
    border-radius: 8px;
    max-width: 950px;
    width: 100%;
    padding: 30px 35px 40px
}

.supplier-details_card {
    padding-top: 30px;
    padding-bottom: 20px
}

.name-group {
    margin-top: 2px
}

.form-label {
    color: #111;
    font-size: 14px;
    line-height: normal;
    text-transform: uppercase;
    margin-bottom: 8px;
    font-weight: 600
}

.form-check {
    margin-bottom: 12px;
    position: relative
}

.invoice-form_section .form-group {
    margin-bottom: 25px;
    position: relative
}

.invoice-form_section .form-control {
    border: 1px solid rgb(206 212 218/45%)!IMPORTANT;
    background-color: #f2f6f9
}

.invoice-form_section .form-control:focus,
.invoice-form_section .form-check-input:focus {
    box-shadow: unset;
    border: 1px solid var(--bs-black)!important
}

.invoice-form_section .form-check-inline {
    padding-top: 6px
}

.invoice-form_section .form-check .form-check-input {
    margin-top: 7px
}

.invoice-form_section .form-check-input:checked {
    background-color: #111;
    border-color: #111
}

.invoice-form_section .status-supplier .form-check-inline {
    padding-top: 0;
    padding-bottom: 25px
}

.status-supplier .form-label {
    font-weight: 700
}

.star {
    color: #bf0000;
    padding-left: 5px;
    font-size: 15px
}

[type=button]:focus,
[type=button]:hover,
[type=submit]:focus,
[type=submit]:hover,
button:focus,
button:hover {
    background-color: initial;
    color: #000
}

.invoice_card-detail {
    margin-bottom: 22px;
    border-bottom: none;
    padding-bottom: 18px
}

.invoice_card-detail .description p {
    margin-bottom: 0;
    font-size: 13px;
    line-height: 18px
}

.invoice_card-detail h3 {
    margin-bottom: 8px;
    padding-bottom: 0;
    border: none
}

.invoice-form_section .form-control {
    border: 1px solid rgb(206 212 218/45%)!IMPORTANT;
    background-color: #fff
}

.invoice-form_card {
    padding: 30px 20px;
    border: 1px solid #000;
    border-radius: 4px;
    position: relative;
    margin-bottom: 30px
}

.invoice-link {
    margin-top: 35px
}

.date .input-group-addon.input-group-text {
    padding-top: 0px;
    padding-bottom: 0px;
    height: 42px;
}

.datepicker table th,
table td {
    padding: 14px;
    line-height: 1.5;
    vertical-align: top;
}

.date-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='currentColor' class='bi bi-calendar-fill' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 0a.5.5 0 0 1 .5.5V1h8V.5a.5.5 0 0 1 1 0V1h1a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V5h16V4H0V3a2 2 0 0 1 2-2h1V.5a.5.5 0 0 1 .5-.5'/%3E%3C/svg%3E");
    height: 16px;
    width: 16px;
    background-size: 16px;
    background-repeat: no-repeat;
}

.btn-close {
    box-sizing: content-box;
    width: 20px;
    height: 20px;
    padding: 0;
    color: #000;
    background: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 16 16%22 fill=%22%23fff%22%3E%3Cpath d=%22M.293.293a1 1 0 011.414.0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293A1 1 0 01.293 14.293L6.586 8 .293 1.707a1 1 0 010-1.414z%22/%3E%3C/svg%3E")50%/10px no-repeat;
    opacity: 1;
    cursor: pointer;
    border: 1px solid #111;
    border-radius: 50px;
    background-size: 8px;
    position: absolute;
    right: -10px;
    top: -10px;
    background-color: #111;
    cursor: poniter
}

.btn-close:hover {
    opacity: 1
}

.input-group-text {
    cursor: pointer
}

.billing-entity_card {
    padding-top: 35px
}

.confirmtion_card {
    padding-top: 30px
}

.confirmtion_card .form-check-label {
    line-height: 24px
}

.invoice-form_section button#submit_form {
    display: inline-flex;
    align-items: center;
    gap: 10px
}

.file-select {
    display: block;
    border: 2px dashed #11111173!IMPORTANT;
    cursor: pointer;
    height: 100px;
    background: #fff;
    overflow: hidden;
    position: relative;
    border-radius: 4px;
    padding: 20px;
    text-align: center
}

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

.email-description {
    font-size: 13px;
    line-height: normal;
    margin-top: 4px
}

.signature_canvas {
    background-color: #fff;
    box-shadow: 0 0 20px 1px #ddd;
    margin-top: 15px;
    border-radius: 4px;
    position: relative;
    height: 150px;
    border: 1px dashed rgb(17 17 17/45%)
}

.signature_submit {
    cursor: url(https://www.showbrothers.sg/wp-content/themes/hello-theme-child-master/assets/css/../images/vector-pen.svg), auto
}

.clear-signature {
    position: absolute;
    right: 28px;
    top: 20px;
    color: #000;
    text-decoration: unset;
    font-weight: 600;
    font-weight: 700;
    font-size: 14px
}

.submit_invoice textarea {
    height: 100px!important;
}

.billing-entity_card .nav-pills .nav-link {
    border-radius: 0;
    --bs-nav-link-padding-x: 9px;
    padding-top: 5px;
    padding-bottom: 0;
    font-weight: 600;
    color: #000;
    cursor: pointer
}

.billing-entity_card .nav-pills .nav-link.active,
.billing-entity_card .nav-pills .show>.nav-link {
    background-color: initial;
    color: #000;
    border-bottom: 1px solid #000
}

.invoice-form_section .signature_type .form-control:focus,
.invoice-form_section .signature_type .form-check-input:focus {
    border: none!important
}

.invoice-form_section .form-control {
    height: 42px;
}

.signature_type .form-control {
    height: 148px;
    border: none!important;
    padding: 0 15px;
    font-size: 80px;
    line-height: normal;
    font-family: great vibes, cursive;
    text-align: center
}

.toast-container {
    width: 15%;
    position: fixed;
    pointer-events: none
}

.toast-top-right {
    top: 50px;
    right: 12px
}

.confirmtion_content {
    position: relative
}

.invoice-form_section label.error,
.signature_canvas_box .error {
    font-size: 14px;
    margin: 0;
    position: absolute;
    bottom: -16px;
    left: 0;
    color: #f33;
}

.submission-icon img {
    height: 100px
}

.submission-card_wrapper {
    max-width: 650px;
    width: 100%;
    margin: 0 auto
}

.submission-icon {
    margin-bottom: 10px
}

.submission-card_wrapper .title {
    font-weight: 700;
    margin-bottom: 15px
}

.paynow label.error {
    white-space: nowrap
}
.clock-in_checklist_section {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    overflow-y: auto;
}
.clock-in_checklist_section .title {
    font-weight: 700;
    font-size: 28px;
    line-height: 40px;
    text-transform: uppercase;
}
.clock-in_checklist_section .sub-title {
    font-size: 18px;
    font-weight: 700;
    line-height: 28px;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 2px dotted #e2e2e2;
    margin-top: 20px;
}

.declaration_list-item .form-check-input {
    width: 20px;
    height: 20px;
}
.form-check-input[type=checkbox] {
    border-radius: 3px;
}
.declaration_list-item .form-check-input:checked {
    background-color: #111;
    border-color: #111;
    background-size: 20px;
}
.declaration_list-item .form-check-label {
    padding-left: 5px;
}
.declaration_list-item .form-check-input:focus {
    box-shadow :unset;
}
.clock-in_checklist_section .container {
    position: relative;
    box-shadow: 0 10px 18px rgba(0, 0, 0, .1);
    background-color: var(--bs-white);
    border: 1px solid var(--bs-gray-300);
    border-radius: 8px;
    max-width: 850px;
    width: 100%;
    padding: 30px 35px 40px;
}
.clock-in_checklist_section .checkall{
    padding: 8px 12px;
}
.clock-in_checklist_section .btn.btn-outline-primary {
    background-color: transparent;
    color: #000000;
    padding: 8px 12px;
}
.clock-in_checklist_section .btn.btn-outline-primary:hover,
.clock-in_checklist_section .btn.btn-outline-primary:active {
    background-color: #000000;
    color: #ffffff;
}
@media(max-width: 991.98px) {
    .invoice-form_section .container {
        max-width: 100%
    }
    .billing-entity {
        margin-bottom: 30px
    }
    .confirmtion_card {
        padding-top: 20px;
        padding-bottom: 25px
    }
    .invoice-form_section {
        padding-left: 10px;
        padding-right: 10px
    }
}

@media(max-width: 767.98px) {
    .title {
        font-size: 28px;
        line-height: 35px
    }
    .invoice-form_section .container {
        padding: 30px 15px 40px
    }
    .invoice-form_section .status-supplier .form-check-inline {
        padding-bottom: 0
    }
    .status-supplier {
        padding-bottom: 20px
    }
    .invoice-form_section .form-group {
        margin-bottom: 18px
    }
    .name-group {
        margin-top: 0
    }
    .invoice_card-detail {
        margin-bottom: 10px;
        padding-bottom: 18px
    }
    .invoice-form_card {
        padding: 25px 15px 15px
    }
    .billing-entity_card .form-check-label {
        line-height: 24px
    }
    .order-register {
        position: relative;
        order: 1
    }
    .order-nrc {
        position: relative;
        order: 0
    }
    .progress-bar-container {
        max-width: 300px;
        height: 30px;
    }
}