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

.card.card-custom {
    box-shadow: 0px 0px 10px 0px rgba(3, 3, 3, 0.09) !important;
    border: 0;
    border-radius: 22px;
}

.btn.btn-light {
    background-color: #fff;
    border-color: #fff;
}

* {
    scrollbar-width: thin;
    scrollbar-color: #404e67 #eaeff4;
}

::-webkit-scrollbar {
    height: 12px;
    width: 10px;
    background: #dadada;
}

::-webkit-scrollbar-corner {
    background: #e6e6e6;
}

::-webkit-scrollbar-thumb {
    background: #6b6b6b;
    -webkit-border-radius: 1ex;
    -webkit-box-shadow: 0px 1px 2px rgb(255 255 255 / 75%);
}

.heart-switch {
    --duration: .45s;
    --stroke: #D1D6EE;
    --stroke-active: #ec4472;
    --fill: #fff;
    --fill-active: #ec638e;
    --shadow: rgba(0, 9, 61, 0.25);
    cursor: pointer;
    position: relative;
    transform: scale(var(--s, 1)) translateZ(0);
    transition: transform 0.2s;
    -webkit-tap-highlight-color: transparent;
}

.heart-switch:active {
    --s: .95;
}

.heart-switch input {
    -webkit-appearance: none;
    -moz-appearance: none;
    position: absolute;
    outline: none;
    border: none;
    pointer-events: none;
    z-index: 1;
    margin: 0;
    padding: 0;
    left: 1px;
    top: 1px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 3px 0 var(--shadow);
}

.heart-switch input+svg {
    width: 36px;
    height: 25px;
    fill: var(--fill);
    stroke: var(--stroke);
    stroke-width: 1px;
    stroke-linejoin: round;
    display: block;
    transition: stroke var(--duration), fill var(--duration);
}

.heart-switch input:not(:checked) {
    -webkit-animation: uncheck var(--duration) linear forwards;
    animation: uncheck var(--duration) linear forwards;
}

.heart-switch input:checked {
    -webkit-animation: check var(--duration) linear forwards;
    animation: check var(--duration) linear forwards;
}

.heart-switch input:checked+svg {
    --fill: var(--fill-active);
    --stroke: var(--stroke-active);
}

.bootstrap-select>.dropdown-toggle.bs-placeholder.btn {
    color: black !important;
}

@-webkit-keyframes uncheck {
    0% {
        transform: rotate(-30deg) translateX(13.5px) translateY(8px);
    }

    50% {
        transform: rotate(30deg) translateX(9px);
    }

    75% {
        transform: rotate(30deg) translateX(4.5px) scaleX(1.1);
    }

    100% {
        transform: rotate(30deg);
    }
}

@keyframes uncheck {
    0% {
        transform: rotate(-30deg) translateX(13.5px) translateY(8px);
    }

    50% {
        transform: rotate(30deg) translateX(9px);
    }

    75% {
        transform: rotate(30deg) translateX(4.5px) scaleX(1.1);
    }

    100% {
        transform: rotate(30deg);
    }
}

@-webkit-keyframes check {
    0% {
        transform: rotate(30deg);
    }

    25% {
        transform: rotate(30deg) translateX(4.5px) scaleX(1.1);
    }

    50% {
        transform: rotate(30deg) translateX(9px);
    }

    100% {
        transform: rotate(-30deg) translateX(13.5px) translateY(8px);
    }
}

@keyframes check {
    0% {
        transform: rotate(30deg);
    }

    25% {
        transform: rotate(30deg) translateX(4.5px) scaleX(1.1);
    }

    50% {
        transform: rotate(30deg) translateX(9px);
    }

    100% {
        transform: rotate(-30deg) translateX(13.5px) translateY(8px);
    }
}

.bottom_user_profile_icon {
    bottom: 0 !important;
    position: fixed !important;
}

.bottom_setting_icon {
    bottom: 45px !important;
    position: fixed;
}

