.small_image {
    width: 45px;
    height: 45px;
    border-radius: 23px;
}

.form-control {
    height: 44px;
}

.position-absolute {
    position: absolute !important;
}

.right--0 {
    right: 0;
}

.right--180 {
    right: 180px;
}

.top--5 {
    top: 5px
}
.btn-primary {
    background: #1f3bb3;
    color: #ffffff;
    border-radius: 4px;
    padding: 10px 15px!important;
    font-weight: 600;
    text-decoration: none!important;
    border-color: #1f3bb3;
}
a.btn-primary {text-decoration: none!important;}
.input-group .btn-primary {
    padding: 15px 15px!important;
}

.btn-primary:focus,
.btn-primary:hover {
    outline: none;
    box-shadow: 0 0 0 1px rgba(31, 59, 179, 0.25);
    background: #1a2f8f;
    border-color: #1a2f8f;
}
div.dataTables_wrapper div.dataTables_filter {
    text-align: right;
    margin-top: -29px;
    margin-bottom: 20px;
}
.btn-danger {
    /* background: #0c0c0c; */
    color: #ffffff;
    border-radius: 1px;
    border: none;
    padding: 10px 15px!important;
}
.paginate_button {
    color: #000000;
    font-size: 12px;
    margin-right: 7px;
    padding: 2px 8px;
    text-decoration: none;
    border: 1px solid #ddd;
    display: inline-block;
    margin-bottom: 5px;
}
div.dataTables_wrapper div.dataTables_paginate {
    margin-top: -20px!important;
}
.table th{
    background: #1a2873;
    color: #ffffff;}

.btn-danger:focus{
    outline: none;
    box-shadow: none;
}
.card .card-description {
    margin-bottom: 0.875rem;
    font-weight: 600;
    color: #000000;
    font-size: 15px;
}
.new_blogs{
    height: 44px;
    color: #fff !important;
    background-color: #1f3bb3;
}

/* left sidebar design */

body {
    font-family: "Geist Mono", "Geist Mono Fallback", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.sidebar .nav .nav-item .nav-link .menu-title {
    font-size: 13px;
    line-height: 1;
}
.sidebar {
    background: #F4F5F7;
    position: fixed;
    top: 97px;
    left: 0;
    height: calc(100vh - 97px);
    overflow: hidden;
    z-index: 10;
    width: 260px;
    color: black;
    /* soft shadow to separate sidebar from content */
    box-shadow: 2px 0 12px rgba(0, 0, 0, 0.06);
}

/* Sidebar nav - scrollable if content is long */
.sidebar .nav {
    overflow-y: auto;
    overflow-x: hidden;
    height: 100%;
    max-height: calc(100vh - 97px);
    padding-right: 0;
    padding-bottom: 20px;
}

/* Custom scrollbar for sidebar nav */
.sidebar .nav::-webkit-scrollbar {
    width: 6px;
}

.sidebar .nav::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    margin: 10px 0;
}

.sidebar .nav::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.25);
    border-radius: 10px;
    transition: background 0.2s ease;
}

.sidebar .nav::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.4);
}

/* Firefox scrollbar for sidebar */
.sidebar .nav {
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.25) rgba(255, 255, 255, 0.05);
}

.sidebar .nav .nav-item.nav-category {
    color: #000000;
    border-bottom: 1px solid rgb(226 220 220 / 34%);
    margin: 0 30px;
    font-size: 13px;
    font-weight: 700;
    padding: 15px 0px 5px 0px;
    text-transform: uppercase;
}

.sidebar .nav .nav-item .nav-link {
    position: relative;
    padding: 0.9rem 1.8rem; /* extra padding for a more spacious feel */
    color: #000000;
    transition: background 0.2s ease, color 0.2s ease;
}

.sidebar .nav .nav-item .nav-link i.menu-icon {
    font-size: 15px;
    line-height: 1;
    margin-right: 1rem;
    color: #000000;
    transition: color 0.2s ease, transform 0.2s ease;
}

