:root {
    --bg: #ecedf2;
    --fg: #2a2d45;
    --primary: #7389A0;
    --primary-fg: #f8f9fc;
    --card: #f8f9fc;
    --muted: #6b7094;
    --accent: #d4d7ed;
    --accent-fg: #1f2238;
    --border: #b5bad0;
    --input-border: #7e93b0;
    --mandatory-bg: #ffffaa;
    --mandatory-fg: #4d3d0a;
    --protected-bg: #eee8d0;
    --protected-fg: #5a5035;
    --glass-bg: rgba(248, 249, 252, 0.6);
    --glass-bg-strong: rgba(248, 249, 252, 0.8);
    --glass-border: rgba(224, 227, 243, 0.5);
    --glass-shadow: rgba(58, 61, 102, 0.08);
}

* {
    box-sizing: border-box;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.login-card {
    border-radius: 15px;
    box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.2);
    padding: 30px;
    background: #ecedf2;
    width: 100%;
    max-width: 450px;
    min-width: 350px;
    min-height: 300px;
}

.tracking-card,
.schedule-card {
    border-radius: 15px;
    box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.2);
    padding: 30px;
    background: #ecedf2;
    width: 100%;
    max-width: 450px;
    min-width: 450px;
    min-height: 324px;
}

.login-title,
.tracking-title {
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
}

.btn-login,
.btn-track {
    width: 100%;
    border: 2px solid;
}

.error_message {
    color: red;
    font-size: 12px;
}

.dates-div {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.dates-div>input {
    width: 50%;
}

.cookie-bar {
    background: #6c6fa8;
    color: #fff;
    padding: 8px 20px;
    display: flex;
    justify-content: space-between;
    font-size: 13px;
}

.cookie-bar button {
    background: #fff;
    border: none;
    padding: 4px 10px;
    cursor: pointer;
}

.top-header {
    background: #6c6fa8;
    color: #fff;
    padding: 8px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;    
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.logo {
    color: #6c6fa8;
    font-size: 30px;
    font-weight: 800;
}

nav a {
    margin: 0 10px;
    font-size: 18px;
    cursor: pointer;
}

.actions span {
    margin-left: 16px;
    font-size: 18px;
}

.hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* background: linear-gradient(90deg, #fde3ed, #f6d1e3); */
    padding: 60px 80px;
}

.hero h1 {
    color: #6c6fa8;
    font-size: 32px;
}

.cta {
    background: #6c6fa8;
    color: #fff;
    border: none;
    padding: 12px 28px;
    font-weight: 600;
    cursor: pointer;
}

.mock-phone {
    font-size: 120px;
}

.widgets {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    margin: -50px auto 40px;
    flex-wrap: wrap;
}

.widget {
    background: #fff;
    width: fit-content;
    padding: 22px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}


.hint {
    font-size: 12px;
    color: #666;
}

.msg {
    font-size: 13px;
    margin-top: 6px;
}

.result {
    margin-top: 10px;
    font-size: 13px;
    background: #eef;
    padding: 8px;
}

.dates {
    display: flex;
    gap: 6px;
}

@media (max-width: 950px) {
    .widget {
        width: 450px;
    }
}

body {
    margin: 0px;
    padding: 0;
    white-space: nowrap;
    overflow-x: hidden;
    overflow-y: scroll;
    min-width: 650px;
    height: 100%;
    /* background: #eeeff6;e2e3e9; */
    background: #d0d1db9e;
    font-family: 'Segoe UI', Arial;
}

* {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

*::-webkit-scrollbar {
    display: none;
}


/*.main_nav {
    padding: 0;
    margin: 0;
}

.main_nav_bar {
    background-color: #ecedf2;
    display: flex;
    justify-content: left;
    align-items: center;
    width: 100%;
    height: fit-content;
    padding: 0px;
}

#mainNavbar {
    color: #2a2d45;
    width: 100%;

    padding: 6px;
    font-family: 'Inter';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    font-size: small;
}

.navbar {
    padding: 0;
    margin: 0;
}

.navbar-toggler {
    border: 0px;
    padding: 0px;
    padding-left: 5px;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.main_bar_btn {
    padding: 0;
    padding-left: 5px;
}

.main_bar_btn,
.main_bar_btn:hover,
.main_bar_btn:focus {
    color: black;
}*/


.show {
    color: black !important;
}

.btn-secondary {
    background-color: transparent;
    border: none;
    color: black;
    font-size: 12px;
    border-radius: 0px;
}

.btn-secondary:hover {
    background-color: rgb(56, 109, 187);
}

.btn-secondary:focus {
    background-color: rgb(56, 109, 187);
}

.header_menu>.dropdown>button.dropdown-toggle::after {
    display: none !important;
}

.dropdown-submenu {
    position: relative;
}

.dropdown-submenu>.dropdown-menu {
    top: 0;
    left: 100%;
    margin-left: 0.1rem;
    display: none;
    position: absolute;
}

.dropdown-submenu:hover>.dropdown-menu {
    display: block;
}



.title-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
    background: linear-gradient(90deg, #7b7db3, #9a9cc9);
    color: #fff;
    font-family: 'Segoe UI', sans-serif;
}

/* LEFT SIDE */
.left-title-bar {
    display: flex;
    align-items: center;
    gap: 12px;
}



.logo-text {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #e6e6fa;
    /* light lavender like image */
    font-family: 'Segoe UI', sans-serif;
}

.main-title {
    font-size: 25px;
    font-weight: 600;
    color: #ffffff;
    margin-left: 20px;
}

/* RIGHT SIDE */
/*.right-title-bar {
    display: flex;
    align-items: center;
    gap: 20px;
}

.right-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
}

.right_input {
    opacity: 0.85;
    margin: 0;
}

.right_value {
    font-weight: 600;
    margin: 0;
}

/* OPTIONAL: Hide on mobile */
.hide-on-mobile {
    display: flex;
}

@media (max-width: 768px) {
    .hide-on-mobile {
        display: none;
    }
}

*/ .main-content {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100vh;
    background: #ecedf2;
}

.main-content-logo {
    height: 350px;
    width: 400px;
}

.third-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.125rem;
    padding: 0 0.25rem 0.25rem 0.75rem;
    background-color: rgba(248, 249, 252);
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 90;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), inset 0 -2px 4px rgba(0, 0, 0, 0.25), 0 2px 6px rgba(0, 0, 0, 0.15);
}

.third-bar-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.125rem;
    padding: 0.25rem 0.25rem 0.5rem 0.75rem;
}