.bottom_heart_icon {
    bottom: 90px !important;
    position: fixed !important;
}

.bottom_location_icon {
    bottom: 160px !important;
    position: fixed !important;
}

.serch-click-overlay {
    background: #9f9f9f !important;
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    z-index: 999;
    right: 50px;
    font-size: 50px;
    color: #fff;
    display: none;
}

.serch-click-overlay input[type="text"] {
    position: absolute;
    top: 100px;
    width: 300px;
    left: 100px;
    height: 100px;
    font-size: 60px;
    color: #ffffff;
    width: -webkit-calc(100vw - 100px);
    width: calc(100% - 200px);
    outline: none;
    background: transparent;
    border: none;
    padding-bottom: 20px;
    border-bottom: 2px solid #fff !important;
}

#searchString::-webkit-input-placeholder {
    color: #fff;
    opacity: 0.7;
}

.serach-fa-text {
    height: 50px;
    width: 50px;
    position: absolute;
    top: 105px;
    right: 50px;
    font-size: 50px;
    color: #fff;
    cursor: pointer;
    margin-right: 50px;

}

.serach-cross {
    float: right;
    margin-right: 15px;
    cursor: pointer;
    display: inline-block;
    font: normal normal normal 14px/1 FontAwesome;
    font-size: inherit;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
}

.dummy-media-object {
    padding: 15px 15px 20px 20px;
    margin: 0 0 20px;
    font-size: 30px;
    cursor: pointer;
    border-radius: 5px;
    background: #9f9f9f !important;
    border: 1px solid #fff !important;
}

.srch_help_text {
    font-size: 15px;
    margin-top: 204px;
    float: left;
    position: absolute;
    margin-left: 85px;
    text-transform: capitalize;
    color: #ffffff;
    font-weight: normal;
}

/*.top-tiles {
    margin-top:20%;
}*/

.otp-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 10vh;
}

.otp-input {
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
    text-align: center;
    margin: 0 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.resend-container {
    text-align: center;
    margin-top: 20px;
}

.resend-link {
    color: #1B67FA;
    text-decoration: underline;
    cursor: pointer;
}

.no-padding {
    padding-left: 0px;
    padding-right: 0px;
}

.m-b-20 {
    margin-bottom: 20px !important;
}

h1 {
    line-height: 48px;
    font-size: 36px;
}

h2 {
    line-height: 36px;
    font-size: 24px;
}

h3 {
    line-height: 30px;
    font-size: 21px;
}

h4 {
    line-height: 22px;
    font-size: 18px;
}

h5 {
    font-size: 16px;
    font-size: 14px;
}

.text-font {
    font-size: 16px;
}

.pull-right {
    float: right !important;
}

.pull-left {
    float: left !important;
}

.white-box {
    box-shadow: 0px 0px 10px 0px rgb(3 3 3 / 9%) !important;
    border: 0 !important;
}

.container {
    margin-top: 20px !important;
}

#kt_quick_notification .notification-item {
    margin-top: 5px;
}

#kt_quick_notification .notification-item:first-child {
    margin-bottom: 5px;
}

#kt_quick_notification .header-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 20px;
    font-weight: 600;
    /* color: #fafafa; */
}




/* For Timetable */
.timetable-container {
    max-width: 1000px;
    margin: 0 auto;
    background-color: #ffffff;
    padding: 20px;
    border-radius: 16px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}

.timetable {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-top: 20px;
    border-radius: 16px;
    overflow: hidden;
}

.timetable th,
.timetable td {
    border: 1px solid #ddd;
    padding: 12px;
    text-align: center;
}

.timetable th {
    background-color: #4C42FF;
    color: white;
    text-transform: uppercase;
}

.timetable tr:nth-child(even) {
    background-color: #e6f2ff;
}

.timetable tr:nth-child(odd) {
    background-color: #f2f9ff;
}

