
@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css");
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:ital,wght@0,100..900;1,100..900&display=swap');


:root {
    --themecolor: #ffdcaa;
    --themecolor2: #C9E8E8;
    --highlight: #FF0A00;
    --button-bg-color: #E8FBF9;
}
body {
    font-family: "Inter", sans-serif;
    font-size: .875rem;  /*.875rem;*/
    color: var(--bs-secondary);
}
img {
    max-width: 100%;
}
h1, h2, h3, h4, h5, h5, h6 {
    color: var(--bs-dark);
}
.fs-7 {
    font-size: .875rem;
}
.fs-8 {
    font-size: .75rem;
}
.fs-9 {
    font-size: .65rem;
}
.cursor-pointer {
    cursor: pointer;
}
.white-space-nowrap {
    white-space: nowrap;
}
.save-btn {
    background-color: #4F46E5;
    color: #FFFFFF;
}
.approve-btn {
    background-color: #367858;
    color: #FFFFFF;
}
.cancel-btn {
    color: #858D9D;
    background-color: #FFFFFF;
    border: 1px solid #C5C5C7;
}
.delete-btn, .reject-btn {
    background-color: #DC2626;
    color: #FFFFFF;
}
.btn-primary {
    background-color: #1A78E3;
    border-color: #1A78E3;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary.active,
.open > .dropdown-toggle.btn-primary {
    background-color: #0F52B5;
    border-color: #0F52B5;
}
.theme-color {
    color: var(--themecolor);
}
.bg-theme-color {
    background-color: var(--themecolor);
}
.theme-color2 {
    color: var(--themecolor2);
}
.bg-theme-color2 {
    background-color: var(--themecolor2);
}
hr {
    background-color: #ced4da;
}
.bg-gradient1 {
    background-image: linear-gradient(to bottom, #abd9c3, #b5e1e0, #cde7f1, #e7eef6, #f7f7f7);
}
.no-wrap {
    white-space: nowrap;
}

.password-field-icon {
    float: right;
    left: -10px;
    top: -32px;
    position: relative;
    z-index: 4;
    cursor: pointer;
    font-size: 18px;
}

.login-password-field-icon {
    cursor: pointer;
}

.form-check {
    margin-bottom: .5rem;
    padding-left: 0;
    position: relative;
    overflow: hidden;
    font-size: .875rem;
}
.form-check-input[type=checkbox] {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
    left: 0;
    top: 0;
}
.form-check-input[type=checkbox] + .form-check-label:before {
    content: "";
    border: 2px solid var(--bs-gray-dark);
    display: inline-block;
    width: 1.25em;
    height: 1.25em;
    position: relative;
    top: 2px;
    margin-right: 0.5em;
    vertical-align: top;
    cursor: pointer;
    text-align: center;
    transition: all 250ms ease;
    pointer-events: none;
    border-radius: 3px;
  }
  .form-check-input[type=checkbox]:checked + .form-check-label:before {
    background: var(--bs-gray-dark);
  }
  .form-check-input[type=checkbox]:checked + .form-check-label:after {
    content: "";
    position: absolute;
    top: 5px;
    left: 7px;
    width: 6px;
    height: 11px;
    border: solid var(--bs-white);
    border-width: 0px 2px 2px 0;
    transform: rotate(45deg);
    pointer-events: none;
}
.form-check-input[type=checkbox]:checked + .form-check-label:after {
    top: 4px;
    left: 6px;
}

.select2-container {
    display: block;
}
.select2-container--open {
    z-index: 9999;
}

.tooltip .tooltip-arrow:before {
    border-top-color: var(--bs-white);
}
.tooltip .tooltip-inner {
    /*min-height: 50px;*/
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: .5rem;
    font-weight: bold;
    font-size: 10px;
    line-height: 12px;
    background-color: var(--bs-white);
    color: var(--bs-dark);
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    border: 1px solid rgb(0 0 0 / 13%);
}

    .custom-radio {
        transform: scale(1.5); /* Adjust the scale value as needed */
        margin-right: 10px; /* Optional: Add some space to the right of the radio button */
        cursor: pointer; /* Change cursor to pointer for better UX */
    }

.custom-input-numer-group .btn-number {
    border: 1px solid #aaaaaa;
    border-radius: .5rem;
    height: 28px;
    width: 28px;
    line-height: 28px;
    font-size: 1rem;
    padding: 0;
}
.custom-input-numer-group .input-number {
    width: 32px;
    text-align: center;
    display: inline-block;
    border: 1px solid transparent;
    height: 28px;
    line-height: 28px;
    padding: 0;
}

/* start date picker css */
#ui-datepicker-div {
    z-index: 99999 !important;
    background: var(--bs-white);
}
#ui-datepicker-div .ui-datepicker-header {
    background: transparent;
    border: none;
}
#ui-datepicker-div .ui-datepicker-header .ui-datepicker-title {
    color: var(--bs-primary);
    font-weight: 500;
}
#ui-datepicker-div .ui-datepicker-header .ui-datepicker-next, #ui-datepicker-div .ui-datepicker-header .ui-datepicker-prev {
    background: var(--bs-primary);
    color: var(--bs-white);
    width: 28px;
    height: 28px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    font-weight: bold;
    border: 0;
    top: 2px;
    border-radius: 50%;
}
#ui-datepicker-div .ui-datepicker-header .ui-datepicker-next::after, #ui-datepicker-div .ui-datepicker-header .ui-datepicker-prev::after {
    font-family: "bootstrap-icons";
}
#ui-datepicker-div .ui-datepicker-header .ui-datepicker-next {
    right: 2px;
  }
#ui-datepicker-div .ui-datepicker-header .ui-datepicker-next::after {
    content: "\f285";
}
#ui-datepicker-div .ui-datepicker-header .ui-datepicker-prev {
    left: 2px;
}
#ui-datepicker-div .ui-datepicker-header .ui-datepicker-prev::after {
    content: "\f284";
}
#ui-datepicker-div .ui-datepicker-calendar th {
    font-weight: 500;
}
#ui-datepicker-div .ui-datepicker-calendar .ui-state-default {
    text-align: center;
    background: transparent;
    border: none;
}
#ui-datepicker-div .ui-datepicker-calendar .ui-state-default.ui-state-highlight {
    background: var(--bs-dark);
    color: var(--bs-white);
    border-radius: 50%;
    width: 28px;
    height: 28px;
    display: flex;
    justify-content: center;
    align-items: center;
}
#ui-datepicker-div .ui-datepicker-calendar .ui-state-default.ui-state-active {
    background: var(--bs-primary);
    border-radius: 50%;
    width: 28px;
    height: 28px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.ui_datepicker::after {
    content: "\f282";
}
.datepicker-group {
    position: relative;
}
.datepicker-icon {
    position: absolute;
    right: .5rem;
    top: .5rem;
    pointer-events: none;
}
.datepicker-iconsearch {
     position: absolute;
    right: .2rem;
    top: .5rem;
    pointer-events: none;
   
}
/* end date picker css */