.third-bar-right-content>button,
.third-bar-content>button,
.third-bar-content>a {
    width: 34px;
    height: 34px;
    border-radius: 6px;
    border: 1px solid rgba(0, 0, 0, 0.15);
    background: linear-gradient(180deg, #f8f9fb 0%, #e3e6ec 100%);
    color: #4a5568;
    font-size: 15px;
    transition: all 0.15s ease;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9),
        0 2px 3px rgba(0, 0, 0, 0.15);
    transform: translateY(1px)
}

.third-bar-right-content>button:hover,
.third-bar-content>button:hover {
    background: linear-gradient(180deg, #ffffff 0%, #dfe3ea 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 1),
        0 3px 6px rgba(0, 0, 0, 0.2);
}

.third-bar-right-content>button:active,
.third-bar-content>button:active {
    transform: translateY(1px);
    box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.25);
}

.third-bar-content>button,
.third-bar-content>a {
    display: flex;
    justify-content: center;
    align-items: center;
}

.dropdown-item {
    margin: 0px;
}

.dropdown-item:hover {
    background-color: rgba(0, 0, 0, 0.5);
}

.dropdown-menu {
    padding: 0;
}

.main-cont {
    /* padding: 20px; */
    /* position: relative;
    z-index: 10; */
    /* max-width: 1400px; */
    padding: 0.5rem 1rem;
}

.summary_fieldset {
    margin-bottom: 15px;
    display: flex;
    justify-content: flex-start;
    align-content: center;
    /* background-color: #f8f9fc; */
    background-color: #f1f2f7;
    flex-direction: column;
    padding: 12px 24px 12px 24px;
    border-radius: 15px;
}

.summary_legend {
    font-size: 1rem;
    border-radius: 5px;
    width: fit-content;
    color: #7389A0;
    font-weight: 500;
    display: flex !important;
    gap: .5rem !important;
}

.summary_tbl {
    display: flex;
    justify-content: space-between;
}

.summary_body_left {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.summary_body_inner {
    display: grid;
    grid-template-columns: repeat(4, minmax(220px, 1fr));
    gap: 10px 30px;
}

.summary_row_lable {
    width: 140px;
    min-width: 140px;
    display: inline-block;
    color: #626684;
    font-weight: 500;
}

.summary_value {
    font-family: "JetBrains Mono", monospace;
    font-weight: 500;
    color: #000;
}

/* keep rows aligned */
.summary_body_inner .d-flex.align-items-center {
    display: flex;
    align-items: center;
}

.summary_row_input {
    border: 0px;
    background: transparent;
    font-family: "JetBrains Mono", monospace;
    font-weight: 500;
}

.summary_row_input::placeholder {
    color: #000;
}

.details {
    width: fit-content;
}

.summary_status {
    width: 30%;
    background-color: #6c6fa8;
    border-radius: 15px;
    text-align: center;
    color: #ecedf2;
    font-weight: 600;
}

.summary_status::placeholder {
    color: #ecedf2;
    font-weight: 600;
    text-align: center;
}

.horizantal-line {
    padding-bottom: 10px;
    margin: 0px;
}

#status {
    border-radius: 15px;
    color: black !important;
}

#status::placeholder {
    color: #f7f7fc;
}


/* filter or search tab style*/

#myTabContent {
    margin-top: 10px;
    background: transparent;
}

#myTab {
    border: 0px;
    height: 100%;
    background: rgba(248, 249, 252, 0.4);
    backdrop-filter: blur(8px);
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: 0.5rem;
    white-space: nowrap;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    margin-bottom: 15px;
}

#myTab>.nav-item {
    background-color: #6c6fa8;
    border-radius: 10px;
    color: white;
    box-shadow: 0 4px 12px rgba(58, 61, 102, 0.3);
    margin-right: 15px;
}

#search-tab,
#main_details-tab,
#extra_details-tab{
    color: #ecedf2;
    font-size: 14px;
    font-weight: 500;
    border: 0px;
    border-radius: 10px;
    background-color: #6c6fa8;
    width: auto;
}

