.fs-large {
    font-size: 46px !important;
}

.text-brown {
    color: #fe6601 !important;
}

.fs-small {
    font-size: 12px;
}

.menu-link.active .menu-arrow {
    color: #000 !important;
}

.profile-name {
    margin-top: 10px;
}

.custom-link {
    padding-left: 20px !important;
    padding-right: 0px !important;
}


@media (min-width: 992px) {
    .mobile-heading-text {
        display: none;
    }

    .secondary-sidebar-custom {
        margin-top: 3%;
        margin-bottom: 3%;
        margin-left: 30px;
    }

    .custom-wrapper {
        padding-left: 260px !important;

    }

    .office-contact-icon {
        padding-left: 2% !important;
    }
}

.centered-content {
    justify-content: center !important;
    align-items: center !important;
    align-content: center !important;
}

.text-black-400 {
    color: #000 !important;
    font-weight: 400 !important;
}

.text-black-700 {
    color: #000 !important;
    font-weight: 700 !important;
}

.btn-custom {
    background-color: #fff !important;
    color: #000 !important;
    border-radius: 8.701px !important;
    border: 2.175px solid #fe6601 !important;
    /* border: 2.175px solid #fe6601 !important; */
    width: 100px;
    transition: background-color 0.3s, color 0.3s, border-color 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.office-contact-icon i {
    font-size: 15px;
}

.menu-link.active {
    background-color: #585858 !important;
    /* background-color: #fe6601 !important; */
    color: #000 !important;
}

.menu-link.active::after {
    content: '';
    position: absolute;
    width: 0px;
    left: 0;
    height: 0;
    border-top: 30px solid transparent;
    border-left: 20px solid #fff;
    border-bottom: 30px solid transparent;
}


.menu-link.active span {
    color: #000 !important;
}

.menu-link.active .menu-arrow {
    color: #000 !important;
}

.modal-header {
    background: linear-gradient(145deg, #F4F5F7 60%, #fa9954 50%, #ffaf61 100%) !important;
    border-radius: 40px 40px 0 0 !important;
}

.model-body {
    background: linear-gradient(145deg, #F4F5F7 60%, #fa9954 50%, #ffaf61 100%) !important;
}

.modal-content {
    border-radius: 40px !important;
}

.modal-rounded {
    border-radius: 40px !important;
}

@media (max-width: 991px) {
    .custom-header {
        background: linear-gradient(90deg, rgba(255, 183, 77, 0.21) 15.92%, rgba(255, 255, 255, 0.50) 103.46%);
    }

    .mobile-heading-text {
        display: block !important;
        padding-left: 15px;
        padding-top: 15px;
    }

    .mobile-heading-text h4 {
        font-size: 25px;
    }

    .btn-custom {
        width: 60px !important;
    }
}

.office-contact-icon .menu-title {
    margin-top: 0px !important;
}

.aside-custom {
    position: relative;
    background: linear-gradient(145deg, #F4F5F7 60%, #E5E7EB 50%, #D1D5DB 100%);
    z-index: 3;
    overflow: hidden;
}

/* Custom right-side shadow */
.aside-custom::after {
    content: "";
    position: absolute;
    top: 10%;
    /* top 30% no shadow */
    right: 0;
    width: 1px;
    height: 90%;
    box-shadow: 8px 0 12px rgba(0, 0, 0, 0.45);
    pointer-events: none;
}

.content.d-flex.flex-column.flex-column-fluid>* {
    flex-shrink: 0;
}


/* start inward and outward css */
.div-steps {
    top: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 100.43px;
    position: relative;
    flex: 0 0 auto;
}

.steps {
    padding: 10.25px 13.05px;
    border-bottom-width: 2.56px;
    border-bottom-style: solid;
    border-color: transparent;
    display: inline-flex;
    align-items: center;
    gap: 10.25px;
    position: relative;
    flex: 0 0 auto;
    border-radius: 2.56px;
    cursor: pointer;
}

.steps.active {
    border-color: grey;
}

.img {
    position: relative;
    width: 30.75px;
    height: 30.75px;
}

.text-wrapper,
.text-wrapper-2 {
    position: relative;
    width: fit-content;
    font-family: "IBM Plex Sans-Bold", Helvetica;
    font-weight: 700;
    font-size: 21.8px;
    letter-spacing: 0;
    line-height: 32.6px;
    white-space: nowrap;
}

.text-wrapper {
    color: var(--basegray-400);
}

.text-wrapper-2 {
    color: var(--basegray-200);
}

@media (max-width: 580px) {
    .div-steps {
        flex-direction: row !important;
        /* Ensures horizontal layout */
        justify-content: center !important;
    }
}

@media (max-width: 992px) {
    .div-steps {
        flex-direction: row !important;
        /* Ensures horizontal layout */
        justify-content: center !important;
    }
}

/* Media query for smaller screens */
@media (max-width: 768px) {
    .div-steps {
        flex-direction: row;
        justify-content: space-around;
        gap: 20px;
        width: 100%;
    }

    .steps {
        padding: 8px 10px;
    }

    .img {
        width: 25px;
        height: 25px;
    }

    .icons {
        width: 20px;
        height: 30px;
    }

    .text-wrapper,
    .text-wrapper-2 {
        font-size: 18px;
    }

}

.fs-large {
    font-size: 30px !important;
}

.sidebar-heading {
    font-size: 25px !important;
}

.text-brown {
    color: #743535;
}

.fs-small {
    font-size: 12px;
}

.menu-link.active .menu-arrow {
    color: #000 !important;
}

.text-hover-orange:hover {
    transition: color 0.2s ease;
    color: rgba(0, 0, 0, 0.64);
}

.profile-name {
    margin-top: 10px;
}

.custom-link {
    padding-left: 20px !important;
    padding-right: 0px !important;
}

.menu-link:hover {
    background-color: #ffc19e !important;
    color: #138804 !important;
}

.menu-title:hover {
    color: rgb(0, 0, 0) !important;
}

@media (min-width: 992px) {
    .mobile-heading-text {
        display: none;
    }

    .secondary-sidebar-custom {
        width: 230px !important;
        margin-top: 3%;
        margin-bottom: 3%;
        margin-left: 30px;
    }

    .custom-wrapper {
        padding-left: 260px !important;
    }
}

.centered-content {
    justify-content: center !important;
    align-items: center !important;
    align-content: center !important;
}

.sidebar-logo {
    padding-bottom: 5%;
}

.text-black-400 {
    color: #000 !important;
    font-weight: 400 !important;
}

.text-black-700 {
    color: #000 !important;
    font-weight: 700 !important;
}

.custom-menu .menu-link {
    padding-bottom: 3% !important;
    padding-top: 3% !important;
    margin-top: 5px !important;
}

.btn-custom {
    background-color: #fff !important;
    color: #000 !important;
    border-radius: 8.701px !important;
    border: 2.175px solid #fe6601 !important;
    width: auto;
    transition: background-color 0.3s, color 0.3s, border-color 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.btn-custom:hover {
    background: #fe6601;
    color: #000;
}

.office-contact-icon i {
    font-size: 15px;
}

.menu-link {
    display: flex;
    align-items: center;
    padding: 9px;
    background-color: transparent;
    color: #fff;
    text-decoration: none;
    position: relative;
    width: 233px;
}

.menu-link.active {
    color: #000 !important;
}

.menu-link.active::after {
    content: '';
    position: absolute;
    width: 0px;
    left: 0;
    height: 0;
    border-top: 0px solid transparent;
    border-left: 0px solid #fffaf5;
    border-bottom: 30px solid transparent;
}

.menu-link.active span {
    color: #ffffff !important;
}

/* .menu-link.active span {
    color: #000 !important;
} */

.menu-link.active .menu-arrow {
    color: #000 !important;
}

@media (max-width: 991px) {
    .custom-header {
        background: linear-gradient(145deg, #F4F5F7 60%, #E5E7EB 50%, #D1D5DB 100%);
        position: sticky;
        top: 0;
        z-index: 50;
    }

    .mobile-heading-text {
        display: block !important;
        padding-left: 15px;
        padding-top: 15px;
    }

    .mobile-heading-text h4 {
        font-size: 25px;
    }

    .btn-custom {
        width: 100px !important;
    }
}

.office-contact-icon .menu-title {
    margin-top: 0px !important;
}

/* start inward and outward css */
.div-steps {
    top: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 100.10px;
    position: relative;
    flex: 0 0 auto;
}

.steps {
    padding: 10.25px 13.05px;
    border-bottom-width: 2.56px;
    border-bottom-style: solid;
    border-color: transparent;
    display: inline-flex;
    align-items: center;
    gap: 10.25px;
    position: relative;
    flex: 0 0 auto;
    border-radius: 2.56px;
    cursor: pointer;
}

.steps.active {
    border-color: grey;
}

.img {
    position: relative;
    width: 30.75px;
    height: 30.75px;
}

.text-wrapper,
.text-wrapper-2 {
    position: relative;
    width: fit-content;
    font-family: "IBM Plex Sans-Bold", Helvetica;
    font-weight: 700;
    font-size: 21.8px;
    letter-spacing: 0;
    line-height: 32.6px;
    white-space: nowrap;
}

.text-wrapper {
    color: var(--basegray-400);
}

.text-wrapper-2 {
    color: var(--basegray-200);
}

/* Media query for smaller screens */
@media (max-width: 768px) {
    .div-steps {
        flex-direction: row;
        justify-content: space-around;
        gap: 5px;
        width: 100%;
    }

    .steps {
        padding: 8px 10px;
    }

    .img {
        width: 25px;
        height: 25px;
    }

    .icons {
        width: 20px;
        height: 30px;
    }

    .text-wrapper,
    .text-wrapper-2 {
        font-size: 18px;
    }
}

/* end inward and outward css */
.visitor-details {
    background-color: rgba(255, 214, 139, 0.2);
    padding: 15px;
    border-radius: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: inset 3px 3px 10px rgba(0, 0, 0, 0.1),
        4px 4px 12px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

.visitor-details:hover {
    box-shadow: inset 4px 4px 12px rgba(0, 0, 0, 0.15),
        6px 6px 15px rgba(0, 0, 0, 0.3);
}

.visitor-img {
    height: 50px;
    width: 50px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid rgba(0, 0, 0, 0.1);
}

.visitor-content {
    background-color: #f0f0f0;
    border-radius: 10px;
    margin-top: 10px;
}

.section-visitor {
    border: 1px;
    border-color: #000;
}

/* Media Queries */
@media (max-width: 810px) {
    .visitor-details {
        width: 670px;
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 768px) {
    .visitor-details {
        width: 640px;
        padding: 10px;
    }
}

@media (max-width: 575px) {
    .visitor-details {
        width: 310px;
        padding: 8px;
    }
}

@media (max-width: 475px) {
    .visitor-details {
        width: 295px;
        padding: 8px;
    }
}

@media (max-width: 375px) {
    .visitor-details {
        width: 254px;
        padding: 4px;
    }
}

.modal-dialog {
    max-width: 100%;
}

/* end inward and outward css */

/* Start Sidebar css */
.sidebar-menu-link {
    left: 25px;
}

.sidebar-menu-link {
    left: 25px;
}

.menu-sub {
    display: none;
}

.menu-sub.active {
    display: block;
}

.menu-img {
    padding-right: 10px;
}

.nav-link {
    padding-top: 20px;
    padding-bottom: 15px;
}

.dropdown-menu {
    display: none;
    position: absolute;
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-item:hover .dropdown-menu {
    display: block;
}

.nav-item {
    position: relative;
}

.dropdown-menu li {
    margin: 0;
    padding: 0;
}

.dropdown-menu a {
    display: block;
    padding: 10px;
}

.aside-primary {
    height: 100vh;
    overflow-y: auto;
}

#kt_aside_nav_tabs {
    padding-left: 20px;
    padding-right: 20px;
}

.aside-primary::-webkit-scrollbar {
    width: 8px;
}

.aside-primary::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 10px;
}

.aside-primary::-webkit-scrollbar-thumb:hover {
    background: #555;
}

@media all {
    aside .aside-extended {
        top: 0px !important;
        margin-right: 0px !important;
    }
}

.search-login {
    border-radius: 2.475rem !important;
}

.gradient-event-vertical {
    background: linear-gradient(to bottom, #ff0000, #FFCCCC) !important;
    color: white;
    border: none;
}

.readonly-select {
    background-color: #dadcdfa8;
    cursor: not-allowed;
}

#complaintToggle,
#eventToggle {
    display: none;
}

.show {
    display: block;
}

.menu-arrow {
    display: inline-block;
    transition: transform 0.3s ease;
}

[aria-expanded="true"] .menu-arrow {
    transform: rotate(180deg);
}

.search-icon-right {
    position: absolute;
    right: 10px;
    cursor: pointer;
}

#customerHistoryTableContainer {
    border: solid 1px #c0bcbc;
    border-radius: 11px;
    background-color: #FFFAF1;
}

#eventTableContainer {
    border: solid 1px #c0bcbc;
    border-radius: 11px;
    background-color: #FFFAF1;
}

#letterHistoryTableContainer {
    border: solid 1px #c0bcbc;
    border-radius: 11px;
    background-color: #FFFAF1;
}

#generalVisitHistoryTableContainer {
    border: solid 1px #c0bcbc;
    border-radius: 11px;
    background-color: #FFFAF1;
}

.tooltip_status {
    position: relative;
    display: inline-block;
    border-bottom: 1px dotted black;
}

.tooltip_status .tooltiptext {
    visibility: hidden;
    width: 120px;
    background-color: black;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px 0;
    position: absolute;
    z-index: 1;
    top: -20px;
    left: 105%;
}

.tooltip_status:hover .tooltiptext {
    visibility: visible;
}

.round-image {
    height: 60px;
    width: 60px;
    border-radius: 10px;
    /* border: 1.5px solid orangered; */
    object-fit: cover;
}

#file_previews {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.preview-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #ccc;
    border-radius: 5px;
    width: 120px;
    height: 120px;
    overflow: hidden;
    text-align: center;
}

.preview-wrapper img {
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
}

.remove-icon {
    position: absolute;
    cursor: pointer;
    background-color: white;
    top: -12px;
    right: -6px;
    font-size: 17px;
    height: 1px;
    color: red;
    cursor: pointer
}

.outward-status.status-pending {
    background-color: orange;
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    text-align: center;
}

.outward-status.status-done {
    background-color: green;
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    text-align: center;
}

.outward-status.status-default {
    background-color: gray;
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    text-align: center;
}

input:not([type="radio"]):not([type="checkbox"]):hover {
    /* border: 1px solid #fe6601 !important; */
    background: linear-gradient(to right, rgba(255, 183, 77, 0.21) 1.6%, rgba(255, 255, 255, 0.50)) !important;
}

.hover-border:hover {
    background: linear-gradient(to right, rgba(255, 183, 77, 0.21) 1.6%, rgba(255, 255, 255, 0.50)) !important;
    z-index: -1 !important;
}

.hover-border:hover {
    border: 1px solid #fe6601 !important;
}

.subheading-details {
    background: linear-gradient(179deg, rgba(255, 183, 77, 0.21) 1.6%, rgba(255, 255, 255, 0.50) 99.72%) !important;
    padding: 10px;
    border-radius: 5px;
}

.emboss-effect {
    background: linear-gradient(179deg, #ff8801 1%, rgb(255 235 176 / 50%) 99%) !important;
    border-radius: 5px;
    padding: 20px;
    box-shadow: inset 2px 2px 5px rgba(0, 0, 0, 0.1),
        inset -2px -2px 5px rgba(255, 255, 255, 0.7);
}

.section-border {
    border: 1px solid rgb(183, 183, 183) !important;
    border-radius: 5px !important;
    padding: 10px !important;
}

/* medical relife css start */
.input-box-shadow {
    box-shadow:
        2px 2px 5px rgba(0, 0, 0, 0.2) !important;
    outline: none;
    border-radius: 0;
}

.input-box-shadow:focus {
    box-shadow:
        3px 3px 7px rgba(0, 0, 0, 0.3) !important;
    border-color: #333;
}

.step {
    display: none;
}

.step.active {
    display: block;
}

.circle {
    height: 40px;
    width: 40px;
    border-radius: 50%;
    background-color: #ddd;
    display: inline-block;
    text-align: center;
    line-height: 40px;
    color: #fff;
}

.circle.active {
    background-color: #fe6601;
}

.circle.completed {
    background-color: #fe6601;
}

.line {
    display: inline-block;
    height: 10px;
    background-color: #ddd;
    width: 100px;
    margin-top: 15px;
    border-radius: 10px;
}

.line.completed {
    background-color: #fe6601;
}

@media (max-width: 767px) {
    .circle {
        width: 25px;
        height: 25px;
        line-height: 25px;
    }

    .line {
        width: 70px;
        height: 4px;
    }
}

@media (max-width: 480px) {
    .circle {
        width: 20px;
        height: 20px;
        line-height: 18px;
    }

    .line {
        width: 29px;
        height: 3px;
    }
}

/* medical relife css end */

.accordion-button {
    font-weight: bold;
}

.accordion-button.collapsed {
    background: linear-gradient(to right, rgba(255, 183, 77, 0.21) 1.6%, rgba(255, 255, 255, 0.50)) !important;
}

.accordion-button:not(.collapsed) {
    background: linear-gradient(to right, rgba(255, 183, 77, 0.21) 1.6%, rgba(255, 255, 255, 0.50)) !important;
}

.readonly-select {
    pointer-events: none;
    background-color: #f0f0f0;
}

#mobileSearch:hover {
    background: linear-gradient(to right, rgba(255, 183, 77, 0.21) 1.6%, rgba(255, 255, 255, 0.50)) !important;
}

#mobileSearch {
    border: 1px solid #fe6601 !important;
}

.actions-btn {
    width: auto;
    height: 30px;
    padding: 5px 10px;
    line-height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.actions-btn:focus {
    outline: none;
    box-shadow: none;
}

.menu-sub-dropdown {
    width: 120px;
    border: transparent !important;
}

.actions-btn,
.menu-sub-dropdown {
    transition: none !important;
}

.sub-menu {
    padding: 5px !important;
    width: 100% !important;
    border: none !important;
}

.sub-menu:hover {
    background-color: #f1f1f1 !important;
    transition: background-color 0.3s ease !important;
}

.bordered-section {
    border: 1px solid #cacaca;
    padding: 40px !important;
    border-radius: 10px;
    margin-bottom: 20px;
    position: relative;
    background-color: #ffffff;
}

.section-header {
    position: absolute;
    top: -15px;
    left: 20px;
    background: #ff8801 !important;
    padding: 10px 25px;
    font-size: 14px;
    font-weight: bold;
    color: #151515;
    border-radius: 15px;
    transition: all 0.3s ease-in-out;
}

@media (max-width: 768px) {
    .section-header {
        top: -20px;
        left: 15px;
        font-size: 12px;
        padding: 8px 20px;
    }
}

@media (max-width: 480px) {
    .section-header {
        top: -22px;
        left: 10px;
        font-size: 10px;
        padding: 6px 10px;
        border-radius: 10px;
    }
}

@media (max-width: 360px) {
    .section-header {
        top: -21px;
        left: 10px;
        font-size: 8px;
        padding: 6px 10px;
        border-radius: 10px;
    }
}

/* Letter edit popup: global .section-header is position:absolute and overlaps content below */
.bordered-section .section-header.devdarshan-letter-static-title {
    position: static !important;
    top: auto !important;
    left: auto !important;
    margin-bottom: 1rem !important;
    display: inline-flex !important;
}

@media (min-width: 768px) {
    .bordered-section .section-header.devdarshan-letter-static-title {
        margin-bottom: 1.25rem !important;
    }
}

.medical-btn {
    font-size: 14px;
    font-weight: bold !important;
}

@media (max-width: 480px) {
    .medical-btn {
        font-size: 12px !important;
    }
}

@media (max-width: 360px) {
    .medical-btn {
        font-size: 10px !important;
    }
}

.filter-button {
    background-color: #fe6601 !important;
    color: #fff;
    border: none;
    transition: background-color 0.3s ease;
}

.filter-button:hover {
    background-color: #fe6601 !important;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type=number] {
    -moz-appearance: textfield;
}

/* .aside-secondary {
    right: 12px;
} */

@media (max-width: 768px) {
    .aside-secondary {
        right: 0px !important;
    }
}

@media (max-width: 991.8px) {
    .aside-secondary {
        right: 0px !important;
    }
}

.sidebar-top-menu {
    margin-right: 20px;
}

@media (max-width: 768px) {
    .sidebar-top-menu {
        margin-right: 0px;
    }
}

.dashboard-card {
    border-radius: 30px !important;
    box-shadow: none !important;
}

@media (max-width: 768px) {
    .header-tablet-and-mobile-fixed[data-kt-sticky-header=on] .header {
        height: 84px;
    }
}

@media (max-width: 768px) {
    .header {
        height: 90px;
    }
}

@media (min-width: 768px) {
    #kt_content.d-flex.flex-column.flex-column-fluid {
        margin-right: 5px;
        transition: margin-left 0.3s ease;
    }

    body.aside-minimized #kt_content.d-flex.flex-column.flex-column-fluid {
        margin-left: 90px;
    }
}