/* start radio button css */
.form-check-radio {
    position: relative;
}
.form-check-input:checked {
    background-color: #00B0A6 !important;
    border-color: #00B0A6 !important;
}
.form-check-radio input[type=radio] {
  position: absolute;
  opacity: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
  margin-left: inherit;
  margin-top: initial;
}
.form-check-radio input[type=radio] + .form-check-label:before {
  content: "";
  background: var(--bs-white);
  border: 2px solid var(--bs-secondary);
  display: inline-block;
  width: 1.4em;
  height: 1.4em;
  position: relative;
  top: 1px;
  margin-right: 0.5em;
  vertical-align: top;
  cursor: pointer;
  text-align: center;
  transition: all 250ms ease;
  border-radius: 50%;
  pointer-events: none;
}
.form-check-radio .radio-label {
    margin-bottom: 0;
}
.form-check-radio input[type=radio]:checked + .form-check-label:before {
    background-color: var(--bs-gray-dark);
    box-shadow: inset 0 0 0 3px #ffffff;
    border-color: var(--bs-gray-dark);
}
/* end radio button list */

/* start login page css */
.bg-login {
    background-image: url(../img/login.png);
    background-repeat: no-repeat;
    background-size: contain;
    height: 100vh;
    background-position: center left;
    background-color: #F9FAFB;
}
.login-box {
    max-width: 384px;
    margin: 0 auto;
}
.login-logo {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}
.login-logo img {
    width: 80px;
    height: auto;
}
.login-logo figcaption {
    margin-left: 1rem;
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--bs-dark);
}
/* end login page css */

.dashboard-wrapper {
    background: #FFFFFF;
    width: 100%;
    height: 100%;
    min-height: 100vh;
}

header {
    margin-right: var(--bs-gutter-x, -.75rem);
    margin-left: var(--bs-gutter-x, -.75rem);
    padding: 1rem;
    position: sticky;
    top: 0;
    z-index: 999;
    border-bottom: 1px solid var(--bs-light);
    height: 66px;
    margin-bottom: 20px !important;
}
.brand-favicon {
    width: 40px;
    height: auto;
}
.brand-favicon img {
    width: 100%;
    height: 100%;
}
.notify-list {
    padding-left: 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 0;
}
.notify-list li {
    color: var(--bs-secondary);
    position: relative;
    padding-right: .5rem;
    list-style-type: none;
    margin-right: 29px;
}
.notify-list li i {
    font-size: 1.25rem;
}
.notify-list li span {
    background: var(--highlight);
    color: var(--bs-white);
    min-width: 16px;
    display: inline-block;
    text-align: center;
    border-radius: 50%;
    font-size: 10px;
    height: 16px;
    line-height: 16px;
    position: absolute;
    right: 0;
}
.header-profile {
    width: 32px;
    height: 32px;
    display: block;
    margin-right: 15px;
}
.header-profile img {
    width: 100%;
    height: 100%;
}

.toggle-bar {
    margin-right: 1rem;
    margin-left: 1rem;
    cursor: pointer;
    /* position: absolute;
    left: calc(100% - .875rem);
    top: 50%;
    transform: translateY(-50%); */
    background: var(--bs-white);
    width: 1.75rem;
    height: 1.75rem;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border-radius: .5rem;
}

.dashboard-wrap {
    display: flex;
    width: 100%;
}

.side-bar {
    flex: 0 1 280px; /* Sidebar starts with 250px, but can shrink if needed */
    min-width: 260px; /* Minimum sidebar width */
    height: 100vh;
    white-space: nowrap; /* Prevent text wrapping */
    overflow-y: auto; /* Hide overflow text */
    text-overflow: ellipsis; /* Add ellipsis for long text */
    background-color: #f4f4f4;
    transition: flex-basis 0.3s ease; /* Smooth resizing */
    position: sticky;
    top: 0;
    padding-right: 0;
    border-right: 1px solid #f4f4f4;
}
.logo-header {
    display: flex;
    align-items: center;
    align-items: center;
    height: 100%;
    max-height: 66px;
    padding: 0 1rem;
    border-bottom: 1px solid var(--bs-light);
}

.table-container {
    max-width: calc(100% - 250px); /* Subtract sidebar width */
    overflow-x: auto; /* Horizontal scrolling if needed */
}


.sidebar-profile {
    max-width: 64px;
    max-height: 64px;
    display: block;
}
.sidebar-profile img {
    width: 100%;
    height: 100%;
}
.side-bar-shrink .sidebar-profile-intro {
    display: none;
}
.sidebar-profile-intro {
    height: 41px;
    align-items: center;
    display: inline-flex;
}
.brand-name {
    color: var(--bs-dark);
    font-size: 1.2rem;
    font-weight: 500;
    padding-left: 1rem;
}
.profile-notification {
    position: relative;
    text-align: right;
}
.profile-notification i {
    font-size: 28px;
}
.profile-notification span {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--highlight);
    width: 20px;
    height: 20px;
    font-size: .75rem;
    color: var(--bs-white);
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
}
.side-bar-shrink .profile-notification-col {
    display: none;
}
.side-bar.side-bar-shrink {
    /* width: 70px; */
    padding: 0;
    width: 0;
    opacity: 0;
    visibility: hidden;
}
.side-bar.side-bar-shrink .sidebar-profile {
    width: 40px;
    height: 40px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
}
.side-bar.side-bar-shrink .sidebar-profile img {
    height: auto;
}
.dashboard-content {
    width: 100%;
    position: relative;
    min-height: 115vh; /*100vh;*/
    display: flex;
    flex-direction: column;
}
.dashboard-content-overlay::after {
    content: '';
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .5);
    position: fixed;
    z-index: 10;
    top: 0;
    left: 0;
}

.side-bar-title {
    color: var(--bs-dark);
    font-weight: 500;
    margin-bottom: .25rem;
}
.side-menu {
    /*padding: .875rem 1rem;*/
    padding: .875rem 0rem .875rem 1rem;
    margin-bottom: 0;
    overflow-y: auto;
}
.side-menu::-webkit-scrollbar {
    width: 4px;
}
.side-menu::-webkit-scrollbar-track {
    background-color: var(--bs-light);
}
.side-menu::-webkit-scrollbar-thumb {
    background: var(--bs-secondary); 
}
.side-menu li {
    list-style-type: none;
}
.side-menu li a {
    color: #6c757d;
    text-decoration: none;
    position: relative;
    display: flex;
    align-items: center;
    padding: .2rem;
    border-radius: .5rem;
    font-size: 12px;
    font-weight: bolder;
}
.side-menu li a:hover {
    color: var(--bs-dark);
}
.side-menu li a i {
    /*font-size: 1.25rem;*/
    font-size: .85rem;
    margin-right: .5rem;
}
.side-menu li a sup {
    background: #ff0a00;
    min-width: 20px;
    height: 20px;
    display: inline-flex;
    border-radius: 50%;
    color: #fff;
    justify-content: center;
    align-items: center;
    font-size: .55rem;
    padding: .5rem;
}
.side-bar-shrink .side-menu li a span {
   display: none;
}
.side-menu li a:hover {
    background: var(--bs-light);
}
.side-menu li .btn-toggle::after {
    content: "\F282";
    font-family: bootstrap-icons;
    position: absolute;
    right: .5rem;
/*    top: .75rem;*/
}
.side-bar-shrink .side-menu li .btn-toggle::after {
    display: none;
}
.side-menu li .btn-toggle.collapsed::after {
    content: "\F285";
}
.side-menu li ul {
    padding-left: 1.75rem;
}
.side-menu li ul li a {
    color: var(--bs-secondary);
}
.side-menu li ul li a:hover {
    color: var(--bs-dark);
}
.side-menu li a.parent-menu.active, 
.side-menu li a.child-menu.active,
.side-menu li a.dashboard.active