#searchtab,
#main_detailstab {
    height: 100vh;
    width: 100%;
}

.search_title {
    padding: 0px;
    margin: 0px;
}

.filter_div {
    width: 100%;
    padding: 20px;
    background: rgba(248, 249, 252, 0.6);
    display: flex;
    gap: 15px;
    flex-direction: column;
    border-radius: 15px;
    box-shadow: 0px 0px 3px #6c6fa814;
    margin-bottom: 15px;
}

.filter_title {
    width: fit-content;
    font-weight: 500;
    font-size: 13px;
    border-radius: 5px;
    color: #7389A0;
    width: fit-content;
    display: flex;
    align-items: center;
    gap: 5px;
    /* margin-left: 10px; */
}

.filter_body {
    display: flex;
    justify-content: space-between;
    align-content: center;
    margin: 2px;
}

.filter_left_body_main {
    display: flex;
    gap: 30px;
}

.filter_left_body {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}


.parameter {
    display: flex;
    align-items: center;
    gap: 5px;
}


.parameter label {
    width: fit-content;
    color: #626684;
    font-weight: 500;
    height: 24px;
    white-space: nowrap;
}

.parameter input,
select {
    width: 150px;
    height: 30px;
    border-radius: 15px;
    padding-left: 14px;
    border: 1px solid #bfc2d999;
}

.parameter input:hover,
select:hover {
    border-color: #7f9db9;
}

.parameter select {
    height: 30px;
    color: black;
}

/* table css start */

.common_tbl {
    width: 100%;
    border-collapse: collapse;
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    background: transparent;
    border: none;
}

.common_tbl thead tr th {
    background: #6c6fa8 !important;
    color: #f8f9fc !important;
    font-weight: 600;
    font-size: 0.875rem;
    padding: 10px 16px;
    text-align: left;
    border: none;
    white-space: nowrap;
}

.common_tbl tbody tr td {
    padding: 10px 16px;
    border-bottom: 1px solid rgba(181, 186, 208, 0.3);
    color: #2a2d45;
    background: transparent;
    font-size: 0.875rem;
}

.common_tbl tbody tr:nth-child(even) td {
    background: rgba(248, 249, 252, 0.4);
}

.common_tbl tbody tr:nth-child(odd) td {
    background: rgba(248, 249, 252, 0.2);
}

.common_tbl tbody tr:hover td {
    background: rgba(212, 215, 237, 0.5);
    cursor: pointer;
}

.common_tbl tbody tr:focus td {
    background: #6c6fa8 !important;
    color: #f8f9fc !important;
    outline: none;
}

.tbl_data {
    background: rgba(248, 249, 252, 0.6);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(224, 227, 243, 0.5);
    box-shadow: 0 8px 32px rgba(58, 61, 102, 0.08);
    border-radius: 0.75rem;
    overflow: hidden;
    width: 100%;
}

.dataTables_wrapper {
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    color: #2a2d45;
}

.dataTables_filter input {
    height: 2rem;
    padding: 0 0.625rem;
    font-size: 0.875rem;
    border-radius: 0.375rem;
    border: 1px solid rgba(181, 186, 208, 0.6);
    background: rgba(248, 249, 252, 0.6);
    outline: none;
}

.dataTables_filter input:focus {
    border-color: #7e93b0;
    box-shadow: 0 0 0 3px rgba(58, 61, 102, 0.1);
}