/* Ensure icons are white when menu item is active */
.sidebar .nav .nav-item.active > .nav-link i.menu-icon,
.sidebar .nav .nav-item > .nav-link[aria-expanded="true"] i.menu-icon {
    color: #ffffff !important;
}

.sidebar .nav:not(.sub-menu) > .nav-item:hover > .nav-link, 
.sidebar .nav:not(.sub-menu) > .nav-item:hover[aria-expanded="true"],
.sidebar .nav:not(.sub-menu) > .nav-item > .nav-link[aria-expanded="true"] {
    background: #1f3bb3;
    color: white;
    border-radius: 12px;
}

/* Ensure icons are white when menu is expanded */
.sidebar .nav:not(.sub-menu) > .nav-item > .nav-link[aria-expanded="true"] i.menu-icon,
.sidebar .nav:not(.sub-menu) > .nav-item > .nav-link[aria-expanded="true"] i.menu-icon:before {
    color: #ffffff !important;
} 

.sidebar .nav .nav-item:hover > .nav-link i,
.sidebar .nav .nav-item:hover > .nav-link .menu-title,
.sidebar .nav .nav-item:hover > .nav-link .menu-arrow {
    color: #ffffff;
}

/* Ensure main menu icons specifically turn white on hover */
.sidebar .nav:not(.sub-menu) > .nav-item:hover > .nav-link i.menu-icon {
    color: #ffffff;
}

/* Override base theme :before color so icon glyph also turns white on hover */
.sidebar .nav:not(.sub-menu) > .nav-item:hover > .nav-link i.menu-icon:before {
    color: #ffffff !important;
}


/* Menu Arrow Icon Styling */
.sidebar .nav .nav-item .nav-link .menu-arrow {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 10px;
    color: #000000;
    transition: transform 0.3s ease;
    display: inline-block;
    line-height: 1;
}

.sidebar .nav .nav-item .nav-link .menu-arrow::before {
    content: "\f054"; /* Font Awesome chevron-right */
}

.sidebar .nav .nav-item .nav-link[aria-expanded="true"] .menu-arrow {
    transform: translateY(-50%) rotate(90deg);
}

.sidebar .nav .nav-item:hover > .nav-link .menu-arrow {
    color: #ffffff;
}

.sidebar .nav .nav-item .nav-link[aria-expanded="true"] .menu-arrow {
    color: #1f3bb3;
}

/* Active submenu item styling */
.sidebar .nav.sub-menu .nav-item .nav-link.active {
    color: #000000 !important;
    font-weight: 600;
    background: #ffaf0054;
    border-left: 3px solid #000000;
    padding-left: calc(1rem - 3px);
}

.sidebar .nav.sub-menu .nav-item .nav-link {
    color: #4b5563; /* dark grey for good contrast */
    font-size: 12px;
}
.sidebar .nav.sub-menu {
    background: rgba(255, 255, 255, 0.05);
    padding: 0.5rem 0 0.5rem 2.5rem;
    margin-top: 0;
    border-radius: 0 0 8px 8px;
}

.sidebar .nav.sub-menu .nav-item {
    margin-bottom: 0.25rem;
}

/* Hide default bullet dots from base theme to avoid overlap with main menu */
.sidebar .nav.sub-menu .nav-item::before {
    display: none;
}