{
    background: #e8fbf9;
    color: var(--bs-dark);
}

.side-menu-bottom {
    padding: .875rem 1rem;
    margin-bottom: 0;
}
.side-menu-bottom  li{
    list-style-type: none;
}
.side-menu-bottom  li a {
    color: #6c757d;
    text-decoration: none;
    position: relative;
    display: flex;
    align-items: center;
    padding: .2rem;
    border-radius: .5rem;
    font-size: 12px;
    font-weight: bolder;
}
.side-menu-bottom li a:hover {
    background: var(--bs-light);
}
.side-menu-bottom  li a i {
    font-size: 1.25rem;
    margin-right: .5rem;
}
.side-menu-bottom  a:hover {
    color: var(--bs-dark);
}
.side-bar-shrink .side-menu-bottom  li a span {
    display: none;
}
.side-menu-bottom .logout-item a {
    color: var(--highlight);
}

.form-step-list {
    padding-left: 0;
    text-align: center;
    margin-top: 1rem;
    margin-bottom: 2rem;
    white-space: nowrap;
    overflow-x: auto;
    padding-bottom: .5rem;
}
.form-step-list li {
    display: inline-block;
    width: 85px;
    font-size: 10px;
    line-height: 12px;
    position: relative;
    padding-bottom: .25rem;
    margin-bottom: .5rem;
    white-space: break-spaces;
}
.form-step-list li::after {
    content: '';
    height: 1px;
    width: 100%;
    position: absolute;
    top: 100%;
    background: var(--bs-secondary);
    left: 50%;
}
.form-step-list li:last-child::after {
    display: none;
}
.form-step-list li span {
    padding: 0 .5rem;
    text-align: center;
    vertical-align: middle;
    height: 48px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
}
.form-step-list li span::before {
    content: '';
    width: 16px;
    height: 16px;
    border: 1px solid var(--bs-secondary);
    border-radius: 50%;
    position: absolute;
    top: calc(100% - 8px);
    background: var(--bs-white);
    z-index: 1;
}
.form-step-list li.step-completed span::after {
    content: '\F272';
    font-family: bootstrap-icons;
    position: absolute;
    left: auto;
    z-index: 2;
    width: 16px;
    height: 16px;
    border: 1px solid var(--bs-success);
    border-radius: 50%;
    top: calc(100% - 8px);
    background: var(--bs-success);
    font-size: 12px;
    font-weight: bold;
    display: inherit;
    line-height: 16px;
}

.form-step {
    background-color: var(--bs-white);
    padding: 15px 20px;
}

.service-user-list {
    display: flex;
    align-items: center;
}
.service-user-list figure {
    margin-bottom: 0;
    margin-right: .75rem;
    width: 56px;
    height: 56px;
}
.service-user-list figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-user-list-info .service-user-name {
    font-size: .75rem;
}
.service-user-list-info span {
    width: 14px;
    height: 14px;
    display: inline-block;
    background: var(--bs-secondary);
    border-radius: 50%;
}
.service-user-list-info span.active {
    background: var(--bs-primary);
}

.submission-table {
    margin-bottom: 0;
}
.submission-table thead th {
    font-weight: 400;
    font-size: .75rem;
    padding-top: .5rem;
    padding-bottom: .5rem;
}
.submission-table>:not(:last-child)>:last-child>* {
    border-bottom-color: var(--bs-secondary);
}
.submission-table tbody td {
    font-weight: 300;
    font-size: .75rem;
    border-bottom: 0;
    padding-top: .25rem;
    padding-bottom: .25rem;
}
.submission-table tbody tr:first-child td {
    padding-top: .5rem;
}
.submission-table tbody td .td-dots {
    font-size: 1rem;
    line-height: 1rem;
}

.search-filter {
    display: flex;
    align-items: center;
    position: relative;
    border: 1px solid #dee2e6;
}
.search-filter i {
    position: absolute;
  left: .5rem;
  pointer-events: none;
}
.search-filter input {
    border: 0;
  outline: 0;
  padding: .25rem;
  padding-left: 1.875rem;
  background: var(--bs-white);
  border-radius: .25rem;
}

.body-header-section {
    margin-bottom: 20px
}
.table-heading {
    font-size: 1.5rem;
    font-weight: bold;
    padding: .5rem 0;
    margin: 0;
}

.custom-table {
    margin-bottom: 20px
}
.custom-table > :not(:last-child) > :last-child > * {
    border-bottom-color: inherit;
}
.custom-table thead tr th {
    font-size: .75rem;
    color: var(--bs-dark);
    padding: .75rem .5rem;
}
.custom-table thead tr th input[type=checkbox] {
    width: 1rem;
    height: 1.5rem;
    vertical-align: middle;
}
.custom-table tbody {
    color: var(--bs-dark);
}
.custom-table tbody tr td {
    font-size: 11.2px;
    vertical-align: middle;
    padding: .5rem;
}
.custom-table tbody tr td input[type=checkbox] {
    width: .875rem;
    height: .875rem;
    vertical-align: middle;
}
/*.custom-table tbody tr td select {
    background: transparent;
    border: 1px solid #dee2e6;
    padding: .5rem;
    width: 100px;
    border-radius: 2px;
}*/
.custom-table tbody tr td.status {
    width: 100px;
}
.custom-table tbody tr td.status span, .custom-status span {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 4px 6.5px;
    border-radius: 2px;
    width: 99px;
    height: 28px;
    text-align: center;
    font-family: "Noto Sans", sans-serif;
}

.custom-table tbody tr td.outstanding-status span{
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 4px 6.5px;
    border-radius: 2px;
    min-width: 175px;
    height: 28px;
    text-align: center;
    font-family: "Noto Sans", sans-serif;
}

.custom-table tbody tr td .input-numer-group {
    display: flex;
    align-items: center;
}
.custom-table tbody tr td .input-numer-group .btn-number {
    background: var(--bs-light);
    color: var(--bs-dark);
    border-radius: 50%;
    width: 26px;
    height: 26px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
}
.custom-table tbody tr td .input-numer-group .input-number {
    width: 40px;
    flex: initial;
    text-align: center;
    padding: .25rem;
    margin: 0 .5rem;
}
.custom-table .collapse-row-btn.collapsed .bi-chevron-right::before {
    content: "\f285";
}
.custom-table .collapse-row-btn .bi-chevron-right::before {
    content: "\F282";
    cursor: pointer;
}
.custom-table .col-span {
    padding: 0;
    border: none;
}
.custom-table .collapse-row {
    background: #E9FCF9;
}

.mobile-menu {
    display: none;
}