.dataTables_wrapper .dataTables_paginate {
    background: rgba(248, 249, 252, 0.3);
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 4px !important;
    flex-wrap: nowrap !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button {
    height: 1.75rem;
    width: 1.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.375rem !important;
    border: 1px solid rgba(224, 227, 243, 0.3) !important;
    background: rgba(248, 249, 252, 0.4) !important;
    color: #6b7094 !important;
    font-size: 0.8rem;
    cursor: pointer;
    transition: background 0.2s;
    box-shadow: none !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
    background: #d4d7ed !important;
    color: #1f2238 !important;
    border-color: #b5bad0 !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current {
    background: #6c6fa8 !important;
    color: #f8f9fc !important;
    border-color: #6c6fa8 !important;
    font-weight: 600;
}

.dataTables_length select {
    height: 1.75rem;
    padding: 0 0.5rem;
    font-size: 0.875rem;
    border-radius: 0.375rem;
    border: 1px solid rgba(181, 186, 208, 0.6);
    background: rgba(248, 249, 252, 0.6);
    color: #2a2d45;
    outline: none;
}

.pg-input {
    height: 28px;
    width: 36px !important;
    min-width: 36px !important;
    max-width: 36px !important;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    border-radius: 6px;
    border: 1px solid #b5bad0;
    background: #fff;
    color: #2a2d45;
    outline: none;
    padding: 0;
}

.pg-btn {
    height: 28px;
    min-width: 28px;
    width: 28px !important;
    padding: 0 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    border: 0px;
    background: transparent;
    color: #6b7094;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.15s;
    flex-shrink: 0;
    /* ← prevents shrinking */
}

.pg-btn:hover {
    background: rgba(212, 215, 237, 0.5) !important;
    transition: background 0.2s;
}

.dt_bottom {
    padding: 0.75rem 1rem;
    font-size: 0.8rem;
    color: #6b7094;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 12px !important;
    /* border-top: 1px solid rgba(181, 186, 208, 0.3); */
    font-size: 13px;
    color: #6b7094;
    margin: 0xp;
}

/* table css end */

.tab_hide {
    display: none !important;
}

.edit_org {
    width: 80%;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: center;
    padding: 0px 10px 10px 0px;
}

/* .edit_org_left {
    display: flex;
    justify-content: space-evenly;
    align-items: start;
    flex-direction: column;
    gap: 5px;
    background: rgba(248, 249, 252, 0.6);
    border-radius: 15px;
    padding: 30px 20px 30px 20px;
    border: 1px solid rgba(224, 227, 243, 0.5);
    box-shadow: 0 8px 32px rgba(58, 61, 102, 0.08);
} */

.edit_org_left label {
    width: 120px;
    font-size: 13px;
    height: 20px;
    color: #626684;
    font-weight: 500;
    text-align: end;
}

.edit_org_left input {
    width: 150px;
    height: 32px;
    border: 1px solid rgba(181, 186, 208, 0.6);
    border-radius: 6px;
    padding: 10px;
    font-size: 14px;
}

.org_license input {
    border-radius: 0px;
}

.input_box input[type="checkbox"] {
    /* appearance: none; 
    -webkit-appearance: none;*/
    display: flex;
    justify-content: center;
    align-items: center;
    height: 20px;
    width: fit-content;
    border-radius: 0.375rem;
    border: 1px solid rgba(181, 186, 208, 0.6);
    background: rgba(248, 249, 252, 0.6);
    backdrop-filter: blur(4px);
    outline: none;
    transition: all 0.2s;
    margin-left: 3px;
}

input[type="checkbox"]:checked {
    background: rgba(108, 111, 168, 1);
    border-color: rgba(108, 111, 168, 1);
}

input[type="checkbox"]:checked::after {
    /* content: ''; */
    position: absolute;
    width: 5px;
    height: 9px;
    border: 2px solid white;
    border-top: none;
    border-left: none;
    transform: rotate(45deg);
}

input[type="checkbox"]:hover {
    border-color: rgba(108, 111, 168, 0.8);
}

input[type="checkbox"]:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(108, 111, 168, 0.2);
}

.org_details_row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}


#left_second {
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: start;
    gap: 7px;
}

/* .edit-top-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 180px;
} */

#organization_id {
    border-color: #8e8d7d !important;
    background: #eee8d0;
}


.dataTables_length select {
    height: 28px !important;
    width: auto !important;
    min-width: 60px !important;
    padding: 0 8px !important;
    font-size: 13px !important;
    border-radius: 6px !important;
    border: 1px solid rgba(181, 186, 208, 0.6) !important;
    background: rgba(248, 249, 252, 0.8) !important;
    color: #2a2d45 !important;
}

.dataTables_length label {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    font-size: 13px !important;
    color: #6b7094 !important;
    margin: 0 !important;
    white-space: nowrap !important;
}

.dt_bottom {
    margin-top: 8px;
    padding-top: 8px;
}

.dataTables_length {
    padding-right: 15px;
    /* border-right: 1px solid #000; */
}

.dataTables_length select {
    height: 30px;
    font-size: 18px;
    text-align: start;
}

#organization_status {
    height: 30px;
}

.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: rgba(0, 0, 0, 0.2);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.popup-box {
    background: #f4f4f4;
    border: 1px solid #000;
    width: 420px;
    padding: 15px;
    border-radius: 4px;
}

.popup-icons {
    display: flex;
    gap: 15px;
    font-size: 22px;
    margin-bottom: 10px;
}

.icon-ok {
    color: green;
    font-weight: bold;
}

.icon-cancel {
    color: red;
    font-weight: bold;
}

.popup-msg {
    font-size: 14px;
    margin-bottom: 12px;
    color: #000;
}

.popup-buttons {
    display: flex;
    gap: 10px;
}

.btn-popup {
    border: 1px solid #000;
    background: #fff;
    padding: 5px 10px;
    cursor: pointer;
    font-size: 13px;
}

.btn-popup:hover {
    background: #ddd;
}

.icon-ok {
    width: 100%;
    background: #000066;
    display: flex;
    justify-content: end;
    align-items: center;
}

.popup-box {
    padding: 0px;
}

.btn-popup-close {
    border: 0px;
    background: transparent;
}

.popup-body {
    padding: 10px;
    display: flex;
    justify-content: start;
    flex-direction: column;
}

.pop-up-msg {
    display: flex;
    align-items: start;
    flex-direction: column;
    gap: 3px;
}

/* #edit_org_left_inner {
    display: flex;
    flex-direction: column;
    gap: 4px;
} */

#edit_org_right {
    display: flex;
    justify-content: start;
    align-items: center;
}

#currency_search {
    background: transparent;
    border: none;
    padding: none;
    margin: none;
}

#modalBody {
    padding: 0px;
    background-color: #eeeff6;
    border-radius: 15px;
}


.modal-backdrop {
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    background: rgba(42, 45, 69, 0.5) !important;
    opacity: 1 !important;
}

#myModal .modal-dialog {
    /* max-width: min(700px, 90vw) !important;
    width: min(700px, 90vw) !important; */
    margin: auto !important;
}