.sidebar .nav.sub-menu .nav-item .nav-link {
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.sidebar .nav.sub-menu .nav-item .nav-link:hover {
    color: #000000;
    background: rgba(0, 0, 0, 0.1);
}
/* button.file-upload-browse.btn.btn-primary {
    background: #ef530f;
    border: 1px solid #ef530f;
} */
.sidebar .nav .nav-item.active > .nav-link {
    background: #1f3bb3;
    color: white !important;
    font-weight: 500;
    border-radius: 12px;
    padding-left: 2.1rem;  /* slight indent when selected */
    padding-right: 1.4rem;
    margin-left: 2px;      /* subtle visual offset for active item */
}

.sidebar .nav .nav-item.active > .nav-link i.menu-icon {
    color: #ffffff !important;
    font-size: 18px;
    transform: scale(1.05);
}
.sidebar .nav .nav-item.active > .nav-link i.menu-icon:before {
    color: #ffffff !important;
}
.sidebar .nav .nav-item.active > .nav-link .menu-title {
    font-size: 13px;
    color: white;
}
.sidebar .nav .nav-item.active > .nav-link i.menu-arrow::before {
    /* Remove base theme icon so only our Font Awesome arrow is visible */
    content: "";
}
.sidebar .nav.sub-menu .nav-item .nav-link.active {
    color: #000000;
}
.sidebar .nav:not(.sub-menu) > .nav-item > .nav-link[aria-expanded="true"] {
    border-radius: 8px 8px 0 0;
    background: #1f3bb3;
    /* color: #1F3BB3; */
}

.footer {
    padding: 13px 2.45rem;
}
.card .card-title {
    color: #1a2873;
    margin-bottom: 2.2rem;
    font-size: 20px;
    border-bottom: 1px solid #1a28732b;
    line-height: 40px;
}
.card .card-description {
    margin-bottom: 1.875rem;
    border-bottom: 1px solid #0000001f;
    line-height: 37px;
}
.card .card-body {
    padding: 1.5rem 1.5rem;
}

.sidebar-icon-only .sidebar .nav .nav-item.hover-open .nav-link:hover .menu-title {
    background: #1a2873;
}
.sidebar-icon-only .sidebar .nav .nav-item.active .nav-link i.menu-icon {
    color: #1f3bb3;
}
.invalid-feedback {
    margin-top: 0.25rem;
    color: #ff0101;
}
.form-group label {
    margin-top: 8px;
    color: #000000;
    font-weight: 600;
}

/* Tighter spacing for login form fields */
.login-card .form-group {
    margin-bottom: 0.75rem;
}

/* Password eye icon styling on login */
.password-toggle-group .password-toggle {
    cursor: pointer;
    background-color: #ffffff;
    border-left: 0;
}
.password-toggle-group .form-control {
    border-right: 0;
}
.password-toggle-group .password-toggle i {
    font-size: 18px;
    color: #9ca3af;
    transition: color 0.2s ease;
}
.password-toggle-group .password-toggle:hover i {
    color: #1f3bb3;
}
.bg-area {
    background: rgb(225 223 222 / 16%);
    border: 1px solid #0000001a;
   
}
.add-btns{
    margin-bottom: 20px;
}
.new-textareas{
    border: 1px solid #dee2e6;
    font-weight: 400;
    font-size: 13px;
    border-radius: 4px;
    padding-left: 9px;
}

.form-control::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
    color: rgb(201, 201, 201);
    opacity: 1; /* Firefox */
  }
  