.filter-dropdown .dropdown-menu {
    padding: 1rem;
}
.filter-dropdown .dropdown-toggle {
    color: var(--bs-secondary);
    cursor: pointer;
    white-space: initial;
    display: inline-block;
}
.filter-dropdown .dropdown-toggle::after {
    content: "";
    display: inline-block;
    margin-left: 0.5rem;
    vertical-align: 0.25rem;
    width: 0.5rem;
    height: 0.5rem;
    border-bottom: 1px solid;
    border-right: 1px solid;
    transform: rotate(45deg);
    border-top: initial;
    border-left: initial;
}
.filter-dropdown .dropdown-toggle.show::after {
    transform: rotate(225deg);
    vertical-align: 0;
}

.copyright-login {
    font-size: 13px;
}
.copyright {
    margin-right: var(--bs-gutter-x, -.75rem);
    margin-left: var(--bs-gutter-x, -.75rem);
    position: sticky !important;
    bottom: 0;
    margin-top: auto;
    font-size: 13px;
    letter-spacing: .2px;
    padding-top: 14px;
    padding-bottom: 13px;
}

/* start medal menu css */
.modal-menu-responsive {
    overflow-x: auto;
    overflow-y: hidden;
}
.modal-menu {
    padding-left: 0;
    display: flex;
    border-bottom: 1px solid var(--bs-secondary);
    margin-bottom: 0;
}
.modal-menu li {
    color: var(--bs-secondary);
    list-style-type: none;
    padding: .5rem;
    font-size: .75rem;
    cursor: pointer;
    position: relative;
    white-space: nowrap;
}
.modal-menu li.active {
    color: var(--bs-primary);
    font-weight: 500;
}
.modal-menu li.active::after {
    content: '';
    position: absolute;
    top: calc(100% - 1px);
    height: 2px;
    width: 100%;
    background: var(--bs-primary);
    left: 0;
}
/* end modal menu css */

/* start modal form css */
.modal-form .form-select {
    color: var(--bs-secondary);
    font-size: .875rem !important;
}
.modal-form .btn-primary {
    background-color: #4F46E5 !important;
    border-color: #4F46E5 !important;
    color: white !important;
}
.modal-form .btn-primary:hover,
.modal-form .btn-primary:focus,
.modal-form.btn-primary:active,
.modal-form .btn-primary.active,
.modal-form .open > .dropdown-toggle.btn-primary {
    background-color: #3B35B3 !important;
    border-color: #3B35B3 !important;
    color: white !important;
}
.modal-content {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2); /* Adjust the values for desired shadow effect */
}
.btn-secondary {
    background-color: #adb5bd;
    border-color: #adb5bd;
}
.btn-secondary:hover,
.btn-secondary:focus,
.btn-secondary:active,
.btn-secondary.active,
.open > .dropdown-toggle.btn-secondary {
    background-color: #6c757d;
    border-color: #6c757d;
}
/* end modal form css */

/* sttart upload img css */
.upload-img-wrap {
    position: relative;
  }
  .upload-img-wrap .profile-img-edit {
    position: absolute;
      top: 50%;
      transform: translate(-50%, -50%);
      z-index: 9;
      left: 50%;
  }
  .upload-img-wrap .profile-img-edit input {
    display: none;
  }
  .upload-img-wrap .profile-img-preview {
    width: 80px;
    height: 80px;
    position: relative;
    border-radius: .5rem;
    border: 2px dashed #ced4da;
  }
  .upload-img-wrap .profile-img-preview > div {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
  }
/* end upload img css */

/* start step progress css */
.StepProgress {
  position: relative;
  padding-left: 45px;
  list-style: none;
}
.StepProgress::before {
  display: inline-block;
  content: '';
  position: absolute;
  top: 0;
  left: 15px;
  width: 10px;
  height: 100%;
  border-left: 2px solid var(--bs-light);
}
.StepProgress-item {
  position: relative;
  counter-increment: list;
}
.StepProgress-item:not(:last-child) {
  padding-bottom: .75rem;
}
.StepProgress-item::before {
  display: inline-block;
  content: '';
  position: absolute;
  left: -30px;
  height: 100%;
  width: 10px;
}
.StepProgress-item::after {
  content: '';
  display: inline-block;
  position: absolute;
  top: 0;
  left: -37px;
  width: 12px;
  height: 12px;
  border: 2px solid #CCC;
  border-radius: 50%;
  background-color: #FFF;
}
.StepProgress-item.is-done::before {
  border-left: 2px solid var(--bs-primary);
}
.StepProgress-item.is-done::after {
  content: '\F633';
  font-family: 'bootstrap-icons';
  font-size: .875rem;
  color: var(--bs-white);
  text-align: center;
  border: 2px solid var(--bs-primary);
  background-color: var(--bs-primary);
}
.StepProgress-item.is-done .step-caption {
    color: var(--bs-primary);
}
.StepProgress-item p {
    font-size: .75rem;
    margin-bottom: .5rem;
}
.StepProgress-item.current::after {
    border: 2px solid var(--bs-primary);
    background: var(--bs-primary);
    color: var(--bs-white);
}
.StepProgress-item::after {
  content: counter(list);
  padding-top: 1px;
  width: 20px;
  height: 20px;
  top: 0;
  left: -40px;
  font-size: 14px;
  text-align: center;
  color: var(--bs-secondary);
  border: 2px solid var(--bs-light);
  background-color: var(--bs-light);
  display: inline-flex;
  justify-content: center;
  align-items: center;
}
/* end step progress css */

/* start uploal or drang and drop css */
.drop-zone {
    max-width: 280px;
    height: auto;
    padding: .5rem .5rem; /*.5rem 1.5rem;*/
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-family: "Quicksand", sans-serif;
    font-weight: 500;
    cursor: pointer;
    color: var(--bs-secondary);
    border: 1px dashed #ced4da;; /*3px dashed #ced4da;*/
    border-radius: 10px;
    font-size: 11.2px;
  }


  .drop-zone .drop-zone__prompt i.bi-paperclip { 
    font-size: 8px;
    margin-right: 8px;
  }


   .drop-zone .drop-zone__prompt i {
    display: block;
    font-size: 1.5rem;
    /*color: #dee2e6;
    line-height: 1.75rem;*/
  }
  .drop-zone .drop-zone__prompt strong {
    color: var(--bs-primary);
    font-weight: 500;
  }
  .drop-zone .drop-zone__prompt span {
    font-size: .75rem;
  }
  .drop-zone--over {
    border-style: solid;
  } 
  .drop-zone__input {
    display: none;
  }
  .drop-zone__thumb {
    width: 120px;
    height: 120px;
    border-radius: 10px;
    margin-left: 15px;
    overflow: hidden;
    background-color: #cccccc;
    background-size: cover;
    position: relative;
  }
  .drop-zone__thumb::after {
    content: attr(data-label);
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: .25rem;
    color: #ffffff;
    background: rgba(0, 0, 0, 0.75);
    font-size: .75rem;
    text-align: center;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
  }
  .drop-zone2 {
    padding: 1rem 1.5rem;
  }
  .drop-zone2 .drop-zone__prompt i {
    font-size: 4rem;
  }
  .drop-zone-mw-100 {
    max-width: 100%;
  }