#myModal .modal-content {
    background: rgba(248, 249, 252, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(224, 227, 243, 0.5);
    box-shadow: 0 20px 60px rgba(58, 61, 102, 0.25);
    border-radius: 0.75rem;
    overflow: hidden;
    animation: modalIn 0.2s ease-out;
}

#myModal .modal-body {
    padding: 0px;
    background-color: transparent;
    border-radius: 15px;
}

.cfilter_div {
    width: 100%;
    padding: 10px;
    background: #f8f9fc;
    border-radius: 12px;
    margin: 20px 0px;
    border: 1px solid rgba(224, 227, 243, 0.5);
    box-shadow: 0 2px 12px rgba(58, 61, 102, 0.08);
}

#myModal .cfilter_div {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(115, 137, 160, 0.15);
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(115, 137, 160, 0.08);
    width: 100%;
    padding: 10px;
    background: #ecedf2;
    border-radius: 15px;
    margin: 20px 0px 20px 0px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

#myModal .tbl_data {
    background: rgba(248, 249, 252, 0.6);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(224, 227, 243, 0.5);
    box-shadow: 0 8px 32px rgba(58, 61, 102, 0.08);
    border-radius: 0.75rem;
    overflow: hidden;
}

#myModal .common_tbl thead tr th {
    background: #6c6fa8 !important;
    color: #f8f9fc !important;
    font-weight: 600;
    font-size: 0.875rem;
    padding: 10px 16px;
    border: none;
}

#myModal .common_tbl tbody tr td {
    padding: 9px 16px;
    border-bottom: 1px solid rgba(181, 186, 208, 0.3);
    color: #2a2d45;
    font-size: 0.875rem;
}

#myModal .common_tbl tbody tr:nth-child(even) td {
    background: rgba(248, 249, 252, 0.4);
}

#myModal .common_tbl tbody tr:nth-child(odd) td {
    background: rgba(248, 249, 252, 0.2);
}

#myModal .common_tbl tbody tr:hover td {
    background: rgba(212, 215, 237, 0.5) !important;
    cursor: pointer;
}

#myModal .common_tbl tbody tr:focus td {
    background: #6c6fa8 !important;
    color: #f8f9fc !important;
    outline: none;
}

#currency_filter_body {
    padding: 10px;
}

.filter_right_body {
    width: fit-content;
}

.common_tbl thead tr th {
    position: sticky;

    top: 0;

    z-index: 2;
    background: #B3B3D9;
    color: #000066;
    border: 1px solid #A3A3C9;
}

.common_tbl thead tr th:hover {
    background: #DFDFFB;
    border-bottom-color: #f9a119;
    color: #000;
}

#currency_table_div {
    width: 100%;
    padding: 0px;
}

#search_value {
    background: transparent;
    border: 1px solid rgba(224, 227, 243, 0.5);
    color: #2a2d45;
}

.search_value {
    background: transparent;
    border: 1px solid rgba(224, 227, 243, 0.5);
    color: #2a2d45;
}

#org_currency {
    width: 3.5rem;
}

.modal-content {
    min-width: fit-content;
}

.custom-alert-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(42, 45, 69, 0.5);
    backdrop-filter: blur(4px);
    align-items: center;
    justify-content: center;
}

.custom-alert-overlay.open {
    display: flex;
}

.custom-alert-box {
    background: #f8f9fc;
    border: 1px solid rgba(224, 227, 243, 0.5);
    border-radius: 0.75rem;
    box-shadow: 0 20px 60px rgba(58, 61, 102, 0.25);
    width: 90%;
    max-width: 420px;
    overflow: hidden;
    animation: modalIn 0.2s ease-out;
}