.new-textareas::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
    color: rgb(201, 201, 201);
    opacity: 1; /* Firefox */
    padding: 10px 15px 3px 13px;
  }

  span.text-dark {
    font-weight: 600;
    font-size: 15px;
}
.view{color: #1a2873; font-weight: 600;}

.customize_section {
    margin: 0 20px;
}

/* ===== Top Header (Navbar) Shadow ===== */
.navbar.default-layout {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    background-color: #ffffff;
}

.table--datatable th {
    background: #1a2873;
    color: #ffffff;
}
.bod-bot{border-bottom: 1px solid #dddddd; padding: 10px 0 10px 0; margin-bottom: 0px;}
/* media quiery */
@media (min-width: 1280px){
.delete-rows{
    width: 45px;
    padding: 5px 5px 4px 6px;
    height: 37px;
}
.add-rews{
    width: 45px;
    padding: 5px 5px 4px 6px;
    height: 37px;
}
}

@media (min-width: 992px){
.sidebar-icon-only .sidebar {
    background: #1a2873;
}
.sidebar-icon-only .navbar .navbar-brand-wrapper {
    background: #1a2873;
}
.sidebar-icon-only .navbar .navbar-brand-wrapper .navbar-toggler:not(.navbar-toggler-right) {
    transform: rotate(180deg);
    color: #fff;
}
.sidebar .nav .nav-item .nav-link i.menu-icon:before {
    color: black;
}
.sidebar-icon-only .sidebar .nav .nav-item .nav-link[aria-expanded] .menu-title {
    border-bottom: 1px solid #edeaea42;
    background: #ffc024;
}
.sidebar-icon-only .sidebar .nav .nav-item.active .nav-link:before {
    background: #1a2873;
}
}

.tgl-switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
  }
  
  .tgl-switch input { 
    opacity: 0;
    width: 0;
    height: 0;
  }
  
  .tgl-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
  }
  
  .tgl-slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
  }
  
  input:checked + .tgl-slider {
    background-color: #2196F3;
  }
  
  input:focus + .tgl-slider {
    box-shadow: 0 0 1px #2196F3;
  }
  
  input:checked + .tgl-slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
  }
  
  /* Rounded tgl-sliders */
  .tgl-slider.round {
    border-radius: 34px;
  }
  
  .tgl-slider.round:before {
    border-radius: 50%;
  }
  .bg-row {
    background-color: #7c7b7f0d;
    padding: 15px 43px;
    margin: 10px 0px 20px;
}
  .bg-row .row{padding: 10px; margin-bottom: 5px; border-bottom: 1px solid #dddddd;}

textarea.form-control, textarea.asColorPicker-input, .select2-container--default textarea.select2-selection--single, .select2-container--default .select2-selection--single textarea.select2-search__field, textarea.typeahead, textarea.tt-query, textarea.tt-hint {
    min-height: 6rem;
}


.key_feature_outer .key_feature_box .add_row {
    display: none;
}

.key_feature_outer .key_feature_box:last-child .add_row {
    display: inline-block !important;
}

.key_feature_outer .key_feature_box:first-child .remove_row {
    display: inline-block !important;
}

/* ---------- Auth / login page refinements ---------- */

.auth {
    min-height: 100vh;
    background: radial-gradient(circle at top left, #fff7e0 0, #ffffff 40%, #f3f6ff 100%);
}

.auth .row.w-100.mx-0 {
    justify-content: center;
}

.login-card {
    border-radius: 18px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
    border: 1px solid rgba(148, 163, 184, 0.25);
    background-color: #ffffff;
}

.login-card .form-control {
    border-radius: 12px;
    border-color: #e2e8f0;
    font-size: 0.95rem;
}

.login-card .form-control:focus {
    border-color: #1f3bb3 !important;
    box-shadow: 0 0 0 1px rgba(31, 59, 179, 0.35);
}

.login-card .form-label {
    font-size: 0.85rem;
    font-weight: 600;
    /* color: #1f2933; */
}

/* tighten vertical spacing between fields on login */
.login-card .form-group {
    /* margin-bottom: 0.5rem; */
}

.login-card .form-label.mb-1 {
    margin-bottom: 0.25rem !important;
}

.login-card .auth-form-btn {
    border-radius: 10px;
    letter-spacing: 0.03em;
    padding: 16px 48px;
    font-size: 1.1rem;
    min-width: 200px;
    height: auto;
}

/* loading state for login button */
.login-card .auth-form-btn.is-loading {
    position: relative;
    color: transparent !important;
}

.login-card .auth-form-btn.is-loading::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 18px;
    height: 18px;
    margin-top: -9px;
    margin-left: -9px;
    border-radius: 50%;
    border: 2px solid rgba(0, 0, 0, 0.15);
    border-top-color: #000000;
    animation: login-btn-spin 0.75s linear infinite;
}

@keyframes login-btn-spin {
    to {
        transform: rotate(360deg);
    }
}

/* ---------- Sidebar access cards (Super Admin hospital forms) ---------- */
.form-section .sidebar-access-group-title {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #6b7280;
    margin-bottom: 0.35rem;
}
.form-section .sidebar-access-group {
    padding: 0.6rem 0.75rem;
    border-radius: 6px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    margin-bottom: 0.35rem;
}
.form-section .sidebar-access-group .form-check {
    margin-bottom: 0.15rem;
}
.form-section .sidebar-access-group .form-check-label {
    font-size: 0.8rem;
}

/* Toast styles for login page */
.login-toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1050;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.login-toast {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    min-width: 320px;
    max-width: 400px;
    padding: 1rem 1.25rem;
    border-radius: 8px;
    background: #ffffff;
    border-left: 4px solid #dc2626;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    font-size: 0.875rem;
    line-height: 1.5;
    animation: login-toast-slide-in 0.3s ease-out;
}

.login-toast-icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    margin-top: 2px;
    color: #dc2626;
    font-size: 1.1rem;
    font-weight: 700;
}