@media (min-width: 992px) {
    #kt_content.d-flex.flex-column.flex-column-fluid {
        margin-left: 265px;
    }
}

.hide-logo {
    transform: translateX(-95px);
    transition: transform 0.3s ease-in-out;
}

.center-logo {
    transition: transform 0.3s ease-in-out;
    flex-direction: row !important;
    gap: 10px;
}


@media (min-width: 768px) {
    .header-image-custom {
        height: 90px;
        width: 460px;
    }
}

@media (max-width: 768px) {
    .header-image-custom {
        height: 70px;
        width: 240px;
    }
}

.img-dashboard {
    height: 40px;
    width: 40px;
    object-fit: contain;
    object-position: center;
    margin-bottom: 8px;
}

.new-card-class {
    box-shadow: 0 4px 6px rgb(233 233 233 / 10%);
    border-radius: 5px !important;
}

.img-janata-darbar {
    height: 137px;
    border-radius: 15%;
}

@media (max-width: 768px) {
    .img-janata-darbar {
        width: 100%;
    }
}

.token_hover:hover {
    color: #FFA500;
    font-weight: 900 !important;
}

.pdf-preview {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.pdf_iframe {
    width: 100%;
    border: hidden;
    object-fit: cover;
}

.pdf-container {
    position: relative;
    overflow: hidden;
    height: 100%;
}

.click_overlay_pdf_preview {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: all;
}

/* Sidebar css */
.menu-accordion.active .menu-sub {
    border-left-color: gray;
}

.menu-accordion .menu-sub {
    border-left: 2px solid gray;
    padding-left: 1px;
}

.sidebar-menu-title {
    color: black !important;
}

.sidebar-menu-title {
    color: #737791 !important;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.5px !important;
}

.menu-item .menu-link .menu-title {
    font-size: 13px !important;
    letter-spacing: 0.5px !important;
}

.custom-toggle input[type="checkbox"] {
    background-image:
        -webkit-linear-gradient(hsla(0, 0%, 0%, 0.1), hsla(0, 0%, 100%, 0.1)),
        -webkit-linear-gradient(left, #f66 50%, #ccc 50%);
    background-size:
        150% 100%,
        150% 100%;
    background-position:
        0 0,
        20px 0;
    border-radius: 20px;
    box-shadow:
        inset 0 1px 5px hsla(0, 0%, 0%, 0.5),
        inset 0 0 10px hsla(0, 0%, 0%, 0.5),
        0 0 0 1px hsla(0, 0%, 0%, 0.1),
        0 -1px 2px 2px hsla(0, 0%, 0%, 0.25),
        0 2px 2px 5px hsla(0, 0%, 100%, 0.75);
    cursor: pointer;
    height: 30px;
    padding-right: 15px;
    width: 60px;
    -webkit-appearance: none;
    -webkit-transition: 1s;
}

.custom-toggle input[type="checkbox"]:after {
    background-color: #ccc;
    background-image: url('/assets/media/svg/blood-donation.svg');
    background-size: 16px 16px;
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 20px;
    box-shadow:
        inset 0 1px 1px 1px hsla(0, 0%, 100%, 1),
        inset 0 -1px 1px 1px hsla(0, 0%, 0%, 0.25),
        0 0 0 1px hsla(0, 0%, 0%, 0.2),
        2px 0px 10px 0px hsla(0, 0%, 0%, 0.5),
        -2px 0px 10px 0px hsla(0, 0%, 0%, 0.5);
    content: "";
    display: block;
    height: 30px;
    width: 30px;
}

.custom-toggle input[type="checkbox"]:checked {
    background-position:
        0 0,
        45px 0;
    padding-left: 30px;
    padding-right: 0;
    background-image:
        -webkit-linear-gradient(left, #f66 50%, #ccc 50%);
}

.menu-sub-item {
    position: relative;
    right: 27px;
}

.sub-menu-img {
    height: 17px !important;
    width: 17px !important;
}

.menu-img {
    height: 36px !important;
    width: 37px !important;
}

.menu-link-dashboard {
    position: relative;
    right: 13px;
}

.sidebar-menu-title {
    position: relative;
    left: 12px;
}

@keyframes blink {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

#profile-image-wrapper {
    transition: transform 0.5s ease;
}

#profile-image-wrapper.slide-left {
    transform: translateX(-94px);
}

#profile-name {
    transition: opacity 0.5s ease;
}

#profile-name.hidden {
    opacity: 0;
    visibility: hidden;
}