.timetable tr:hover {
    background-color: #cce7ff;
}

.timetable td {
    font-size: 13px;
    color: #333;
}

.timetable td:nth-child(1) {
    font-weight: bold;
    background-color: #e6f2ff;
}

.contentshow2 {
    position: sticky;
    background: #eee;
}


#display_cummulative_report_structure_table .table-container {
  max-height: 500px;
  overflow-y: auto;
  position: relative;
}

#display_cummulative_report_structure_table {
  width: 100%;
  border-collapse: collapse;
}

.display_cummulative_report_structure_tbody tr:nth-child(1) {
  position: sticky !important;
  top: 0 !important;
  z-index: 10 !important;
  background-color: #fff !important;
}

.display_cummulative_report_structure_tbody tr:nth-child(2) {
  position: sticky !important;
  top: 79px !important;
  z-index: 9 !important;
  background-color: #fff !important;
}

.display_cummulative_report_structure_tbody tr:nth-child(1),
.display_cummulative_report_structure_tbody tr:nth-child(2) {
  box-shadow: 0 2px 4px rgba(0,0,0,0.1) !important;
}

.display_cummulative_report_structure_tbody tr:nth-child(n+3) {
  position: relative !important;
}

#display_cummulative_report_structure_table td, #display_cummulative_report_structure_table th {
  padding: 12px !important;
  border: 1px solid #ddd !important;
}



/* keep your default LTR using existing Tailwind classes or baseline */

/* When document has rtl, swap left/right padding used for the content */
/* html[dir="ltr"] .main-content-screen {
  padding-left: 5rem !important; 
  padding-right: 0 !important;
} */
html[dir="rtl"] .main-content-screen {
    padding-left: 0 !important;
    padding-right: 5rem !important;
}

/* For the inner placeholder (pl-8), swap similarly */
/* html[dir="ltr"] .sidebar-placeholder { padding-left: 2rem !important; padding-right:0 !important; } */
html[dir="rtl"] .sidebar-placeholder {
    padding-left: 0 !important;
    padding-right: 2rem !important;
}

html[dir="rtl"] .main-content-screen>div:first-child {
    padding-left: 0 !important;
    /* padding-right: 5rem !important;  */
}

html[dir="rtl"] a.previous {
    float: inline-start !important;
}

/* RTL fixes for te-select */
[dir="rtl"] .data-te-select-wrapper-ref,
[dir="rtl"] [data-te-select-wrapper-ref] {
    direction: rtl;
}

/* Flip absolute positioning */
[dir="rtl"] .left-0 {
    left: auto;
    right: 0;
}

[dir="rtl"] .left-3 {
    left: auto;
    right: 0.75rem;
}

[dir="rtl"] .right-3 {
    right: auto;
    left: 0.75rem;
}

/* Fix notch container */
[dir="rtl"] [data-te-input-notch-ref] {
    flex-direction: row-reverse;
}

/* =========================================================
   GLOBAL RTL PATCH — fixes ml-*, mr-*, absolute icons, flex
   ========================================================= */