.login-toast-content {
    flex: 1;
}

.login-toast-title {
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 4px;
    color: #1f2937;
}

.login-toast-message {
    color: #4b5563;
    font-size: 0.875rem;
    line-height: 1.5;
    word-wrap: break-word;
}

.login-toast-close {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    cursor: pointer;
    color: #9ca3af;
    font-size: 1.25rem;
    line-height: 1;
    transition: color 0.2s;
    margin-top: 2px;
}

.login-toast-close:hover {
    color: #4b5563;
}

@keyframes login-toast-slide-in {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.login-card .alert {
    border-radius: 10px;
    padding: 0.5rem 0.75rem;
}

/* soften heading + spacing */
.login-card h4 {
    font-weight: 700;
    color: #111827;
}

.login-card h6 {
    color: #6b7280;
}

@media (max-width: 576px) {
    .login-card {
        padding: 2rem 1.5rem !important;
    }
}

.key_feature_outer .key_feature_box:only-of-type .remove_row {
    display: none !important;
}


.addressbox {
    border-bottom: 1px solid #dddddd;
    line-height: 29px;
    padding-bottom: 15px;
}
.headsec{padding: 10px 0 0; border-bottom: 1px solid #ddd;}
.card-inner {
    margin: 10px 0 20px 0;
    border: 1px solid #aeb4cf38;
    padding: 10px;
}
.key_feature_outer {
    margin: 10px 10px;
}
.key_feature_outer .key_feature_box{border-bottom: 1px solid #ededed; padding-bottom: 15px;}
.row.mainhead {
    font-weight: 600;
    background: aliceblue;
    padding: 10px;
    margin: 0 5px;
}

.sidebar .nav .nav-item .nav-link {

    border-radius: 0px; color: #000000;

}

.table a {
    font-weight: 600;
    text-decoration: underline;
    color: #1a2873;
}
.description{max-width: 250px!important;}

.filter-bar {
    border: 1px solid #e3e6ef;
    border-radius: 12px;
    padding: 12px 16px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    box-shadow: 0 2px 8px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.04);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.filter-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #1a2873 0%, #ffaf00 100%);
    border-radius: 12px 12px 0 0;
}

.filter-bar:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.12), 0 2px 4px rgba(0,0,0,0.06);
}