.scan_doc_container {
    position: relative;
    overflow: hidden;
    height: 100%;
    width: calc(40% - 05px);
}

/* admin dashboard css start */

.dashboard-filter-card {
    border-radius: 20px !important;
}

.dashboard-filter-card-body {
    padding: 18px 26px !important;
}

.dashboard-filter-row {
    align-items: flex-end;
    margin-bottom: 0 !important;
}

.dashboard-date-filter {
    position: relative;
}

.dashboard-date-trigger {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    min-height: 38px;
    padding: 7px 12px;
    border: 1px solid #d7dbe5;
    border-radius: 8px;
    background: #fff;
    color: #646464 !important;
    font-size: 14px;
    font-weight: 500;
    text-align: left;
}

.dashboard-date-trigger i {
    color: #606779;
    font-size: 16px;
}

.dashboard-export-actions {
    align-items: end;
    justify-content: flex-end;
}

.dashboard-action-btn {
    width: 40px;
    height: 40px;
    padding: 0 !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
}

.dashboard-action-btn img {
    width: 18px;
    height: 18px;
    object-fit: contain;
}

.dashboard-filter-card .select2-container--bootstrap5 .select2-selection,
.dashboard-filter-card .select2-container--default .select2-selection--multiple {
    min-height: 38px !important;
    height: auto !important;
}