/* end uploal or drang and drop css */

.checkbox-accordian {
    border: none;
}

.checkbox-accordian .accordion-button {
    padding: 0;
    background: transparent;
    box-shadow: none;
    color: var(--bs-dark);
    font-size: 14px;
    padding-left: 1.5rem;
    margin-bottom: .25rem;
}
.checkbox-accordian .accordion-button::after {
    content: "\f282";
    font-family: 'bootstrap-icons';
    background-image: none;
    position: absolute;
    left: 0;
    top: 0;
    width: initial;
    height: initial;
}
.checkbox-accordian input {
    margin-right: .5rem;
    width: 14px;
    height: 14px;
}
.checkbox-accordian .checkbox-parrent {
    
}
.checkbox-accordian .accordion-body {
    padding: .5rem 1rem;
}
.checkbox-accordian .checkbox-children-item {
    margin-bottom: .5rem;
}
.checkbox-accordian .accordion-item {
    border: none;
}
.checkbox-accordian .checkbox-input-label {
    padding-left: 2rem;
}
.checkbox-accordian label {
    color: var(--bs-gray-dark);
    margin-bottom: .25rem;
}

.category-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    text-decoration: none;
    box-shadow: 3px 8px 12px 0px #00000040;
    border-radius: .5rem;
    padding: 1.5rem .5rem;
    background-color: var(--bs-white);
    height: 100%;
}
.category-box figure {
    margin-bottom: 0;
}
.category-box figure img {
    max-width: 80px;
    max-height: 80px;
    min-height: 80px;
    object-fit: contain;
}
.category-box figure figcaption {
    font-weight: 500;
    color: var(--bs-dark);
    margin-top: 1rem;
    margin-bottom: .5rem;
}

.category-credits {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    text-decoration: none;
    box-shadow: 3px 8px 12px 0px #00000040;
    border-radius: .5rem;
    padding: 1.5rem .5rem;
    background-color: var(--bs-white);
    height: 100%;
}
.category-credits figure {
    margin-bottom: 0;
}
.category-credits figure img {
    max-width: 180px;
    max-height: 150px;
    min-height: 150px;
    object-fit: contain;
    width: 100%;
}
.category-credits figure figcaption {
    font-weight: 500;
    color: var(--bs-dark);
    margin-top: 1rem;
    margin-bottom: .5rem;
}

.order-row {
    border-bottom: 1px solid #dee2e6;
    padding: 1.5rem 0;
}
.order-row figure {
    border-radius: .5rem;
    box-shadow: 3px 8px 12px 0px #00000040;
    padding: .5rem 1.5rem;
    margin-right: 1rem;
    margin-bottom: 0;
}
.order-row figure img {
    max-width: 80px;
    max-height: 80px;
    min-height: 80px;
    object-fit: contain;
    width: 100%;
}

.barcode-icon {
    width: 141px;
    height: auto;
}

.client-list-menu {
    border: 1px solid #d1d5db;
    padding-left: 0;
}
.client-list-menu .menu-item {
    list-style-type: none;
    border-bottom: 1px solid #d1d5db;
}
.client-list-menu .menu-item:last-child {
    border-bottom: none;
}
.client-list-menu .menu-item a {
    padding: .5rem;
    display: block;
    text-decoration: none;
    color: #6c757d;
}
.client-list-menu .menu-item-dropdown {
    background: #77988f;
}
.client-list-menu .menu-item-dropdown a {
    color: #fff;
}
.client-list-menu .menu-item-dropdown ul {
    padding-left: 16px;
    padding-right: 5px;
    padding-bottom: 5px;
}
.client-list-menu .menu-item-dropdown ul li {
    list-style-type: none;
}
.client-list-menu .menu-item-dropdown ul li a {
    background: #fff;
    color: #6c757d;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    border-bottom: 1px solid #d1d5db;
    font-size: .75rem;
    font-weight: 600;
}
.client-list-menu .menu-item-dropdown ul li a span {
    background: #d1d5db;
    width: 20px;
    height: 20px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    font-size: .75rem;
    border-radius: 50%;
    margin-right: 4px;
}
.client-list-menu .menu-item-dropdown ul li.active a {
    color: #77988f;
    position: relative;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}
.client-list-menu .menu-item-dropdown ul li.active a:before {
    content: '';
    position: absolute;
    width: 6px;
    height: 100%;
    left: 100%;
    background: #fff;
    top: 0;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
}
.client-list-menu .menu-item-dropdown ul li.active a span {
    color: #fff;
    background: #77988f;
}

.child-menu {
    list-style: none; /* Remove default list styling */
    padding: 0; /* Remove default padding */
    margin: 0; /* Remove default margin */
    display: flex; /* Use flexbox for horizontal layout */
    flex-wrap: wrap; /* Allow wrapping if necessary */
    overflow: hidden;
    padding-left: 0;
    display: flex;    
    border-top-left-radius: 0.5rem; /* Round the top-left corner */
    border-top-right-radius: 0.5rem; /* Round the top-right corner */
    
}
.child-menu-item a {
    display: block; /* Make the entire link area clickable */
    padding: 0.5rem 1rem; /* Add padding for better touch targets */
    text-decoration: none; /* Remove underline from links */
    color: #000; /* Text color */
    border: 1px solid transparent; /* Add border for visual separation */
    border-top-left-radius: 0.5rem; /* Round the top-left corner */
    border-top-right-radius: 0.5rem; /* Round the top-right corner */
    transition: background-color 0.3s; /* Smooth transition for hover effects */
}

.child-menu .child-menu-item {
    list-style-type: none;
    /* border-right: 1px solid #d1d5db; */
}


.child-menu .child-menu-item:last-child {
    border-right: none; 
}
.child-menu .child-menu-item.change-btn-new:last-child {
   border-right: 1px solid #d1d5db;
}


.child-menu .child-menu-item a {
    padding: .5rem;
    display: block;
    text-decoration: none;
    color: #6c757d;
}

.child-menu .child-menu-item.active a {
    background-color: #77988f; 
    color: #fff;
}

.child-menu .child-menu-item.active a:hover {
    background-color: #77988f; 
    color: #fff;
}

.child-menu .child-menu-item a:hover {
    color: #77988f;
}

.child-menu .child-menu-item a.add-new {
    display: flex;
    align-items: center;
}

.child-menu .child-menu-item a a.add-new i {
    margin-right: 5px; 
    font-size: 16px; 
}



.slider-container {
    position: relative;
    display: flex;
    align-items: center;
}

#slider-toggle {
    display: none;
}

.slider {
    display: flex;
    align-items: center;
    cursor: pointer;
    background-color: #ccc;
    border-radius: 25px;
    position: relative;
    width: 100px;
    height: 30px;
    transition: background-color 0.3s;
    padding: 0 5px;
    box-sizing: border-box;
}

.slider-text {
    position: absolute;
    width: 50%;
    text-align: center;
    line-height: 30px;
    font-size: 14px;
    color: #fff;
    transition: opacity 0.3s;
}