.filter-bar .form-control {
    border: 1.5px solid #d1d5db !important;
    background-color: #fff;
    transition: all 0.2s ease;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.filter-bar .form-control:focus {
    border-color: #1a2873 !important;
    box-shadow: 0 0 0 3px rgba(26, 40, 115, 0.1) !important;
    outline: none;
}

.filter-bar .form-control-sm {
    padding: 0.35rem 0.65rem;
    font-size: 0.875rem;
    line-height: 1.5;
    border-radius: 6px;
    font-weight: 400;
}

.filter-bar select.form-control-sm {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.65rem center;
    background-size: 12px;
    padding-right: 2rem;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.filter-bar .btn-primary {
    height: 44px;
}

.filter-bar label {
    font-weight: 600;
    color: #1a2873;
    font-size: 0.875rem;
    margin-bottom: 0;
    display: flex;
    align-items: center;
    gap: 4px;
}

.filter-bar label::after {
    content: ':';
    margin-left: 2px;
}

.filter-bar .btn-common {
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: all 0.2s ease;
}

.filter-bar .btn-common:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.filter-bar .btn-common:active {
    transform: translateY(0);
}

.filter-bar .btn-primary.btn-common {
    background: linear-gradient(135deg, #1f3bb3 0%, #1a2f8f 100%);
    border: none;
    font-weight: 600;
    color: #ffffff;
}

.filter-bar .btn-light.btn-common {
    background: #ffffff;
    border: 1.5px solid #d1d5db;
    color: #495057;
}

.filter-bar .btn-light.btn-common:hover {
    background: #f8f9fa;
    border-color: #1a2873;
    color: #1a2873;
}

.filter-bar .btn-info.btn-common {
    background: linear-gradient(135deg, #36b9cc 0%, #258ea6 100%);
    border: none;
    color: #fff;
}

.filter-separator {
    width: 1px;
    height: 28px;
    background: #e3e6ef;
    margin: 0 8px;
    flex-shrink: 0;
}

.view-all-link {
    transition: all 0.2s ease;
    font-weight: 500;
}

.view-all-link:hover {
    color: #ffaf00 !important;
    text-decoration: underline !important;
    transform: translateX(2px);
}

.view-all-link i {
    font-size: 0.7rem;
    margin-left: 2px;
}

.hide-element {
    display: none;
}
.outer-mid {
    width: 100%;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    background: #ffffffb0;
    z-index: 99999999999;
    padding: 20% 100px;
    text-align: center;
    overflow-y: hidden;
    pointer-events: none;
    inset: 0;
    display: none;
    
  }
  
  .lds-spinner {
    color: official;
    display: inline-block;
    position: relative;
    width: 40px;
    height: 40px;
  }
  .lds-spinner div {
    transform-origin: 40px 40px;
    animation: lds-spinner 1.2s linear infinite;
  }
  .lds-spinner div:after {
    content: " ";
    display: block;
    position: absolute;
    top: 3px;
    left: 37px;
    width: 6px;
    height: 18px;
    border-radius: 20%;
    background: #1a2873;
  }
  .lds-spinner div:nth-child(1) {
    transform: rotate(0deg);
    animation-delay: -1.1s;
  }
  .lds-spinner div:nth-child(2) {
    transform: rotate(30deg);
    animation-delay: -1s;
  }
  .lds-spinner div:nth-child(3) {
    transform: rotate(60deg);
    animation-delay: -0.9s;
  }
  .lds-spinner div:nth-child(4) {
    transform: rotate(90deg);
    animation-delay: -0.8s;
  }
  .lds-spinner div:nth-child(5) {
    transform: rotate(120deg);
    animation-delay: -0.7s;
  }
  .lds-spinner div:nth-child(6) {
    transform: rotate(150deg);
    animation-delay: -0.6s;
  }
  .lds-spinner div:nth-child(7) {
    transform: rotate(180deg);
    animation-delay: -0.5s;
  }
  .lds-spinner div:nth-child(8) {
    transform: rotate(210deg);
    animation-delay: -0.4s;
  }
  .lds-spinner div:nth-child(9) {
    transform: rotate(240deg);
    animation-delay: -0.3s;
  }
  .lds-spinner div:nth-child(10) {
    transform: rotate(270deg);
    animation-delay: -0.2s;
  }
  .lds-spinner div:nth-child(11) {
    transform: rotate(300deg);
    animation-delay: -0.1s;
  }
  .lds-spinner div:nth-child(12) {
    transform: rotate(330deg);
    animation-delay: 0s;
  }
  @keyframes lds-spinner {
    0% {
      opacity: 1;
    }
    100% {
      opacity: 0;
    }
  }


#cropimage{
	overflow: hidden;
	width:640px;
	height: 480px;
}

.cropper--outer-container {
    width: 692px;
}

label.tagselect {
    padding: 3px 10px;
    border: 1px solid #dddddd;
    margin: 0 5px 9px 0;
}

label.tagselect input{
    margin-right: 5px;
}

.cancel_order {
    float: right;
    margin-top: -25px;
    /* padding: 5px; */
    margin-left: 5px;
    border-radius: 1px;
    padding: 12px 15px!important;
    font-weight: 600;
    text-decoration: none!important;
}

.table-responsive {
    position: relative;
}

.address-proof-label {
    font-size: .8125rem;
}

#address_proof {
    border: 1px solid black;
    border-radius: 3px;
    margin-left: 0.5em;
    font-size: 0.9rem;
}

.seller-list-search {
    overflow-y: auto;
    max-height: 400px;
}
.seller-list-search .seller-name {

    margin: 0 0 0 5px;
}


span.right {
    float: right;
    font-size: 15px;
}

.row.mainhead {
    font-weight: 600;
    background: #1a2873;
    padding: 10px;
    margin: 0 5px;
    color: #ffffff;
}

.content-wrapper {
    background: #F4F5F7;
    padding: 0 2.187rem 1.5rem 1.5rem;
    width: 100%;
    -webkit-flex-grow: 1;
    flex-grow: 1;
    overflow-y: auto;
    overflow-x: hidden;
    max-height: calc(100vh - 97px);
    height: calc(100vh - 97px);
}

/* Custom scrollbar for main content */
.content-wrapper::-webkit-scrollbar {
    width: 8px;
}

.content-wrapper::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.content-wrapper::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 10px;
    transition: background 0.2s ease;
}

.content-wrapper::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Firefox scrollbar for main content */
.content-wrapper {
    scrollbar-width: thin;
    scrollbar-color: #888 #f1f1f1;
}

.card {
    border-radius: 10px;
}

/* Common Button Styles */
.btn-common {
    border-radius: 8px;
    padding: 10px 20px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.btn-common:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.btn-common:active {
    transform: translateY(0);
}

.btn-primary.btn-common {
    background: #1f3bb3;
    color: #ffffff;
}

.btn-primary.btn-common:hover {
    background: #1a2f8f;
    color: #ffffff;
}

/* Ensure icons inside primary common buttons are white */
.btn-primary.btn-common i,
.btn-primary.btn-common i::before {
    color: #ffffff !important;
}

/* Edit hospital button icons (plain btn-primary) should also be white */
.btn-primary i,
.btn-primary i::before {
    color: #ffffff;
}

.btn-success.btn-common {
    background: #1cc88a;
    color: #ffffff;
}

.btn-success.btn-common:hover {
    background: #17a673;
    color: #ffffff;
}

.btn-danger.btn-common {
    background: #e74a3b;
    color: #ffffff;
}

.btn-danger.btn-common:hover {
    background: #c0392b;
    color: #ffffff;
}

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

.btn-light.btn-common:hover {
    background: #e9ecef;
    color: #212529;
}

.btn-sm.btn-common {
    padding: 6px 12px;
    font-size: 0.85rem;
}

.btn-outline-primary.btn-common {
    background: transparent;
    color: #1a2873;
    border: 1px solid #1a2873;
}

.btn-outline-primary.btn-common:hover {
    background: #1a2873;
    color: #ffffff;
}

.btn-info.btn-common {
    background: #36b9cc;
    color: #ffffff;
}

.btn-info.btn-common:hover {
    background: #258ea6;
    color: #ffffff;
}

/* Ensure main panel has proper margin for fixed sidebar */
.main-panel {
    margin-left: 260px !important;
    width: calc(100% - 260px) !important;
    transition: margin-left 0.3s ease;
}

.content-wrapper {
    padding: 20px 30px !important;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .main-panel {
        margin-left: 0 !important;
        width: 100% !important;
    }
}