@media (max-width: 767px) {
    .dashboard-filter-card-body {
        padding: 16px !important;
    }
}

/* --- Base Trigger Button Styles --- */
.filter-input-wrapper {
    position: relative;
    max-width: 320px;
    width: 100%;
    box-shadow: #000000;
}

.daterangepicker .ranges ul {
    max-height: 100% !important;
}

.daterangepicker.show-calendar .ranges {
    height: 100% !important;
}

.dashboard-date-trigger {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    height: 44px;
    padding: 0 16px;
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    color: #334155;
    font-size: 14px;
    font-weight: 500;
    text-align: left;
    transition: all 0.2s ease;
    cursor: pointer;
}

.dashboard-date-trigger:hover {
    border-color: #cbd5e1;
    background-color: #f8fafc;
}

.dashboard-date-trigger:focus {
    outline: none;
    border-color: #f59e0b;
    box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.12);
}

.calendar-icon {
    width: 18px;
    height: 18px;
    color: #64748b;
    flex-shrink: 0;
}

/* --- Main DateRangePicker Container --- */
.daterangepicker.dashboard-date-range-picker {
    width: auto;
    max-width: calc(100vw - 24px);
    border: 1px solid #e2e8f0;
    border-radius: 35px;
    box-shadow: 0 20px 25px -5px rgba(15, 23, 42, 0.08), 0 10px 10px -5px rgba(15, 23, 42, 0.04);
    font-family: system-ui, -apple-system, sans-serif;
    padding: 8px;
    background: #ffffff;
}

/* --- Left Predefined Ranges Navigation --- */
.daterangepicker.dashboard-date-range-picker .ranges {
    width: 180px;
    margin: 0;
    padding: 8px;
    border-right: 1px solid #f1f5f9;
}