.slider-text.open {
    left: 0;
}

.slider-text.close {
    right: 0;
    opacity: 0;
}

.slider-knob {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 24px;
    height: 24px;
    background-color: #fff;
    border-radius: 50%;
    transition: transform 0.3s;
}

#slider-toggle:checked + .slider {
    background-color: #4CAF50; /* Green for Open */
}

#slider-toggle:checked + .slider .slider-knob {
    transform: translateX(70px); /* Move knob to the right */
}

#slider-toggle:checked + .slider .slider-text.open {
    opacity: 1;
}

#slider-toggle:checked + .slider .slider-text.close {
    opacity: 0;
}

#slider-toggle:not(:checked) + .slider {
    background-color: #ccc; /* Grey for Closed */
}

#slider-toggle:not(:checked) + .slider .slider-text.open {
    opacity: 0;
}

#slider-toggle:not(:checked) + .slider .slider-text.close {
    opacity: 1;
}


/* Container for profile and calendar */
    .volunteer-container {
        display: flex;
        align-items: flex-start;
        gap: 20px;
        flex-wrap: wrap; /* Wrap content to handle smaller screens */
        padding: 20px; /* Add padding to the container */
        box-sizing: border-box; /* Ensure padding doesn't affect total width */
        margin-bottom: 80px; /* Space between calendar and footer */
    }


/* ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- */
/* General container styling */

/* Profile section */
.volunteer-profile {
    display: flex;
    flex-direction: column; /* Stack items vertically */
    align-items: center; /* Center align the profile image and details */
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
    width: 100%; /* Adjust width for larger screens */
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1); /* Add some shadow */
}

.volunteer-profile img {
    border-radius: 50%; /* Make the image circular */
    width: 100px;
    height: 100px;
    margin-right: 20px;
}

/* Profile Details */
/* .volunteer-profile-details {
    margin-top: 10px;
} */

.volunteer-profile-details h5 {
    font-size: 20px;
    font-weight: bold;
}

.volunteer-profile-details h6 {
    font-size: 16px;
    font-weight: normal;
    color: var(--text-color-dark);
    margin: 50px 0;
    font-family: var(--font-family);
}

/* -----------------------------------------------------------------------------------Volunteer list styles--------------------------------------------------------------------------------------- */
.volunteer-list {
    margin-top: 20px;
}
.volunteer-name {
    color: #6C757D;
    text-decoration: none; /* Remove underline */
    text-align: right; /* Align text to the right */
    display: block; /* Ensure it takes up the full width for alignment */
}


.filter-section {
    width: 300px;
    margin-bottom: 10px;
}

.volunteer-list-items {
    max-height: 200px;
    overflow-y: auto;
}

.volunteer-item {
    margin-bottom: 10px;
    padding: 5px;
    display: flex;
    align-items: center;
}

.volunteer-item img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 10px;
}

.eventsTableBody {
    font-size: 8px;
}

/*------------------------------------------------------------------CALENDAR STYLES--------------------------------------------------------------- */

/* Calendar section styles */

/* FullCalendar element */
#calendar {
    flex: 1; /* Allow calendar to fill the remaining space */
    width: 100%; /* Full width */
}

.calendar-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 70vh;
    width: 100%;                 /* Full width */
    max-height: 800px;
    max-width: 1100px;          /* Maximum width */
    margin: 0 auto;             /* Center in the middle of the page */
}

.fc-daygrid-day {
    height: 20px; /* Adjust as needed */
    max-width: 20px; /* Optional: restrict the cell width */
}
.fc-scrollgrid {
    font-size: 0.85rem; /* Reduce font size inside the cells */
}
/* Table wrapper for scrolling */
.table-wrapper {
    max-height: 400px; 
    overflow-y: auto; /* Enable vertical scrolling */
}

/* Style for the filter input */
.filter-input {
    width: 100%;
    margin-bottom: 10px;
    padding: 5px;
    box-sizing: border-box;
}


.event-item {
    margin-bottom: 10px;
}

/* .fc-col-header-cell-cushion {
    color: var(--text-color-light) !important;
}


.fc-daygrid-day.fc-day-today {
    background-color: #E9FCF9 !important; 
    color: white !important;
}

.fc-daygrid-day-frame {
    position: relative;
    height: 100%; 
    display: flex;
    flex-direction: column;
    justify-content: space-between; 
}

.fc-daygrid-day-events {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden; 
}

 */

/* .fc-scrollgrid-sync-table {
    table-layout: auto; 
    height: 100%; 
} */

.fc-daygrid-day {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    color: black;
    height: 100px; 
    flex-direction: column; 
}

/* Align the day number to the left and set the font to Montserrat */
.fc-daygrid-day-number {
    position: absolute;
    color: black;
    top: 5px;
    right: 10px;
    font-size: 16px;
    z-index: 1;
    text-align: left; 
    font-family: 'Montserrat', sans-serif; 
}

.fc-daygrid-day:hover::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #E9FCF9;
    z-index: 1;
}

.fc-event-title {
    display: block;
}

/* Set the event text color to black */
.fc-event-main {
    color: black !important;
}

.fc-status-label {
    font-size: 0.9em;
    color: var(--text-color-dark);
    margin-top: 2px;
}

.fc-timegrid-slot:hover {
    cursor: pointer;
}

/* ----------------------------------------------------------Table section-------------------------------------------------------------------- */
.volunteer-table-container {
    width: 100%; /* Adjust width for larger screens */
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1); /* Add some shadow */
    overflow: hidden;
}

.volunteer-table-wrapper {
    max-height: 400px;
    overflow-y: auto;
}

.volunteer-table {
    width: 100%;
    border-collapse: collapse;
}

.volunteer-table th, .volunteer-table td {
    padding: 12px;
    border: 1px solid #ddd;
    text-align: left;
    white-space: nowrap; /* Prevent text wrapping */
}

.visitation-form {
    max-height: 711px;  /* Adjust this to your preferred height */
    overflow-y: scroll; /* Enable vertical scrolling */
    border: 1px solid #ccc; /* Optional: Add a border to visually separate the section */
    padding: 15px;
}


.enquiry-table-header {
    text-align: center;  /* Centers the text */
    white-space: nowrap; /* Prevents text from wrapping */
}


/* ------------------------------------------------------------------------------------------------------------------------------------------- */
.fc-button {
    white-space: nowrap; /* Prevent text wrapping */
    display: inline-flex; /* Keep the text on a single line */
    align-items: center; /* Vertically center the content */
    justify-content: center; /* Horizontally center the content */
    text-align: center; /* Ensure the text is centered */
    
}

/* CSS for prev and next arrow buttons */
    .fc-next-button, .fc-prev-button {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 8px;
        font-size: 14px;
        background-color: #E8FBF9 !important;
        border: none !important;
        border-radius: 5px;
        transition: all 0.3s ease;
        white-space: nowrap;
        min-width: auto;
        max-width: 100%;
        
    }
    .fc-prev-button:hover, .fc-next-button:hover {
        background-color: #BDFCF5 !important; /* Light blue color on hover */
        color: black !important; /* Optional: change text color if needed */
    }
    .fc-icon{
        color:#717171;
    }