@keyframes modalIn {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(10px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.custom-alert-icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.custom-alert-icon.success {
    color: #27ae60;
}

.custom-alert-icon.warning {
    color: #e67e22;
}

.custom-alert-icon.danger {
    color: #c0392b;
}

.custom-alert-icon.info {
    color: #7389A0;
}

.custom-alert-body {
    padding: 1.5rem 1.5rem 1rem;
    text-align: center;
}

.custom-alert-body h4 {
    margin: 0 0 0.5rem;
    font-size: 1.125rem;
    font-weight: 700;
    color: #2a2d45;
}

.custom-alert-body p {
    margin: 0;
    font-size: 0.875rem;
    color: #6b7094;
    line-height: 1.5;
}

.custom-alert-footer {
    padding: 0.75rem 1.5rem 1.25rem;
    display: flex;
    gap: 0.5rem;
    justify-content: center;
}

.custom-alert-footer .btn-action {
    min-width: 100px;
    justify-content: center;
}

.btn, .btn-login, .btn-track, .btn-primary {
    background : #6c6fa8 !important;
    border-color: #6c6fa8 !important;
}

.btn-action {
    padding: 0.5rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 0.5rem;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
}

.btn-save {
    background: #6c6fa8;
    color: #f8f9fc;
}

.btn-save:hover {
    filter: brightness(1.15);
    box-shadow: 0 4px 12px rgba(58, 61, 102, 0.3);
}

.btn-cancel {
    background: transparent;
    color: #6b7094;
    border: 1px solid #b5bad0;
}

.btn-cancel:hover {
    background: rgba(212, 215, 237, 0.4);
    color: #2a2d45;
}

.btn-delete {
    background: #c0392b;
    color: #fff;
}

.btn-delete:hover {
    filter: brightness(1.1);
    box-shadow: 0 4px 12px rgba(192, 57, 43, 0.3);
}

.btn-edit {
    background: #2980b9;
    color: #fff;
}

.btn-edit:hover {
    filter: brightness(1.15);
    box-shadow: 0 4px 12px rgba(41, 128, 185, 0.3);
}

.btn-update {
    background: #27ae60;
    color: #fff;
}

.btn-update:hover {
    filter: brightness(1.15);
    box-shadow: 0 4px 12px rgba(39, 174, 96, 0.3);
}

.field-label {
    font-size: 0.875rem;
    font-weight: 500;
    flex-shrink: 0;
    color: #6b7094;
}

.field-input {
    height: 2rem;
    width: 150px;
    padding: 0 0.625rem;
    font-size: 0.875rem;
    border-radius: 0.375rem;
    border: 1px solid rgba(181, 186, 208, 0.6);
    background: rgba(248, 249, 252, 0.6);
    backdrop-filter: blur(4px);
    outline: none;
    transition: all 0.2s;
}

.field-input:hover {
    border-color: #7e93b0;
}

.field-input:focus {
    border-color: #7e93b0;
    box-shadow: 0 0 0 3px rgba(58, 61, 102, 0.1);
}

.field-input.mandatory {
    background: #ffffaa;
    border-color: #7e93b0;
}

.field-input.protected {
    background: #eee8d0;
    border-color: #8e8d7d;
    cursor: default;
}

.w-sm {
    width: 6rem;
}

.w-md {
    width: 10rem;
}

.w-lg {
    width: 14rem;
}

.w-xl {
    width: 18rem;
}

.field-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.375rem 0;
}

.lookup-btn {
    height: 1.75rem;
    width: 1.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.375rem;
    background: rgba(248, 249, 252, 0.4);
    border: 1px solid rgba(224, 227, 243, 0.3);
    cursor: pointer;
    transition: background 0.2s;
    font-size: 0.85rem;
    color: #6b7094;
}

.lookup-btn:hover {
    background: #d4d7ed;
}

.lookup-text {
    font-size: 0.875rem;
    color: #6b7094;
    margin-left: 0.25rem;
}

.summary-value {
    font-size: 0.875rem;
    font-weight: 500;
    color: #2a2d45;
    margin-left: 0.75rem;
}

.status-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    background: #6c6fa8;
    color: white;
}

#myModal .modal-title {
    margin: 0px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--fg);
}

.dt_hint_text {
    font-size: 12px;
    color: var(--muted);
    display: flex;
    align-items: center;
    gap: 5px;
    opacity: 0.7;
    font-style: italic;
}

.dt_hint_text i {
    font-size: 13px;
    color: var(--primary);
    opacity: 0.8;
}

.dt_right {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    justify-content: flex-end;
}


.dataTables_scrollHeadInner {
    width: 100% !important;
}

.common_tbl tbody tr:focus td {
    background: rgba(108, 111, 168, 0.3) !important;
    color: black !important;
    outline: none;
}

.text-dark {
    color: #272c9d !important;
}

.dropdown-item.active {
    background-color: #6c6fa8 !important;
    color: #fff !important;
    font-weight: bold;
}

.gap-8 {
    gap: 5.5rem !important;
}

.topbar {
    padding: 15px;
}

/* NAVBAR BACKGROUND */
/*.white-backgound {
    background: #e9edf2;
    border-radius: 12px;
    border: none;
    padding: 5px 10px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}*/

/* MAIN MENU ITEMS */
/*.navbar-nav>li>a {
    /* color:#5c6b7a !important; 
    font-weight: 500;
    padding: 8px 18px;
    border-radius: 8px;
    margin-right: 5px;
    transition: all .2s;
}*/

/* HOVER EFFECT */
/*.navbar-nav>li>a:hover {
    background: #c8d0ed;
}*/

/* DROPDOWN MENU */
/*.mega-dropdown-menu {
    border-radius: 10px;
    border: none;
    min-width: 220px;
    padding: 8px 0;
    box-shadow: 0 5px 15px #44688d;
}*/

/* DROPDOWN ITEMS */
/*.mega-dropdown-menu li a {
    padding: 8px 15px;
    display: block;
    color: #444;
    font-size: 14px;
}*/

/* DROPDOWN HOVER */
/*.mega-dropdown-menu li a:hover {
    background: #c8d0ed !important;
    text-decoration: none;
}*/

/* SUBMENU */
.vertical-menu {
    width: 200px;
    border-radius: 8px;
    box-shadow: 0 5px 15px #44688d;
}