.daterangepicker.dashboard-date-range-picker .ranges ul {
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.daterangepicker.dashboard-date-range-picker .ranges li {
    color: #475569;
    font-weight: 500;
    font-size: 13px;
    padding: 10px 14px;
    border-radius: 8px;
    transition: all 0.15s ease;
    list-style: none;
}

.daterangepicker.dashboard-date-range-picker .ranges li:hover {
    background-color: #f8fafc !important;
    color: #1e293b !important;
}

.daterangepicker.dashboard-date-range-picker .ranges li.active {
    background-color: #fef3c7 !important;
    color: #fe6601 !important;
    font-weight: 600;
}

/* --- Calendar Tables --- */
.daterangepicker.dashboard-date-range-picker .drp-calendar {
    width: 280px;
    max-width: 280px;
    padding: 8px;
}

.daterangepicker.dashboard-date-range-picker .calendar-table {
    border: none;
    background: transparent;
}

/* --- Day States (Muted, In-Range, Selected) --- */
.daterangepicker.dashboard-date-range-picker td.available {
    font-size: 13px;
    font-weight: 500;
    color: #334155;
    width: 36px;
    height: 36px;
    border-radius: 8px !important;
    /* Forces soft square shapes */
    border: none !important;
    /* Eliminates the harsh old-school row borders */
    transition: all 0.1s ease;
}

/* Mid-range dates styling */
.daterangepicker.dashboard-date-range-picker td.in-range {
    background-color: #fffbeb !important;
    color: #b44d09 !important;
    border-radius: 0 !important;
}

/* Active endpoint selection */
.daterangepicker.dashboard-date-range-picker td.active,
.daterangepicker.dashboard-date-range-picker td.active:hover,
.daterangepicker.dashboard-date-range-picker td.start-date,
.daterangepicker.dashboard-date-range-picker td.start-date:hover,
.daterangepicker.dashboard-date-range-picker td.end-date,
.daterangepicker.dashboard-date-range-picker td.end-date:hover {
    background-color: #fe6601 !important;
    color: #ffffff !important;
}

.daterangepicker.dashboard-date-range-picker td.start-date:not(.end-date) {
    border-radius: 8px 0 0 8px !important;
}

.daterangepicker.dashboard-date-range-picker td.end-date:not(.start-date) {
    border-radius: 0 8px 8px 0 !important;
}

.daterangepicker.dashboard-date-range-picker td.start-date.end-date {
    border-radius: 8px !important;
}

/* Fade out dates from trailing/leading months */
.daterangepicker.dashboard-date-range-picker td.off,
.daterangepicker.dashboard-date-range-picker td.off.in-range {
    background-color: transparent !important;
    color: #cbd5e1 !important;
}

/* --- Custom Manual Fields --- */
.daterangepicker.dashboard-date-range-picker .dashboard-picker-fields {
    clear: both;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    width: calc(100% - 180px);
    margin-left: 180px;
    padding: 16px;
    border-top: 1px solid #f1f5f9;
}

.daterangepicker.dashboard-date-range-picker .dashboard-picker-fields label {
    display: block;
    margin-bottom: 6px;
    color: #475569;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.daterangepicker.dashboard-date-range-picker .dashboard-picker-fields input {
    width: 100%;
    height: 38px;
    padding: 8px 12px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    color: #1e293b;
    font-size: 13px;
    font-weight: 500;
}

/* --- Action Bottom Buttons Bar --- */
.daterangepicker.dashboard-date-range-picker .drp-buttons {
    border-top: 1px solid #f1f5f9;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}

.daterangepicker.dashboard-date-range-picker .drp-selected {
    display: none;
    /* Keeps layout tight */
}

.daterangepicker.dashboard-date-range-picker .drp-buttons .btn {
    font-size: 13px;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.15s ease;
}

.daterangepicker.dashboard-date-range-picker .drp-buttons .btn-primary {
    background-color: #fe6601 !important;
    border-color: #fe6601 !important;
    color: #ffffff !important;
}

.daterangepicker.dashboard-date-range-picker .drp-buttons .btn-primary:hover {
    background-color: #ffffff !important;
    border-color: #fe6601 !important;
}

.daterangepicker.dashboard-date-range-picker .drp-buttons .btn-default {
    background-color: #f1f5f9;
    border-color: #f1f5f9;
    color: #64748b;
}

.daterangepicker.dashboard-date-range-picker .drp-buttons .btn-default:hover {
    background-color: #e2e8f0;
    color: #334155;
}

/* --- Mobile Responsiveness Adjustments --- */
@media (max-width: 767px) {
    .daterangepicker.dashboard-date-range-picker {
        width: calc(100vw - 24px);
        display: flex;
        flex-direction: column;
    }

    .daterangepicker.dashboard-date-range-picker .ranges {
        width: 100%;
        max-width: none;
        border-right: none;
        border-bottom: 1px solid #f1f5f9;
    }

    .daterangepicker.dashboard-date-range-picker .ranges ul {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .daterangepicker.dashboard-date-range-picker .ranges li {
        flex: 1 1 calc(50% - 4px);
        text-align: center;
        padding: 8px;
    }

    .daterangepicker.dashboard-date-range-picker .drp-calendar {
        width: 100%;
        max-width: none;
    }

    .daterangepicker.dashboard-date-range-picker .dashboard-picker-fields {
        grid-template-columns: 1fr;
        width: 100%;
        margin-left: 0;
        padding: 12px;
    }
}

.widget-table-heading:hover {
    color: white !important;
}

.widget-table-heading {
    color: black !important;
}

.widget-title {
    font-family: 'Playfair Display', 'Merriweather', Georgia, serif;
    font-weight: 600;
    color: #1c1c1c;
    font-size: 20px;
    font-style: italic;
    letter-spacing: 0.3px;
}

@media (min-width: 480px) {
    .widget-title {
        font-weight: 600;
        color: #151515;
        font-size: 16px;
    }
}

@media (min-width: 768px) {
    .widget-title {
        font-weight: 600;
        color: #151515;
        font-size: 18px;
    }
}

@media (min-width: 1024px) {
    .widget-title {
        font-weight: 600;
        color: #151515;
        font-size: 18px;
    }
}

@media (min-width: 1200px) {
    .widget-title {
        font-weight: 600;
        color: #151515;
        font-size: 20px;
    }
}

.custom-widget-card {
    position: relative;
    background: white;
    border-radius: 10px;
    top: 80px;
    overflow: hidden;
}

.custom-widget-card::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(145deg, #F4F5F7 50%, #E5E7EB 50%, #D1D5DB 100%) !important;
    z-index: 0;
}

.widget-heading {
    color: black !important;
    font-size: 13px !important;
}

.widget-heading:hover {
    color: rgba(244, 159, 0, 0.99) !important;
}

.card-emboss {
    transition: transform 0.1s ease-in-out, box-shadow 0.1s ease-in-out;
}

.card-emboss:hover {
    /* transform: translateY(-5px); */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.custom-border {
    position: relative;
    z-index: 1;
    margin: 50px;
    border: 2px solid #fe6601;
    border-radius: 35px;
}

.card-style {
    border-radius: 24px;
    background-color: rgba(34, 34, 34, 1);
    height: 100px;
}

.feedback-card {
    border-radius: 24px !important;
    height: 208px !important;
}

.card-style-modal {
    border-radius: 24px;
    background-color: rgba(242, 242, 242, 1);
    height: 200px;
}

.table-bordered th {
    font-weight: bold;
}

.custom-row-bg {
    background-color: #fe6601;
}

.widget-font {
    font-weight: 500;
    font-size: 18px;
    color: black;
    text-decoration: none;
}

/* More specific so it overrides */
a.widget-font.small {
    font-size: 18px !important;
}

@media (max-width: 768px) {
    .widget-font {
        font-size: 15px !important;
    }
}

/* admin dashboard css end */

/* Blood Bank Profile css start */
.profile-image {
    height: 80px;
    width: 80px;
    border-radius: 50%;
    object-fit: cover;
}

.blood-profile-header-img {
    width: 1200px;
    height: 200px;
}

.custom-padding-left {
    padding-left: 30px;
}

/* Blood Bank Profile css end */

/* Feedback Graphs css start */
.btn-link-widget {
    color: rgba(27, 132, 255, 1);
    text-decoration: underline !important;
}

.recent-feedbacks-container {
    max-height: 400px;
    overflow-y: auto;
    padding-right: 15px;
}

/* Feedback Graphs css end */

/* Feedback List css start */
#kt_feedback_table td {
    word-wrap: break-word;
    white-space: normal;
}

#kt_feedback_table td {
    max-width: 250px;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Feedback List css end */

/* Feedback css start */
.file-preview {
    display: inline-block;
    margin-right: 10px;
}

.rating {
    display: flex;
    flex-direction: row-reverse;
    justify-content: center;
    gap: 0px;
    margin-right: 0;
}

.rating label {
    font-size: 35px;
    color: gray;
    cursor: pointer;
    transition: color 0.3s ease;
}

.rating input[type="radio"] {
    display: none;
}

.rating label:hover,
.rating label:hover~label {
    color: darkorange;
}

.rating input[type="radio"]:checked~label {
    color: darkorange;
}

@media (max-width: 768px) {
    .rating {
        font-size: 30px;
        gap: 0px;
    }

    .rating label {
        font-size: 30px;
    }
}

@media (max-width: 480px) {
    .rating {
        font-size: 25px;
        gap: 0px;
    }

    .rating label {
        font-size: 25px;
    }
}

/* Feedback css end */

/* Birthday letters css start */
@media (max-width: 359px) {
    .preview-item {
        width: 100% !important;
        min-height: 55px;
        padding: 4px;
    }
}

@media (min-width: 360px) and (max-width: 480px) {
    .preview-item {
        width: 100% !important;
        min-height: 60px;
        padding: 5px;
    }
}

@media (min-width: 481px) and (max-width: 600px) {
    .preview-item {
        width: 100% !important;
        min-height: 70px;
        padding: 6px;
    }
}

@media (min-width: 601px) and (max-width: 767px) {
    .preview-item {
        width: 100% !important;
        min-height: 100px;
        padding: 7px;
    }
}

@media (min-width: 768px) {
    .preview-item {
        min-height: 120px;
        border-radius: 5px;
        box-sizing: border-box;
    }
}

.preview-pdf {
    display: inline-block;
    width: 100%;
    text-align: center;
    background-color: #ddd;
    height: 100% !important;
    justify-content: center;
    object-fit: cover;
}

@media (max-width: 359px) {
    .preview-pdf {
        height: 80px;
        font-size: 12px;
        line-height: 80px;
    }
}

@media (min-width: 360px) and (max-width: 480px) {
    .preview-pdf {
        height: 90px;
        font-size: 13px;
        line-height: 90px;
    }
}

@media (min-width: 481px) and (max-width: 600px) {
    .preview-pdf {
        height: 100px;
        font-size: 14px;
        line-height: 100px;
    }
}

@media (min-width: 601px) and (max-width: 767px) {
    .preview-pdf {
        height: 110px;
        font-size: 15px;
        line-height: 110px;
    }
}

@media (min-width: 768px) {
    .preview-pdf {
        height: 100%;
        font-size: 16px;
        line-height: normal;
    }
}

/* Birthday letters css end */

/* Medical relief report css end */
.emboss-card {
    background: #f8f9fa;
    border-radius: 8px;
    box-shadow: inset 5px 5px 10px rgb(0 0 0 / 2%), inset -5px -5px 10px rgba(255, 255, 255, 0.7), 2px 2px 5px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease-in-out;
}

.emboss-card:hover {
    box-shadow: inset 3px 3px 7px rgba(0, 0, 0, 0.1),
        inset -3px -3px 7px rgba(255, 255, 255, 0.7),
        4px 4px 10px rgba(0, 0, 0, 0.15);
}

/* Medical relief report css end */

/* Schedule css start */
.gradient-event-vertical {
    background: unset !important;
}

.fc-h-event {
    border: none !important;
}

.fc .fc-daygrid-day-bg .fc-highlight {
    z-index: -1 !important;
}

@media (min-width: 1024px) {
    .custom-day-style {
        background: hsla(225, 2%, 55%, 0.427) !important;
        border: 2px solid #898a8d !important;
    }

    .fc-daygrid-day-events {
        margin-top: -29px;
    }
}

/* Schedule css end */

/* Schedulelist css start */
.radio_btn_disabled {
    opacity: 0.6;
    pointer-events: none;
}

/* Schedule css end */

/* Team module — resources/views/team/index.blade.php (.page-team wrapper) */
.page-team .toggle-password {
    position: absolute;
    right: 25px;
    top: 55%;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 1.5rem !important;
    color: #6c757d;
    z-index: 10;
}

.page-team .fv-row {
    position: relative;
}

.page-team .text-danger {
    min-height: 20px;
}

.team-header-card-body {
    min-height: 7.5rem;
}

@media (min-width: 576px) {
    .team-header-card-body {
        min-height: 8.5rem;
    }
}

/* Generic password toggle (other modules) */
.toggle-password {
    position: absolute;
    right: 50px;
    top: 55%;
    cursor: pointer;
    font-size: 1.5rem !important;
    color: #6c757d;
}

/* Team css end */

.sidebar-expanding {
    width: 209px !important;
    padding-top: 15px !important;
}

/* style bundle */
@media (min-width: 1400px) {

    .container-xxl,
    .container-xl,
    .container-lg,
    .container-md,
    .container-sm,
    .container {
        max-width: 100% !important;
    }
}

.btn-primary {
    --bs-btn-bg: #ffffff !important;
    --bs-btn-border-color: #ffffff !important;
    --bs-btn-hover-bg: #ffffff !important;
    --bs-btn-active-bg: #fdfdfd !important;
    --bs-btn-active-border-color: #ffffff !important;
}

.page-link.active,
.active>.page-link {
    background-color: #fe6601 !important;
}

.badge {
    --bs-badge-padding-y: 1.0rem !important;
}


.bs-tooltip-top .tooltip-arrow,
.bs-tooltip-auto[data-popper-placement^=top] .tooltip-arrow {
    right: 20px !important;
}

.menu-arrow-gray-500 .menu-item .menu-link .menu-arrow:after {
    background-color: black !important;
}

.btn-check:active+.btn.btn-active-light-primary,
.btn.btn-active-light-primary:focus:not(.btn-active),
.btn.btn-active-light-primary:hover:not(.btn-active),
.btn.btn-active-light-primary:active:not(.btn-active),
.btn.btn-active-light-primary.active,
.btn.btn-active-light-primary.show,
.show>.btn.btn-active-light-primary {
    color: white !important;
    background-color: #fe6601 !important;
}

.btn-check:checked+.btn.btn-active-light-primary i,
.btn-check:checked+.btn.btn-active-light-primary .svg-icon,
.btn-check:active+.btn.btn-active-light-primary i,
.btn-check:active+.btn.btn-active-light-primary .svg-icon,
.btn.btn-active-light-primary:focus:not(.btn-active) i,
.btn.btn-active-light-primary:focus:not(.btn-active) .svg-icon,
.btn.btn-active-light-primary:hover:not(.btn-active) i,
.btn.btn-active-light-primary:hover:not(.btn-active) .svg-icon,
.btn.btn-active-light-primary:active:not(.btn-active) i,
.btn.btn-active-light-primary:active:not(.btn-active) .svg-icon,
.btn.btn-active-light-primary.active i,
.btn.btn-active-light-primary.active .svg-icon,
.btn.btn-active-light-primary.show i,
.btn.btn-active-light-primary.show .svg-icon,
.show>.btn.btn-active-light-primary i,
.show>.btn.btn-active-light-primary .svg-icon {
    color: white !important;
}

.form-control[readonly] {
    background: #eeeeee;
}

.form-check-custom.form-check-solid .form-check-input:checked {
    background-color: #fe6601 !important;
}

.tooltip {
    --bs-tooltip-color: white !important;
    --bs-tooltip-bg: Black !important;
}

.bg-light-primary {
    background-color: #fe6601 !important;
}

.text-gray-400 {
    color: #585858 !important;
}

@media (min-width: 992px) {

    .container,
    .container-xxl,
    .container-fluid,
    .container-sm,
    .container-md,
    .container-lg,
    .container-xl {
        padding: 0 5px !important;
    }

    .aside-secondary-enabled.aside-fixed .wrapper {
        padding-left: 260px !important;
    }

    /* .aside-secondary-enabled.aside-fixed .wrapper {
        padding-left: 270px !important;
    } */

    .aside-secondary-enabled.aside-fixed[data-kt-aside-minimize=on] .wrapper {
        padding-left: 75px !important;
    }
}

@media (min-width: 992px) {
    .aside-fixed.aside-secondary-enabled[data-kt-sticky-header=on] .header {
        height: 80px !important;
        left: 260px !important;
        /* left: 280px !important; */
    }
}

@media (min-width: 992px) {
    /* .aside-fixed .aside {
        top: 10px !important;
        left: 20px !important;
        bottom: 10px !important;
    } */

    .aside-secondary-enabled .aside {
        width: 260px !important;
    }

    .aside-secondary-disabled .aside {
        width: 90px !important;
    }

    [data-kt-aside-minimize=on] .aside {
        width: 70px !important;
    }
}

@media (max-width: 991.98px) {
    .aside .aside-secondary .aside-workspace {
        width: 260px !important;
    }

    .aside-secondary-enabled .aside {
        width: 256px !important;
    }
}

.blinking-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: red;
    animation: blink 1s linear infinite;
}

@keyframes blink {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.loder {
    position: absolute;
    top: 80%;
    left: 50%;
    transform: translate(-50%, -80%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    background-color: rgba(0, 0, 0, 0.7);
    padding: 10px 20px;
    border-radius: 5px;
}

@media (max-width: 768px) {
    .loder {
        font-size: 14px;
        width: 80%;
        top: 90%;
        transform: translate(-50%, -90%);
    }
}

.sidebar-header-content {
    width: 213px !important;
    padding-top: 15px !important;
}

.text-primary {
    color: #fe6601 !important;
}

#kt_aside_toggle {
    z-index: 3 !important;
}

.menu-item .menu-link .menu-arrow {
    margin-left: 10px !important;
}

.form-control {
    background-color: #f8f8f8;
}

.form-check-input:checked {
    background-color: #fe6601 !important;
    border-color: #fe6601 !important;
}

.w-240px {
    width: 240px !important;
}

.card-body-style {
    padding: 1rem 1.25rem !important;
}

@media (max-width: 768px) {
    .sidebar-top-menu {
        flex-direction: column !important;
        align-items: center !important;
    }

    .sidebar-top-menu>div {
        width: 100% !important;
        text-align: center;
    }

    .dropdown-menu {
        text-align: left !important;
    }

    .symbol {
        margin: auto;
    }

    .btn-icon {
        width: 35px !important;
        height: 35px !important;
    }
}

@media (max-width: 991.98px) {
    #kt_header {
        height: 90px !important
    }
}

@media (max-width: 1098px) {
    .col-md-3 {
        width: 100% !important;
    }
}

.social-media-dropdown {
    border-radius: 30px !important;
}

.sub-menu {
    background-color: #fe6601 !important;
    border-radius: 5px !important;
}

.telephone-icon {
    font-size: 10px !important;
    color: #000 !important;
}

.view-eye {
    font-size: 20px !important;
    color: black !important;
}

.view-file-preview {
    background-color: #f7f7f7 !important;
}

.modal.show .modal-dialog {
    transform: none !important;
}

.token-link {
    text-decoration: underline;
    color: brown;
}

/* Reduce the height of the module label div */
.role-menu-label {
    padding: 8px !important;
    font-size: 14px;
    /* Adjust text size */
    /* line-height: 30px; */
    /* Reduce line spacing */
    text-align: center;
    border-radius: 10px;
    background-color: rgba(255, 158, 48, 0.18) !important;
}

.role-menu-label button {
    height: 30px;
    padding: 0 10px;
    /* Adjust padding as needed */
}

.fixed-checkbox {
    height: 30px;
    display: flex;
    align-items: center;
    /* Centers text vertically */
    gap: 5px;
    /* Adds space between checkbox and label text */
}



/* Reduce space between collapsible sections */
#permissions_container>.role-menu-label {
    margin-bottom: 5px !important;
}

/* Reduce space inside collapsible sections */
/* Smooth transition for collapsible sections */
.collapse {
    transition: height 0.4s ease-in-out, opacity 0.4s ease-in-out;
}


/* Reduce space between checkboxes */
.d-flex.flex-wrap.justify-content-center.gap-3 {
    gap: 8px !important;
    /* Adjust space between checkboxes */
}

.mw-1100px {
    max-width: 1100px !important;
}

.start-95 {
    left: 95% !important;
}

body {
    background-color: #FAFBFC !important;
}

/* body {
    background-color: #f9f6f3 !important;
} */

html,
body {
    overscroll-behavior: none;
    touch-action: pan-y;
    /* Allow vertical scroll only */
    -webkit-tap-highlight-color: transparent;
    margin: 0;
    padding: 0;
}

/* ALLOW text selection (remove forced disabling) */
* {
    user-select: text;
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
}

/* Prevent image drag (optional, can keep if needed) */
img {
    pointer-events: none;
    -webkit-touch-callout: none;
}

.custom-suggestion thead th {
    background-color: #fe6601 !important;
    color: #000;
    padding: 10px !important;
}

.custom-suggestion td {
    padding: 10px !important;
}

.custom-suggestion tbody tr:nth-child(odd) {
    padding: 5px !important;
    background-color: #ffffff;
}

.custom-suggestion tbody tr:nth-child(even) {
    padding: 5px !important;
    background-color: #f8f9fa;
}

.visitor-notification-btn {
    width: 135px !important;
}

@media (min-width: 992px) {
    .header {
        background: linear-gradient(145deg, #F4F5F7 50%, #E5E7EB 50%, #D1D5DB 100%);
        box-shadow: 8px 4px 12px rgba(0, 0, 0, 0.15);
    }

    .card {
        background: linear-gradient(135deg, #F5F7FA 0%, #FFFFFF 100%);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
        border-radius: 30px !important;
    }
}

#kt_content_container {
    padding: 25px 15px !important;
}

.menu-rounded .menu-link {
    border-radius: 16px !important;
}

/* --- Card 1 (Cream) --- */
.custom-dashborad-card-1 {
    background: #fcfcfc;
    border: 1px solid #d8d8d8 !important;
    border-radius: 25px;
    color: black;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    /* Prepares the background property for a smooth animation transition */
    transition: background-color 0.3s ease !important;
}

.custom-dashborad-card-1:hover {
    background: #fe6601 !important;
    /* Changes to a vibrant, richer cream-orange */
    cursor: pointer;
    color: white;
}

/* --- Card 2 (Grey) --- */
.custom-dashborad-card-2 {
    background: #eeeeee;
    border: 1px solid #fe6601 !important;
    border-radius: 25px;
    color: black !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    /* Prepares the background property for a smooth animation transition */
    transition: background-color 0.3s ease !important;
}

.custom-dashborad-card-2:hover {
    background: #b6b6b6 !important;
    /* Changes to a clean, darker slate grey */
    cursor: pointer;
}

.custom-dashborad-card-3 {
    background: #DCFCE7 !important;
    border-radius: 25px;
    color: black;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.custom-dashborad-card-4 {
    background: #F3E8FF !important;
    border-radius: 25px;
    color: black;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.custom-dashborad-card-5 {
    background: rgba(104, 146, 255, 0.10) !important;
    border-radius: 25px;
    color: black;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.custom-dashborad-card-6 {
    background: rgba(192, 65, 164, 0.31) !important;
    border-radius: 25px;
    color: black;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.text-lightblue {
    color: #4079ED !important;
}

.custom-widget-font {
    font-size: 13px !important;
}

@media (min-width: 992px) {
    .header-fixed[data-kt-sticky-header=on] .header {
        box-shadow: 0px 10px 30px 0px rgb(251 100 25 / 8%) !important;
    }
}

.btn-green {
    background: #138804 !important;
}

/* Common button styles */
.btn-custom-primary,
.btn-custom-primary-1 {
    padding: calc(0.775rem + 1px) calc(1.5rem + 1px);
    border-radius: 10px;
    font-weight: 500;
    transition: all 0.3s ease;
}

/* First Button - Filled (#fe6601) */
.btn-custom-primary {
    background-color: #fe6601;
    border: 1px solid #fe6601 !important;
    color: #fff;
}

.btn-custom-primary:hover {
    background-color: #fff;
    color: #fe6601;
    border: 1px solid #fe6601 !important;
}

/* Second Button - Outline (#fe6601) */
.btn-custom-primary-1 {
    background-color: #fff;
    border: 1px solid #fe6601 !important;
    color: #fe6601;
}

.btn-custom-primary-1:hover {
    background-color: #fe6601;
    color: #fff;
    border: 1px solid #fe6601 !important;
}

/* Fix Select2 dropdown scrolling */
.select2-results__options {
    max-height: 200px !important;
    overflow-y: auto !important;
}

.dropdown-item.office-option.active {
    background-color: #fe6601 !important;
    color: #fff !important;
    border-radius: 4px;
    margin-bottom: 2px;
}

.dropdown-item.office-option.active i {
    color: #fff !important;
}

::selection {
    background: #000000;
    color: #ffffff;
}

.settings-card {
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.settings-card .card-header {
    background: #f8f9fa;
    border-bottom: 1px solid #e0e0e0;
    padding: 1.5rem;
    border-radius: 12px 12px 0 0;
}

.settings-card .card-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: #a0522d;
    margin: 0;
}

.setting-row {
    margin-bottom: 1.5rem;
    padding: 1rem 1.25rem;
    background: #fafafa;
    border: 1px solid #eee;
    border-radius: 4px;
}

.toggle-container {
    display: flex;
    align-items: center;
}

.toggle-label {
    display: flex;
    flex-direction: column;
}

.setting-label {
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: #a0522d;
}

.setting-description {
    font-size: 0.875rem;
    color: #6c757d;
    margin-top: 0.25rem;
}

.form-switch .form-check-input {
    width: 3.5em;
    height: 2.0em;
    cursor: pointer;
    background-color: #f5f5f5;
    border-color: #ddd;
    margin-right: 1rem;
}

.form-check-input:checked {
    background-color: #a0522d;
    border-color: #8b4513;
}

.form-check-input:focus {
    box-shadow: 0 0 0 0.2rem rgba(165, 82, 45, 0.25);
}

.preview-img {
    max-width: 200px;
    margin-top: 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.remove-icon {
    position: absolute;
    top: 5px;
    right: 5px;
    cursor: pointer;
    background: white;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.remove-icon:hover {
    background: #f8f9fa;
}

.image-preview-container {
    position: relative;
    display: inline-block;
    margin-top: 10px;
}

.letter-type-controls {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.letter-type-select-container {
    margin-bottom: 20px;
}

.btn-primary {
    background-color: #a0522d;
    border-color: #8b4513;
    color: #fff;
}

.btn-primary:hover {
    background-color: #8b4513;
    border-color: #7a3d1a;
}

.btn-light {
    border: 1px solid #ddd;
    background-color: #f8f9fa;
}

.action-buttons {
    padding: 1rem;
    text-align: right;
    border-top: 1px solid #e0e0e0;
}

.form-check-input:checked {
    background-color: #a0522d;
    border-color: #a0522d;
}

.btn-outline-danger:hover {
    background-color: #dc3545;
    border-color: #dc3545;
}

.form-label i {
    opacity: 0.7;
}

.translated-file-input {
    display: flex;
    align-items: stretch;
    width: 100%;
    border: 1px solid #d7dceb;
    border-radius: 0.75rem;
    overflow: hidden;
    background: #fff;
}

.translated-file-input-btn {
    border: 0;
    border-right: 1px solid #d7dceb;
    background: #f8f9fc;
    color: #4f5d7a;
    padding: 0.9rem 1.15rem;
    white-space: nowrap;
    cursor: pointer;
}

.translated-file-input-name {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 0.9rem 1rem;
    color: #7a859f;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.translated-file-input.has-file .translated-file-input-name {
    color: #3f4254;
}

.setting-label-group {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    flex-wrap: wrap;
}

.tooltip-info-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.2rem;
    height: 1.2rem;
    border: 1px solid #a0522d;
    border-radius: 50%;
    background: #fff;
    color: #a0522d;
    font-size: 0.75rem;
    font-style: normal;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    transition: all 0.2s ease;
}

.tooltip-info-btn:hover,
.tooltip-info-btn:focus {
    background: #a0522d;
    color: #fff;
    outline: none;
    box-shadow: 0 0 0 0.2rem rgba(165, 82, 45, 0.2);
}

.tooltip-info-text {
    position: absolute;
    left: 50%;
    bottom: calc(100% + 0.85rem);
    transform: translateX(-50%);
    width: min(360px, calc(100vw - 2rem));
    text-align: left;
    white-space: pre-line;
    line-height: 1.5;
    padding: 1rem 1.15rem;
    background: #242424;
    color: #ffffff;
    border-radius: 1.4rem;
    font-size: 0.95rem;
    font-weight: 400;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: 1080;
    transition: opacity 0.18s ease, visibility 0.18s ease, transform 0.18s ease;
}

.tooltip-info-text::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 8px 8px 0 8px;
    border-style: solid;
    border-color: #242424 transparent transparent transparent;
}

.tooltip-info-btn:hover .tooltip-info-text,
.tooltip-info-btn:focus .tooltip-info-text,
.tooltip-info-btn:focus-visible .tooltip-info-text {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(-2px);
}

@media (max-width: 767.98px) {
    .toggle-container {
        align-items: flex-start;
    }

    .tooltip-info-btn {
        width: 1.35rem;
        height: 1.35rem;
    }

    .tooltip-info-text {
        left: auto;
        right: -0.5rem;
        bottom: calc(100% + 0.7rem);
        transform: none;
        width: min(320px, calc(100vw - 1.5rem));
    }

    .tooltip-info-text::after {
        left: auto;
        right: 0.9rem;
        transform: none;
    }

    .tooltip-info-btn:hover .tooltip-info-text,
    .tooltip-info-btn:focus .tooltip-info-text,
    .tooltip-info-btn:focus-visible .tooltip-info-text {
        transform: translateY(-2px);
    }
}

.form-control.form-control-solid {
    border: 1px solid #96a2c5 !important;
}

.form-select {
    border: 1px solid #96a2c5 !important;
}

/* Event Block Makeover */
.fc-v-event, .fc-h-event {
    background-color: var(--bs-light-primary) !important;
    border: 1px solid var(--bs-primary-soft) !important;
    border-radius: 0.45rem !important;
    box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.03);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.fc-v-event:hover, .fc-h-event:hover {
    transform: translateY(-1px);
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.08);
}

/* Subtle Pulsing Status Dots for Events */
.animate-pulse {
    animation: opacityPulse 2s infinite ease-in-out;
}

@keyframes opacityPulse {
    0% {
        opacity: 0.4;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0.4;
    }
}

.modal-dialog.modal-dialog-centered::before {
    content: "";
    position: fixed;
    align-items: center;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    backdrop-filter: blur(2px) !important;
    -webkit-backdrop-filter: blur(2px) !important;
}

.modal-dialog.modal-fullscreen::before {
    content: "";
    position: fixed;
    align-items: center;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    backdrop-filter: blur(2px) !important;
    -webkit-backdrop-filter: blur(2px) !important;
}

#kt_aside_toggle {
    border-radius: 50% !important;
}

.datatable-label {
    font-size: 24px;
    /* Makes the font large */
    font-weight: 600;
    /* Gives it a nice, bold weight */
    border-left: 4px solid #fe6601;
    /* Adds the specific orange left border */
    padding-left: 10px;
    /* Adds space between the border and the text */
    display: inline-block;
    /* Ensures padding and border render correctly */
}

/* .datatable-header-card {
    background: linear-gradient(135deg, #ffffff 0%, #f1fbf4 100%) !important;
    padding: 5px;
    border-radius: 35px !important;
    box-shadow: 0px 10px 35px 0px rgba(56, 71, 109, 0.075) !important;
} */
.task-summary-card {
    position: relative;
    background: #fff;
    border-radius: 20px;
    padding: 14px;
    display: flex;
    align-items: center;
    gap: 18px;
    overflow: hidden;
    border: 1px solid #f1f1f4;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
    transition: all .3s ease;
    height: 100%;
}

.task-summary-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.card-top-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
}

.total-card .card-top-line {
    background: linear-gradient(90deg, #FE6601, #FFB347);
}

.completed-card .card-top-line {
    background: linear-gradient(90deg, #0AB39C, #4ADE80);
}

.pending-card .card-top-line {
    background: linear-gradient(90deg, #F59E0B, #FFD166);
}

.task-icon {
    width: 65px;
    height: 65px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    flex-shrink: 0;
}

.total-card .task-icon {
    background: rgba(254, 102, 1, .12);
    color: #FE6601;
}

.completed-card .task-icon {
    background: rgba(10, 179, 156, .12);
    color: #0AB39C;
}

.pending-card .task-icon {
    background: rgba(245, 158, 11, .12);
    color: #F59E0B;
}

.task-count {
    font-size: 32px;
    font-weight: 800;
    color: #181C32;
    margin-bottom: 4px;
}

.task-title {
    color: #7E8299;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .3px;
}

@media (max-width: 768px) {
    .task-summary-card {
        padding: 18px;
    }

    .task-icon {
        width: 55px;
        height: 55px;
        font-size: 24px;
    }

    .task-count {
        font-size: 26px;
    }
}

/* Target the icon inside btn-custom only during hover state */
.btn-custom:hover .bi-plus-circle-fill {
    opacity: 0 !important;
    visibility: hidden !important;
}

/* Optional: Adds a smooth, crisp fade transition instead of an instant blink */
.btn-custom .bi-plus-circle-fill {
    transition: opacity 0.15s ease-in-out, visibility 0.15s ease-in-out !important;
}

/* --- High-Contrast Orange Palette Overrides --- */

/* Card 1: Total Feedbacks (Deep Carbon / Midnight Dark to contrast against Orange) */
.analysis-card[style*="background-color: #F1416C"]:has(#total_feedbacks) {
    background: linear-gradient(135deg, #1e1e2d 0%, #2b2b40 100%) !important;
}

/* Card 2: Positive Feedbacks (Vibrant High-Contrast Orange) */
.analysis-card[style*="background-color: #50CD89"] {
    background: linear-gradient(135deg, #ff6b00 0%, #ff8800 100%) !important;
}

/* Card 3: Negative Feedbacks (Dark Burnt Orange / Terracotta for distinction) */
.analysis-card[style*="background-color: #F1416C"]:has(#negative_feedbacks) {
    background: linear-gradient(135deg, #b83a00 0%, #d64400 100%) !important;
}

/* Card 4: Average Rating (Deep Warm Amber Gold) */
.analysis-card[style*="background-color: #7239EA"] {
    background: linear-gradient(135deg, #d48400 0%, #e69500 100%) !important;
}


/* --- Structural Card Styling & Hover Elevate --- */
.analysis-card {
    border: 0 !important;
    border-radius: 30px !important;
    box-shadow: 0 4px 12px rgba(255, 107, 0, 0.05) !important;
    /* Soft orange tinted shadow */
    transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1) !important;
}

/* Micro-elevation animation on mouse hover */
.analysis-card:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 12px 24px rgba(255, 107, 0, 0.15) !important;
}


/* --- Typography & Layout Jitter Fixes --- */
.fs-2hx {
    font-size: 2.25rem !important;
    font-weight: 700 !important;
    /* CRITICAL: Prevents your cards from shifting or shaking sideways while numbers count up */
    font-variant-numeric: tabular-nums !important;
}

.ls-n2 {
    letter-spacing: -0.02em !important;
}

.dropdown-menu.dropdown-menu-end.list-filter-menu.show {
    background-color: transparent !important;
    background: linear-gradient(145deg, #F4F5F7 60%, #E5E7EB 50%, #D1D5DB 100%) !important;

    /* The Emboss Effect: Left/Top Highlight + Right/Bottom Deep Shadow */
    border: 1px solid rgba(255, 255, 255, 0.7) !important;
    box-shadow:
        inset 1px 1px 2px rgba(255, 255, 255, 0.9),
        8px 8px 20px rgba(0, 0, 0, 0.24),
        /* Main heavy dark shadow */
        4px 4px 8px rgba(0, 0, 0, 0.16),
        /* Secondary sharp dark shadow core */
        -6px -6px 15px rgba(255, 255, 255, 0.9) !important;
    border: 1px solid #fe6601 !important;
}