/* CSS for prev and next arrow buttons END */


/* CSS for month/week/day/list buttons */
    .fc-dayGridMonth-button, .fc-timeGridWeek-button, .fc-timeGridDay-button, .fc-listWeek-button {
        padding: 8px 16px;
        font-size: 14px;
        background-color: #E8FBF9 !important;
        color:#717171 !important;
        border: none !important;
        border: none;
        border-radius: 10px;
        transition: all 0.3s ease;
    }
    .fc-dayGridMonth-button:hover, .fc-timeGridWeek-button:hover, .fc-timeGridDay-button:hover, .fc-listWeek-button:hover {
        background-color: #BDFCF5 !important;
        color: black !important;
    }
/* CSS for month/week/day/list buttons END */

/* Button icon spacing */
.fc-next-button .fc-icon {
    margin-left: 4px; /* Adjust spacing for the icon */
}

/* Hover effect */
.fc-next-button:hover {
    background-color: var(--button-hover-bg-color); /* Background color on hover */
    color: var(--button-hover-text-color); /* Text color on hover */
}

/* Base styles for the toolbar title */
.fc-toolbar-title {
    font-size: 24px; /* Base font size */
    text-align: center; /* Center the title text */
    margin: 0; /* Remove default margin */
    padding: 10px; /* Add some padding around the title */
    white-space: nowrap; /* Prevent text wrapping */
}

/* ---------------------------------------------------------------------------------------Notification Top right---------------------------------------------------------------------- */
#notificationContainer {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1050;
    width: 302px; /* Set default width */
    height: auto; /* Allow height to adjust based on content */
    max-height: 96px; /* Set a max height */
    overflow: hidden; /* Prevent content overflow */
}

.notification {
    padding: 10px;
    margin: 10px 0;
    background-color: #f9f9f9;
    border-radius: 5px;
    display: flex;
    align-items: flex-start;
    border: 1px solid #ccc;
    max-width: 100%; /* Ensure it doesn't exceed container width */
}

.notification .icon {
    margin-right: 15px;
    flex-shrink: 0;
}

.notification .text-content {
    display: flex;
    flex-direction: column;
    width: calc(100% - 55px); /* Adjust to prevent overflow from the icon */
}

.notification .title {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin-bottom: 5px;
    word-wrap: break-word; /* Prevent long text from overflowing */
}

.notification .message {
    font-size: 14px;
    color: #666;
    word-wrap: break-word; /* Prevent long text from overflowing */
}

/*---------------------------------------------------------------------------------------------General styles------------------------------------------------------------------------- */
.disabled-field,
 select:disabled {
    background-color: #e9ecef;
    color: #6c757d;
    cursor: not-allowed;
}

.flatpickr-input {
    background-color: white !important; /* Change background color */
    color: black; /* Change text color */
}

/* -----------------------------------------------------------------------------------------FOR ICONS TOP RIGHT------------------------------------------------------------------------ */
.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.volunteer-table-heading {
    margin: 0;
    font-size: 24px; /* Set font size to 30px */
    font-family: 'Inter', sans-serif; /* Use the Inter font */
    font-weight: bold; /* Set font weight to bold */
    flex: 1;
}

.volunteer-header {
    font-family: 'Roboto', sans-serif; /* Use the Roboto font */
    font-weight: 800; /* Extra bold */
    font-size: 15px; /* Font size of 15px */
    color: #72777A; /* Text color */
    margin: 0; /* Remove default margin */
}


.icon-container {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
    padding-right: 20px;
}

#addBookingIcon {
    display: inline-flex;
    align-items: center;
    color: black;
    text-decoration: none;
}

#addBookingIcon svg, #returnIcon svg {
    width: 20px;
    height: 20px;
}

#returnIcon {
    color: #e9ecef; /* Set the icon color to grey */
    cursor: not-allowed;
    pointer-events: none; /* Disable all mouse events */
}


/* Ensure profile-container uses flexbox for horizontal layout */
#volunteerDetailsModal .volunteer-profile-container {
    display: flex;
    flex-direction: row; /* Ensure horizontal alignment */
    align-items: flex-start; /* Align items at the top */
    gap: 20px; /* Space between profile and table */
}

#volunteerDetailsModal .profile {
    flex: 0 0 20%; /* 30% width for the profile section */
    max-width: 20%; /* Prevent exceeding 30% width */
    height: 100%; /* Take up the full height of the modal */
    display: flex; /* To vertically align content if needed */
    flex-direction: column;
    justify-content: center; /* Optional: Center the profile content vertically */
}

/* Ensure table container takes remaining space */
#volunteerDetailsModal .volunteer-table-container {
    flex: 1; /* Take remaining space */
    height: 700px; /* Set your desired height */
    overflow-x: auto; /* Horizontal scroll if needed */
}

/* Ensure table takes full width of its container */
#volunteerDetailsModal .volunteer-table-container .table {
    width: 100%;
}

/* Increase the width of the modal */
#volunteerDetailsModal .modal-dialog {
    max-width: 80%; /* Adjust the percentage as needed */
    width: 80%; /* Adjust the percentage as needed */
}

/* Optional: Add some spacing and padding */
#volunteerDetailsModal .volunteer-profile img {
    max-width: 100%;

}

/* Ensure the modal body has padding at the top to accommodate the fixed tabs */
#volunteerDetailsModal .modal-body {
    padding-top: 60px; /* Adjust based on the height of the tabs */
}

/* Fix tabs to the top of the modal */
#eventTabs {
    position: sticky; /* Use sticky to keep it fixed within its container */
    top: 0; /* Align it to the top */
    z-index: 1020; /* Ensure it's above other content */
    background-color: #fff; /* Ensure it has a background color for visibility */
    border-bottom: 1px solid #ddd; /* Optional: add a border for separation */
}

/* Optional: ensure the tab content area is scrollable */
.tab-content {
    max-height: calc(100vh - 120px); /* Adjust based on your layout */
    overflow-y: auto;
}

.case-column {
    white-space: nowrap; /* Prevent text from wrapping */
}


    /* You can set different widths for each column, if needed */
    .volunteer-table th.name-column,
    .volunteer-table td.name-column,
    .volunteer-table th.start-column,
    .volunteer-table td.start-column,
    .volunteer-table th.end-column,
    .volunteer-table td.end-column,
    .volunteer-table th.status-column,
    .volunteer-table td.status-column
    { width: 100px; }

    .volunteer-table th.description-column,
    .volunteer-table td.description-column,
    .volunteer-table th.reason-column,
    .volunteer-table td.reason-column 
     { width: 250px; }

     #signature {
        border: 1px solid #ccc; /* Make sure the border is visible */
        width: 100%;           /* Ensure it occupies the full width */
        height: 150px;        /* Set a height that allows for drawing */
        position: relative;    /* Ensure it is positioned correctly */
    }
    
    
    
/*------------------------------------------------------------------------------------------------------ Responsive adjustments ------------------------------------------------------------------------------------*/

.scrollable-form {
    height: 550px;
    overflow-y: auto;
}

.scrollable-form-log {
height: 267px;
overflow-y: auto;
}
  