/* 1️⃣ Flip all margin-left utilities in RTL */
[dir="rtl"] .ml-0 {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

[dir="rtl"] .ml-1 {
    margin-left: 0 !important;
    margin-right: 0.25rem !important;
}

[dir="rtl"] .ml-2 {
    margin-left: 0 !important;
    margin-right: 0.5rem !important;
}

[dir="rtl"] .ml-3 {
    margin-left: 0 !important;
    margin-right: 0.75rem !important;
}

[dir="rtl"] .ml-4 {
    margin-left: 0 !important;
    margin-right: 1rem !important;
}

[dir="rtl"] .ml-5 {
    margin-left: 0 !important;
    margin-right: 1.25rem !important;
}

[dir="rtl"] .ml-6 {
    margin-left: 0 !important;
    margin-right: 1.5rem !important;
}

[dir="rtl"] .ml-8 {
    margin-left: 0 !important;
    margin-right: 2rem !important;
}

[dir="rtl"] .ml-16 {
    margin-left: 0 !important;
    margin-right: 4rem !important;
}

[dir="rtl"] .ml-auto {
    margin-left: 0 !important;
    margin-right: auto !important;
}

/* 2️⃣ Flip padding-left utilities */
[dir="rtl"] .pl-1 {
    padding-left: 0 !important;
    padding-right: 0.25rem !important;
}

[dir="rtl"] .pl-2 {
    padding-left: 0 !important;
    padding-right: 0.5rem !important;
}

[dir="rtl"] .pl-4 {
    padding-left: 0 !important;
    padding-right: 1rem !important;
}

[dir="rtl"] .pl-6 {
    padding-left: 0 !important;
    padding-right: 1.5rem !important;
}

[dir="rtl"] .pl-8 {
    padding-left: 0 !important;
    padding-right: 2rem !important;
}

/* 3️⃣ Fix absolute positioned icons (cards, stats, inputs) */
[dir="rtl"] .absolute.left-0 {
    left: auto !important;
    right: 0 !important;
}

[dir="rtl"] .absolute.left-3 {
    left: auto !important;
    right: 0.75rem !important;
}

[dir="rtl"] .absolute.right-3 {
    right: auto !important;
    left: 0.75rem !important;
}

/* 4️⃣ Fix text alignment globally */
[dir="rtl"] {
    text-align: right;
}

/* 5️⃣ Fix flex auto alignment (ml-auto cases) */
[dir="rtl"] .flex {
    direction: rtl;
}

/* 6️⃣ Prevent icon + text overlap in cards */
[dir="rtl"] dt,
[dir="rtl"] dd {
    position: relative;
}

/* ===== SAFE GLOBAL RTL PATCH ===== */

/* Bootstrap grid */
[dir="rtl"] .row {
    direction: rtl;
}

/* Float fixes */
[dir="rtl"] .float-right {
    float: left !important;
}

[dir="rtl"] .float-left {
    float: right !important;
}

/* Text alignment */
[dir="rtl"] .col-lg-6,
[dir="rtl"] .col-md-6,
[dir="rtl"] .col-sm-6 {
    text-align: right;
}

/* 
========================
For Dashboard
*/
[dir="rtl"] .main-widgets-div {
    direction: rtl;
}

/* ===============================
   DataTables RTL FIX (GLOBAL)
   =============================== */

/* Flip info text */
[dir="rtl"] .dataTables_info {
    text-align: right !important;
}

/* Flip pagination container */
[dir="rtl"] .dataTables_paginate {
    text-align: left !important;
    /* visual right side in RTL */
}

/* Neutralize text-center INSIDE DataTables only */
[dir="rtl"] .dataTables_paginate .text-center {
    text-align: left !important;
}

/* Fix pagination buttons order */
[dir="rtl"] .dataTables_paginate ul,
[dir="rtl"] .dataTables_paginate .pagination {
    direction: rtl;
}

/* Fix Previous / Next spacing */
[dir="rtl"] .dataTables_paginate .page-item {
    margin-left: 0 !important;
    margin-right: 0.25rem;
}

/* ================================
   Bootstrap text alignment RTL fix
   ================================ */

[dir="rtl"] .text-right {
    text-align: left !important;
}

[dir="rtl"] .text-left {
    text-align: right !important;
}

[dir="rtl"] .sideFlipSessionYearMainDiv {
    right: inherit !important;
    left: 90px !important;
}

[dir="rtl"] .offcanvas.offcanvas-on {
    left: inherit !important;
    right: 0 !important;
}


[dir="rtl"] .card.card-flush.pb-0.bgi-position-y-center.bgi-no-repeat {
    background-position-x: initial !important;
    background-position: left !important;
}

.card.card-flush.pb-0.bgi-position-y-center.bgi-no-repeat {
    background-image: initial !important;
}