/* SUBMENU ITEMS */
.vertical-menu a {
    display: block;
    padding: 10px;
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* SUBMENU HOVER */
.vertical-menu a:hover {
    background: #1f3d73;
}

/* #menugeo {
    position: relative;
}

#submenugeo {
    display: none;
    position: absolute;
    left: 100%;
    top: 0;
    min-width: 200px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 15px #44688d;
    padding: 5px 0;
}

#submenugeo ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

#submenugeo ul li a {
    padding: 8px 15px;
    display: block;
    color: #444;
}

#submenugeo ul li a:hover {
    background: #c8d0ed;
} */

.dropdown-menu .dropdown-item:hover {
    background: #c8d0ed !important;
    color: #000;
}

.dropdown-item {
    color: #44596e !important;
}

/*.main_bar_btn {
    background: #6c6fa8;
    color: #fff;
    border-radius: 6px;
}

.main_bar_btn:hover {
    background: #c8d0ed;
    color: black;
}*/

.form_wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.addressBookDetailsForm {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: start;
    width: 100%;
}

/* .edit_org_left {
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: rgba(248, 249, 252, 0.6);
    border-radius: 15px;
    padding: 24px 20px;
    border: 1px solid rgba(224, 227, 243, 0.5);
    box-shadow: 0 8px 32px rgba(58, 61, 102, 0.08);
    height: 100%;
    box-sizing: border-box;
}

.edit-top-row {
    display: flex;
    align-items: center;
    gap: 100px;
    justify-content: space-around;

}

.edit_org_left_inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    gap: 15px;
} */

.edit_org_left {
    display: flex;
    flex-direction: row;
    gap: 20px;
    background: rgba(248, 249, 252, 0.6);
    border-radius: 15px;
    padding: 24px 20px;
    border: 1px solid rgba(224, 227, 243, 0.5);
    box-shadow: 0 8px 32px rgba(58, 61, 102, 0.08);
    box-sizing: border-box;
}

.edit_add_left {
    display: flex;
    flex-direction: row;
    gap: 20px;
    background: rgba(248, 249, 252, 0.6);
    border-radius: 15px;
    border: 1px solid rgba(224, 227, 243, 0.5);
    box-shadow: 0 8px 32px rgba(58, 61, 102, 0.08);
    box-sizing: border-box;
}

/* Each column */
.edit_org_left_inner {
    display: flex;
    flex-direction: column;
    flex: 1;
    /* equal width columns */
    gap: 15px;
}

/* Row: label + input */
.edit-top-row {
    display: flex;
    align-items: center;
    gap: 15px;
}

#address_dropdown {
    background: white;
    border: 1px solid #ccc;
    max-height: 200px;
    overflow-y: auto;
    z-index: 9999;
}

#address_dropdown .dropdown-item:hover {
    background: #f1f1f1;
}

#map {
    height: 350px;
    width: 100%;
    min-width: 300px;
    display: block;
    border-radius: 8px;
}

.vas-item-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4px;
}

.nav-item {
    /*background: linear-gradient(to bottom, #e9edf2, #cfd6df);*/
    /*background: transparent linear-gradient(180deg, #E8F1FD 0%, #E6F1FF 71%, #e7f2ff 78%, #a5b8d4 100%) 0% 0% no-repeat padding-box;*/
    background: transparent linear-gradient(180deg,
            #e9edf2 0%,
            #e2e7ed 71%,
            #d9e0e8 78%,
            #cfd6df 100%) 0% 0% no-repeat padding-box;
}

/* Navbar background */
.navbar {
    background: linear-gradient(to bottom, #e9edf2, #cfd6df);
    border-radius: 8px;
    padding: 6px 10px;
}

/* Nav links */
.navbar-nav .nav-link {
    color: #2c3e50;
    /*padding: 8px 14px;*/
    border-radius: 6px;
    /*margin-right: 5px;*/
    font-weight: 500;
    transition: 0.3s;
}

/* Hover */
.navbar-nav .nav-link:hover {
    /*background: #d6dde6;*/
    background: #6c6fa8;
    color: #ffffff;

}

/* Active tab */
.navbar-nav .nav-link.active {
    background: #5b6f88;
    color: #fff !important;
}

/* 🔥 Remove ALL spacing between menu items */
.navbar-nav {
    gap: 0 !important;
    margin: 0;
    padding: 0;
}

/* Remove spacing from li */
/*.navbar-nav .nav-item {
     margin: 0 !important;
    padding: 0 !important; 
}*/

.lg {
    margin-right: 10px;
}

/* Make items stick together */
.navbar-nav .nav-link {
    display: block;
    margin: 0 !important;
    border-radius: 0;
}

/* Remove Bootstrap dropdown arrow spacing issue */
.navbar-nav .dropdown-toggle::after {
    margin-left: 4px;
    /* reduce if needed */
}

/* 🔥 IMPORTANT: remove container side padding */
.container-fluid {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* Optional: remove navbar padding (for perfect edge alignment) */
.navbar {
    padding-left: 8px;
    padding-right: 0;
}



/* Dropdown */
.dropdown-menu {
    border-radius: 6px;
    padding: 8px;
    min-width: 220px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Dropdown items */
.dropdown-item {
    font-size: 14px;
    padding: 6px 10px;
    color: #333;
}

/* Hover */
.dropdown-item:hover {
    /*background: #f1f3f6;*/
    background: #d6dde6;
}

/* Checkbox spacing */
.form-check {
    padding-left: 30px;
    margin: 5px 0;
}

.summary-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    /* 6 columns */
    gap: 10px 20px;
}

.field {
    display: flex;
    flex-direction: column;
    font-size: 13px;
}

.field label {
    font-weight: 600;
    /* color: #555; */
    margin-bottom: 2px;
}

.field span {
    color: #000;
}

/* Grid layout */
.filter-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    /* 5 fields per row */
    gap: 12px 20px;
}

/* Each field */
.form-group {
    display: flex;
    flex-direction: column;
    font-size: 13px;
}

/* Inputs */
.form-group input,
.form-group select {
    height: 28px;
    padding: 4px 6px;
    font-size: 13px;
    border: 1px solid #ccc;
    border-radius: 4px;
    width:100%;
}

/* Responsive */
@media (max-width: 1200px) {
    .filter-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .filter-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.dropdown-menu li {
    position: relative;
}

.submenu {
    display: none;
    position: absolute;
    top: 0;
    left: 100%;
    background: #fff;
    min-width: 180px;
    padding: 5px 0;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    z-index: 9999;
}

.submenu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.submenu li {
    padding: 0;
}

.submenu .dropdown-item {
    padding: 8px 15px;
    white-space: nowrap;
}

#vehicletypes_tbl_wrapper {
    overflow-y: scroll;
}

.title-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #6c6fa8;
    color: #ecedf2;
    padding: 0 0.75rem;
    height: 2.5rem;
    font-size: 0.8125rem;
    font-weight: 500;
    position: relative;
    z-index: 100;
}

.left-title-bar {
    /* display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    color: #f8f9fc;
    font-size: 22px;
    vertical-align: middle; */
    font-size: 22px;
    vertical-align: middle;
}

.right-title-bar {
    /* display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    color: #f8f9fc; */
    font-size: 0.75rem;
    display: flex;
    gap: 1rem;
    align-items: center;
}

/* .left-title-bar img {
    height: 40px;
    width: 155px;
} */


.right-item {
    margin: 0px;
    padding: 0px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2px;
}

.right_input {
    font-size: 0.74rem;
    margin: 0px;
    padding: 0px;
    opacity: 0.8;
}

.right_value {
    font-size: 0.74rem;
    font-weight: bolder;
    margin: 0px;
    padding: 0px;
    opacity: 1;
    color: #ecedf2;
}


@media (max-width: 700px) {
    .hide-on-mobile {
        display: none;
    }
}

#iconimg 
{
    width: 304px;
    padding-top: 2px;
}

.filter_div1 {
    width: 100%;
    padding: 20px;
    background-color: #f1f2f7;
    display: flex;
    gap: 15px;
    flex-direction: column;
    border-radius: 15px;
    box-shadow: 0px 0px 3px #6c6fa814;
    
    height: 100%;
}

.filter-grid1 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* 5 fields per row */
    gap: 12px 20px;    
}