.checkbox-dashed-border {
    border: 2px dashed #abd5ab; 
    padding: 10px;
    padding-right: 20px;
    display: inline-block;
    border-radius: 8px;
}

.babySafeFormTable, .moveInTable{
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.babySafeFormUnsafeItemsTable, .visitationForm {
    width: 100%;
    border-collapse: collapse;
}

.babySafeFormTable th, .babySafeFormTable td, .babySafeFormUnsafeItemsTable th, .babySafeFormUnsafeItemsTable td, .moveInTable th, .moveInTable td,  .visitationForm th,.visitationForm td{
    border: 1px solid #dddddd; 
    text-align: left;
    padding: 10px; 
}

.babySafeFormTable th, .babySafeFormUnsafeItemsTable th, .moveInTable th, .visitationForm th{
    background-color: #e3f2f2;
    font-weight: bold; 
}

.babySafeFormTable tr:nth-child(odd), .babySafeFormUnsafeItemsTable tr:nth-child(odd), .moveInTable tr:nth-child(odd), .visitationForm tr:nth-child(odd){
    background-color: #ffffff; 
}

.babySafeFormTable tr:nth-child(even), .babySafeFormUnsafeItemsTable tr:nth-child(even), .moveInTable tr:nth-child(even), .visitationForm tr:nth-child(even){
    background-color: #f9f9f9; 
}

.message-box {
    background-color: #6c857c; 
    color: #ffffff;
    padding: 10px 15px 5px; 
    border-radius: 5px;
    font-size: 14px; 
    font-weight: 600; 
    margin: 20px 0;
}

.survey-table-empty-header {
    text-align: left; 
    vertical-align: middle; 
    width: 30%;
}

.survey-table-header {
    text-align: center; 
    vertical-align: middle; 
    width: 14%;
}

.survey-table-content-header{
    text-align: left; 
    vertical-align: middle; 
}

.survey-table-content {
    text-align: center; 
    vertical-align: middle;
}

.paragraph-content {
    padding-left: 10px;
    color: black;
}
/* Date Gray Out issue  - Added again by Kamal */
.datepicker-group.w-clr .form-control:disabled, .datepicker-group.w-clr .form-control[readonly]
{
    background-color: #fff;
}

.is-invalid .select2-container--default .select2-selection--single,
.is-invalid .select2-container--default .select2-selection--multiple{
    border-color: #dc3545 !important;
}
.tooltip.show{
    opacity:1;
}
.table>:not(caption)>*>*{
    border-color: #DEE2E6;
}
.custom-table .table-accordian-col{
    width: 30px;
    cursor: pointer;
}

.custom-table .table-accordian-col {
    width: 30px;
    cursor: pointer;
}
.custom-table .table-accordian-col[aria-expanded="true"] i:before {
    content: "\F282";
}
.custom-table .three-dots-col {
    width: 30px;
}

.select2-container--default .select2-selection--single .select2-selection__rendered{
    text-transform: capitalize;
    font-weight: 500;
}
.form-select{
    color: #6c757d;
}

.credit-detail .cus-scroller-y{
    height: 450px;
    overflow-y: auto;
    overflow-x: hidden;
}

.credit-detail .cus-scroller-y .fixTableHead{
    position: relative;
}


.tableFixHead thead th { position: sticky; top: 0; z-index: 1; }

.credit-detail .filter-popup{
    position: absolute;
    top: 5px;
    right: -20px;
}
/* End Date Gray Out issue  - Added again by Kamal */

/* @media screen and (min-width: 991px){
    .brand-favicon {
        display: none;
    }
} */


/* Organization Selection Page */
.org-selection-card {
    display: flex;
    align-items: center;
    padding: 1.25rem;
    border: 1px solid #ddd;
    border-radius: 0.5rem;
    transition: background-color 0.3s ease;
    cursor: pointer;
    background-color: #fff;
  }

  .org-selection-card:hover,
  .org-selection-card.active {
    background-color: #f0f0f5;
  }

  .org-selection-card i {
    font-size: 2rem;
    margin-right: 1rem;
  }

  .org-selection-card p {
    margin: 0;
    font-weight: 500;
    color: #0d0d44;
  }
/* End Organization Selection Page */

@media screen and (max-width: 991px) {
    .bg-login {
        background-image: none;
    }
    .side-menu li .icon {
        position: absolute;
        right: 0;
        top: 8px;
        color: var(--bs-white);
        display: block;
        width: 24px;
        height: 24px;
        background: var(--highlight);
        text-align: center;
        border-radius: 2px;
    }
    .side-bar {
        position: fixed;
        left: 0;
        z-index: 99;
        transition: .3s all ease-out;
        height: calc(100vh - 48px);
        overflow-y: auto;
        padding-right: 1rem;
    }
    .side-bar-hide {
        left: -260px;
    }
    .side-bar .profile-notification-col {
        display: none;
    }
    .side-bar .profile-notification-col {
        display: none;
    }
    .toggle-bar {
        display: none;
    }
    .side-menu {
        overflow-y: initial;
    }
    .side-menu-bottom {
        display: none;
    }
    .mobile-menu {
        display: flex;
        position: sticky;
        bottom: 0;
        justify-content: space-between;
        padding-left: 0;
        background: var(--bs-white);
        margin-bottom: 0;
        width: 100%;
        z-index: 10;
        border-top: 1px solid #dee2e6;
        height: 48px;
    }
    .mobile-menu li {
        list-style-type: none;
    }
    .mobile-menu li a {
        padding: .5rem;
        display: block;
        color: var(--bs-dark);
        text-align: center;
        font-size: 1.25rem;
    }
    .custom-table tbody tr td {
        min-width: 96px;
    }
    .copyright {
        position: relative;
        display: none;
    }

    /* .volunteer-profile{
        display: none;
    }    
    */

    .table-container {
        overflow-x: auto; /* Ensure scrolling */
    }
    
    .table-container h2 {
        font-size: 20px; /* Adjust heading size */
    }

    .table th, .table td {
        padding: 8px; /* Reduce padding for table cells */
        font-size: 14px; /* Adjust font size for table */
    }

    .fc-dayGridMonth-button {
        padding: 6px 12px; /* Adjust padding for smaller screens */
        font-size: 12px; /* Reduce font size */
    }

    .fc-toolbar-title {
        font-size: 16px; /* Slightly smaller font size for tablets */
        padding: 8px; /* Adjust padding */
    }

    /* calendar */
    .fc-day-frame {
        height: 80px; /* Adjust height for smaller screens */
    }

    .fc-media-screen {
        max-width: 800px;
        max-height: 800px;
    }

    .fc-daygrid-day-number {
        font-size: 14px; /* Smaller font size for day numbers */
        right: 5px; /* Adjust the position of the day number */
    }

    .fc-event {
        padding: 2px 4px; /* Reduce padding for events */
        font-size: 12px; /* Smaller font size for events */
    }

    .fc-title {
        color: black;
        font-size: 12px; /* Reduce title font size */
    }
}

@media screen and (max-width: 575px) {
    .order-row figure {
        padding: .5rem;
    }
    div#reepat_client_text {
        margin-top: -9%;
}
}