.filter-grid2 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    /* 5 fields per row */
    gap: 12px 20px;    
}

.common_tbl td {
  white-space: normal !important;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.field-row1 {
    display: flex;
    align-items: center;
    gap: 0.75rem;    
}

.btn-warning {
    background-color:rgb(222, 176, 38) !important;
    border-color: rgb(222, 176, 38) !important;
    color: #000 !important;
}

.party-type-box {
    border: 1px solid #6c6fa8;
    border-radius: 8px;
    padding: 10px 12px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 30px;
    width: 280px;
    background: #fff;
}
.party-type-checkbox {
    transform: scale(0.8);
    accent-color: #6c6fa8;
    cursor: pointer;
    margin-right: 6px;
    box-shadow: none !important; 
    border-color:none !important;
    outline:none;
}
.party-type-item {
    display: flex;
    align-items: center;
    font-size: 13px;
    color: #2a2d45;
    cursor: pointer;
}
.party-type-item input[type="checkbox"] {
    width: 14px;
    height: 14px;
    margin-right: 6px;
    accent-color: #6c6fa8;
    cursor: pointer;
}
.limit-box {
    border: 1px solid #e0e3f3;
    border-radius: 8px;
    padding: 10px;
    background: #fafbff;
}
.limit-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}
.limit-row input[type="checkbox"] {
    width: 14px;
    height: 14px;
    accent-color: #6c6fa8;
    cursor: pointer;
}
.limit-input,
.limit-select {
    width: 6rem !important;
    display: none;
    transition: all 0.2s ease;
}
.bp-tab-nav {
    display: flex;
    gap: 12px;
    padding: 10px;
    background: #f1f2f7;
    border-radius: 10px;
    list-style: none;
}
.bp-tab-nav .nav-item {
    margin: 0;
    background: #f1f2f7;
    padding: 3px;
    border-radius: 14px;
}
.bp-tab-nav .nav-link {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 22px;
    font-size: 14px;
    font-weight: 600;
    color: #6c6fa8;
    background: #fff;
    border: 2px solid #6c6fa8;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 120px;
    text-align: center;
    white-space: nowrap;
    outline: none;
    box-shadow: none;
    appearance: none;
    -webkit-appearance: none;
    background-clip: padding-box;
}
.bp-tab-nav .nav-link:hover {
    background: #e6e8f8;
    border-color: #6c6fa8;
    color: #6c6fa8;
    box-shadow: none;
}
.bp-tab-nav .nav-link.active {
    background: #6c6fa8;
    color: #fff;
    border-color: #6c6fa8;
    box-shadow: none;
}
.bp-tab-content .tab-pane {
    display: none;
    padding: 0;
}
.bp-tab-content .tab-pane.show.active {
    display: block;
}

.filter-grid3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px 20px;
}
