:root {
    --bs-blue: #0d6efd;
    --bs-indigo: #6610f2;
    --bs-purple: #6f42c1;
    --bs-pink: #d63384;
    --bs-red: #dc3545;
    --bs-orange: #fd7e14;
    --bs-yellow: #ffc107;
    --bs-green: #198754;
    --bs-teal: #20c997;
    --bs-cyan: #0dcaf0;
    --bs-black: #000;
    --bs-white: #fff;
    --bs-gray: #6c757d;
    --bs-gray-dark: #343a40;
    --bs-gray-100: #f8f9fa;
    --bs-gray-200: #e9ecef;
    --bs-gray-300: #dee2e6;
    --bs-gray-400: #ced4da;
    --bs-gray-500: #adb5bd;
    --bs-gray-600: #6c757d;
    --bs-gray-700: #495057;
    --bs-gray-800: #343a40;
    --bs-gray-900: #212529;
    --bs-primary: #6c5dd3;
    --bs-secondary: #ffa2c0;
    --bs-success: #46bcaa;
    --bs-info: #4d69fa;
    --bs-warning: #ffcf52;
    --bs-danger: #f35421;
    --bs-light: #e7eef8;
    --bs-dark: #1f2128;
    --bs-brand: #ffcd02;
    --bs-brand-two: #323232;
    --bs-transparent: transparent;
    --bs-storybook: #ff4785;
    --bs-primary-rgb: 108, 93, 211;
    --bs-secondary-rgb: 255, 162, 192;
    --bs-success-rgb: 70, 188, 170;
    --bs-info-rgb: 77, 105, 250;
    --bs-warning-rgb: 255, 207, 82;
    --bs-danger-rgb: 243, 84, 33;
    --bs-light-rgb: 231, 238, 248;
    --bs-dark-rgb: 31, 33, 40;
    --bs-brand-rgb: 255, 205, 2;
    --bs-brand-two-rgb: 50, 50, 50;
    --bs-transparent-rgb: 0, 0, 0;
    --bs-storybook-rgb: 255, 71, 133;
    --bs-primary-text-emphasis: rgb(43.2, 37.2, 84.4);
    --bs-secondary-text-emphasis: rgb(102, 64.8, 76.8);
    --bs-success-text-emphasis: rgb(28, 75.2, 68);
    --bs-info-text-emphasis: rgb(30.8, 42, 100);
    --bs-warning-text-emphasis: rgb(102, 82.8, 32.8);
    --bs-danger-text-emphasis: rgb(97.2, 33.6, 13.2);
    --bs-light-text-emphasis: #495057;
    --bs-dark-text-emphasis: #495057;
    --bs-primary-bg-subtle: rgb(225.6, 222.6, 246.2);
    --bs-secondary-bg-subtle: rgb(255, 236.4, 242.4);
    --bs-success-bg-subtle: rgb(218, 241.6, 238);
    --bs-info-bg-subtle: rgb(219.4, 225, 254);
    --bs-warning-bg-subtle: rgb(255, 245.4, 220.4);
    --bs-danger-bg-subtle: rgb(252.6, 220.8, 210.6);
    --bs-light-bg-subtle: rgb(251.5, 252, 252.5);
    --bs-dark-bg-subtle: #ced4da;
    --bs-primary-border-subtle: rgb(196.2, 190.2, 237.4);
    --bs-secondary-border-subtle: rgb(255, 217.8, 229.8);
    --bs-success-border-subtle: rgb(181, 228.2, 221);
    --bs-info-border-subtle: rgb(183.8, 195, 253);
    --bs-warning-border-subtle: rgb(255, 235.8, 185.8);
    --bs-danger-border-subtle: rgb(250.2, 186.6, 166.2);
    --bs-light-border-subtle: #e9ecef;
    --bs-dark-border-subtle: #adb5bd;
    --bs-white-rgb: 255, 255, 255;
    --bs-black-rgb: 0, 0, 0;
    --bs-font-sans-serif: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    --bs-font-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    --bs-gradient: linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0));
    --bs-gradient-blue: linear-gradient(90deg, #1860D6 0%, #10A3C7 100%);
    --bs-root-font-size: 0.8125rem;
    --bs-body-font-family: "Poppins", var(--bs-font-sans-serif);
    --bs-body-font-size: 1rem;
    --bs-body-font-weight: 400;
    --bs-body-line-height: 1.5;
    --bs-body-color: #323232;
    --bs-body-color-rgb: 50, 50, 50;
    --bs-body-bg: #fff;
    --bs-table-color: #323232;
    --bs-table-border-color: #dee2e680;
    --bs-body-bg-rgb: 255, 255, 255;
    --bs-emphasis-color: #000;
    --bs-emphasis-color-rgb: 0, 0, 0;
    --bs-secondary-color: rgba(50, 50, 50, 0.75);
    --bs-secondary-color-rgb: 50, 50, 50;
    --bs-secondary-bg: #e9ecef;
    --bs-secondary-bg-rgb: 233, 236, 239;
    --bs-tertiary-color: rgba(50, 50, 50, 0.5);
    --bs-tertiary-color-rgb: 50, 50, 50;
    --bs-tertiary-bg: #f8f9fa;
    --bs-tertiary-bg-rgb: 248, 249, 250;
    --bs-heading-color: inherit;
    --bs-link-color: #6c5dd3;
    --bs-link-color-rgb: 108, 93, 211;
    --bs-link-decoration: underline;
    --bs-link-hover-color: rgb(86.4, 74.4, 168.8);
    --bs-link-hover-color-rgb: 86, 74, 169;
    --bs-code-color: #d63384;
    --bs-highlight-color: #323232;
    --bs-highlight-bg: rgb(255, 242.6, 205.4);
    --bs-border-width: 1px;
    --bs-border-style: solid;
    --bs-border-color: #dee2e6;
    --bs-border-color-translucent: rgba(0, 0, 0, 0.175);
    --bs-border-radius: 1rem;
    --bs-border-radius-sm: 0.875rem;
    --bs-border-radius-lg: 1.25rem;
    --bs-border-radius-xl: 1rem;
    --bs-border-radius-xxl: 2rem;
    --bs-border-radius-2xl: var(--bs-border-radius-xxl);
    --bs-border-radius-pill: 50rem;
    --bs-box-shadow: 0 1.6rem 3rem rgba(0, 0, 0, 0.1);
    --bs-box-shadow-sm: 0 0.8rem 3rem rgba(0, 0, 0, 0.075);
    --bs-box-shadow-lg: 0 1.6rem 3rem rgba(0, 0, 0, 0.175);
    --bs-box-shadow-inset: inset 0 1px 2px rgba(0, 0, 0, 0.075);
    --bs-focus-ring-width: 0.25rem;
    --bs-focus-ring-opacity: 0.25;
    --bs-focus-ring-color: rgba(108, 93, 211, 0.25);
    --bs-form-valid-color: #46bcaa;
    --bs-form-valid-border-color: #46bcaa;
    --bs-form-invalid-color: #f35421;
    --bs-form-invalid-border-color: #f35421;
    --bs-btn-hover-bg: #e7eef8;
    --bs-btn-hover-bg: #e7eef8;
    --bs-header: rgba(255, 255, 255, 0.9);
}

.dark-theme {
    --bs-body-bg: #000;
    --bs-body-color: #5c5c5c;
    --bs-header: rgb(109 109 109 / 50%);
    --bs-box-shadow: 0 1.6rem 3rem rgb(176 157 157 / 16%)
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--bs-font-sans-serif);
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-variation-settings: "wdth" 100;
    line-height: var(--bs-body-line-height);
    color: var(--bs-body-color);
    background-color: var(--bs-body-bg);
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

img,
svg {
    vertical-align: middle;
}

.main-container {
    display: flex;
    flex: 1 0 auto;
    flex-direction: column;
}

.aside.open,
.aside:hover {
    width: 15rem;
}

.aside:hover .nav-link {
    font-size: 13px;
}

.aside:hover h6 {
    font-size: 14px;
}

.aside:not(.open):hover {
    -webkit-backdrop-filter: blur(0.3rem);
    backdrop-filter: blur(0.3rem);
    will-change: backdrop-filter;
    background-color: rgba(5.4, 4.65, 10.55, 0.6);
}

.hide-logo {
    display: none !important;
}

.aside {
    position: fixed;
    z-index: 1035;
    top: 0;
    bottom: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    border-right: 0 solid rgb(5.4, 4.65, 10.55);
    background-color: rgb(5.4, 4.65, 10.55);
    color: var(--bs-white);
    transition: all 0.2s ease-in-out;
    overflow: hidden;
    overflow-y: auto;
    width: 70px;
}

.aside-head {
    padding: 0 0.75rem;
    position: sticky;
    top: 0;
    background-color: rgb(5 5 1 / 76%);
}

.brand {
    display: flex;
    height: 5rem;
    align-items: center;
    justify-content: space-between;
    color: var(--bs-white);
}

.brand-title {
    margin: 0;
    background-color: transparent;
    color: var(--bs-white);
    font-weight: 900;
}

.brand-title {
    font-size: calc(1.275rem + 0.3vw);
}

.brand-title a {
    background-color: inherit;
    color: inherit;
    text-decoration: none;
}

.brand-aside-toggle {
    padding: 0.5rem 0.3rem;
    border-radius: 2rem;
    cursor: pointer;
    line-height: 0;
    color: var(--bs-white);
    transform: rotate(270deg);
    background-color: #474747 !important;
    font-size: 1rem;
}

.brand-aside-toggle i {
    color: #fff;
}


.aside.open .brand-aside-toggle {
    transform: rotate(90deg);
}

.brand-aside-toggle:hover {
    color: var(--bs-white);
    background-color: #171616;
}

.aside .nav-link {
    color: #ddd;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    font-size: 0px;
    border-radius: 10px;
    transition: all 0.3s;
}

.aside.open .nav-link {
    font-size: 13px;
}

.aside .nav-link i {
    margin-right: 12px;
    font-size: 18px;
}

.aside:not(.open) .nav-link i {
    margin-right: 0px;
}

.aside:not(.open) .nav-link i.fa-chevron-down {
    font-size: 0px !important;
}

.aside:hover .nav-link i.fa-chevron-down {
    font-size: 13px !important;
}

.aside:hover .nav-link i {
    margin-right: 12px;
}

.aside .nav-link:hover,
.aside .nav-link.active {
    background-color: #1f1f1f;
    color: var(--bs-white);
}


.aside h6 {
    font-size: 0px;
    text-transform: uppercase;
    color: #aaa;
    margin: 20px 20px 10px;
}

.aside .logo-img {
    width: 0;
}

.aside:hover .logo-img {
    width: auto;
}

.aside.open .logo-img {
    width: auto;
}

.aside.open h6 {
    font-size: 13px;
}

.submenu .nav-link {
    padding-left: 45px;
    /* font-size: 14px; */
}

.aside-body i {
    font-size: 15px !important;
}

/* Chrome, Edge, Safari */
.aside::-webkit-scrollbar {
    width: 6px;
    padding: 8px;
    margin: 10px;
    /* thin scrollbar */
}

.aside::-webkit-scrollbar-track {
    background: #0d0d0d;
    border-radius: 8px;
    /* aside background */
}

.aside::-webkit-scrollbar-thumb {
    background-color: #444;
    /* scrollbar thumb color */
    border-radius: 10px;
}

.aside::-webkit-scrollbar-thumb:hover {
    background-color: #666;
    /* hover effect */
}

/* Header CSS */

.main-container .header,
.main-content {
    margin: 1rem calc(1.275rem + 0.3vw);
    border-radius: 1rem;
    box-shadow: var(--bs-box-shadow);
    transition: 0.3s ease-in-out;
}

.main-content {
    border-radius: 1rem;
    box-shadow: var(--bs-box-shadow);
}

.header {
    position: sticky;
    z-index: 1020;
    top: 0;
    display: flex;
    min-height: 5rem;
    align-items: center;
    border-bottom: 0 solid #f8f9fa;
    background-color: var(--bs-header);
    color: #808191;
}

.header-icon {
    padding: 0.4rem;
    width: 35px;
    height: 35px;
    /* color: var(--bs-btn-hover-color);
    background-color: var(--bs-btn-hover-bg); */
    text-align: center;
    vertical-align: middle;
    border-radius: 12px;
    box-shadow: var(--bs-box-shadow) !important;
    cursor: pointer;
}

.header-icon:hover {
    background-color: #d6e4f7;
}

.header-icon:nth-child(1) {
    background-color: #F0B898;
    color: var(--bs-black);
}

.header-icon:nth-child(2) {
    background-color: #98CBF0;
    ;
    color: var(--bs-black);
}

.user-icon-bg {
    background-color: #C5C4FF;
    color: var(--bs-black);
    padding: 0.4rem;
    width: 35px;
    height: 35px;
    /* color: var(--bs-btn-hover-color);
    background-color: var(--bs-btn-hover-bg); */
    text-align: center;
    vertical-align: middle;
    border-radius: 12px;
    box-shadow: var(--bs-box-shadow) !important;
    cursor: pointer;
}

.action-icon-btn {
    background-color: #2261a2;
    color: #e4f0fc;
}

.action-icon-btn:hover {
    background-color: #0b3966;
    color: #e4f0fc;
}

.user-icon {
    /* font-size: 1.8rem; */
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.aside .brand-title {
    display: none;
}

.aside.open .brand-title {
    display: block;
}

.user-dropdown .dropdown-menu {
    border-radius: 12px;
    backdrop-filter: blur(2px);
    box-shadow: var(--bs-box-shadow);
    background-color: var(--bs-btn-hover-bg);
    border: none;
}

/* Dashboard CSS */

.dash-icon {
    width: 30px;
}

.dash-cards {
    padding: 12px;
    align-items: flex-start;
    gap: 11px;
    border-radius: 18px;
    background: #FFF;
    box-shadow: 0 0 27px 0 rgba(0, 0, 0, 0.09);
    border: none;
    position: relative;
    overflow: hidden;
}

.dash-cards .circle {
    position: absolute;
    right: -100px;
    top: -136px;
    margin: auto;
    width: 200px;
    height: 200px;
    box-shadow: 5px 5px 60px rgb(235, 235, 235), -5px -5px 60px rgb(237, 237, 237);
    transition: 0.3s ease-in-out;
    border-radius: 100%;
    opacity: 0.35;
    background: linear-gradient(56deg, rgba(13, 231, 231, 0.20) 13.47%, rgba(25, 98, 214, 0.20) 121.2%);
}

.dash-cards:hover {
    background: linear-gradient(253deg, #E8FFF9 4.32%, #FFE9FF 92.08%);
}

.dash-cards:hover .circle {
    width: 230px;
    height: 230px;
    background: linear-gradient(56deg, rgba(13, 231, 231, 0.70) 13.47%, rgba(25, 98, 214, 0.70) 121.2%);
}

.col-md-3:nth-of-type(2) .dash-cards .circle,
.col-md-3:nth-of-type(5) .dash-cards .circle,
.col-md-3:nth-of-type(8) .dash-cards .circle {
    background: linear-gradient(56deg, rgba(170, 0, 255, 0.20) 13.47%, rgba(25, 98, 214, 0.20) 121.2%);
}

.col-md-3:nth-of-type(2):hover .dash-cards .circle,
.col-md-3:nth-of-type(5):hover .dash-cards .circle,
.col-md-3:nth-of-type(8):hover .dash-cards .circle {
    background: linear-gradient(56deg, rgba(170, 0, 255, 0.20) 13.47%, rgba(25, 98, 214, 0.20) 121.2%);
}

.col-md-3:nth-of-type(3) .dash-cards .circle,
.col-md-3:nth-of-type(6) .dash-cards .circle,
.col-md-3:nth-of-type(9) .dash-cards .circle {
    background: linear-gradient(56deg, rgba(255, 149, 0, 0.20) 13.47%, rgba(25, 98, 214, 0.20) 121.2%);
}

.col-md-3:nth-of-type(3):hover .dash-cards .circle,
.col-md-3:nth-of-type(6):hover .dash-cards .circle,
.col-md-3:nth-of-type(9):hover .dash-cards .circle {
    background: linear-gradient(56deg, rgba(255, 149, 0, 0.40) 13.47%, rgba(25, 98, 214, 0.40) 121.2%);
}

.col-md-3:nth-of-type(4) .dash-cards .circle,
.col-md-3:nth-of-type(7) .dash-cards .circle,
.col-md-3:nth-of-type(10) .dash-cards .circle {
    background: linear-gradient(56deg, rgba(0, 255, 81, 0.20) 13.47%, rgba(25, 98, 214, 0.20) 121.2%);
}

.col-md-3:nth-of-type(4):hover .dash-cards .circle,
.col-md-3:nth-of-type(7):hover .dash-cards .circle,
.col-md-3:nth-of-type(10):hover .dash-cards .circle {
    background: linear-gradient(56deg, rgba(0, 255, 81, 0.40) 13.47%, rgba(25, 98, 214, 0.40) 121.2%);
}


.dash-stat {
    color: var(--bs-black);
    font-size: 16px;
    font-style: normal;
    font-weight: 900;
    line-height: normal;
}

.dash-title {
    color: var(--bs-black);
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

/* Main Content */
.content-card {
    border-radius: 22px;
    background: var(--bs-white);
    box-shadow: var(--bs-box-shadow);
    display: flex;
    padding: 20px 17px;
    flex-direction: column;
    gap: 10px;
}

.card-bg-primary {
    border-radius: 8px;
    border: 1px solid #A2E0FF;
    background: #EDF9FF;
    font-size: 14px;
}

.card-bg-pink {
    border: 1px solid #FEC6FF;
    background: #FFF6FF;
}

.card-title {
    color: var(--bs-black);
    font-size: 1rem;
    font-style: normal;
    font-weight: 900;
}

.latest-updates {
    color: #06B6D4;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.custom-accordion {
    background: #f4f9fd;
    border-radius: 12px;
    margin: 16px 0;
    border: none;
}

.custom-accordion .accordion-item {
    border: none;
    border-radius: 12px;
}

.custom-accordion .accordion-button {
    background: var(--bs-white);
    border-radius: 12px !important;
    box-shadow: 0 1px 6px rgba(52, 52, 52, 0.06);
    padding: 18px 24px;
    color: var(--bs-black);
    font-size: 1.15rem;
    transition: background 0.2s;
}

.custom-accordion .accordion-button:not(.collapsed) {
    background: var(--bs-gradient-blue);
    color: var(--bs-white);
}

.custom-accordion .accordion-button::after {
    transform: rotate(-90deg);
}

.custom-accordion .accordion-button:not(.collapsed)::after {
    transform: rotate(0deg);
}

.custom-title {
    font-size: 1.05rem;
    font-weight: 600;
}

.custom-desc {
    font-size: 0.8rem;
}

.custom-badge {
    background: #ffe5aa;
    color: #222;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
}

.custom-accordion .body-title {
    border-radius: 8px;
    border: 1px solid #D3E5FB;
    background: linear-gradient(90deg, #C6F0E2 0.48%, #D4E4FD 100%);
    padding: 10px;
    font-weight: 500;
}

.apply-btn {
    border-radius: 8px;
    border: 1px solid #FFF;
    background: linear-gradient(90deg, #C71010 0%, #6E18D6 100%);
    color: var(--bs-white);
    font-size: 12px;
    padding: 6px 8px;
}

.notification-alert {
    display: flex;
    padding: 10px;
    justify-content: center;
    align-items: flex-start;
    gap: 10px;
    border-radius: 8px;
}

.notification-primary {
    border-left: 2px solid #0E7081;
    background: #EBF8FF;
    color: #0E7081;
}

.notification-warning {
    border-left: 2px solid #D27F0A;
    background: #FFFAEB;
    color: #D27F0A;
}

/* Custom Table */
.table {
    border-collapse: collapse;
    caption-side: bottom;
    vertical-align: top;
    width: 100%;
    border-color: var(--bs-table-border-color);
    color: var(--bs-table-color);
    box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
}

.table>thead {
    vertical-align: bottom;
    white-space: nowrap;
}

.table thead th {
    font-weight: 500;
}

tbody,
td,
tfoot,
th,
thead,
tr {
    border: 0 solid;
    border-color: inherit;
}

.table-modern>thead>tr>* {
    color: var(--bs-brand-two);
    /* background-color: rgba(0, 0, 0, 0.038); */
}

.table-modern>tbody>tr:nth-of-type(2n)>*,
.table-striped-columns>:not(caption)>tr>:nth-child(2n),
.table-striped>tbody>tr:nth-of-type(2n)>* {
    color: var(--bs-brand-two);
    /* background-color: rgba(0, 0, 0, 0.038); */
}

.table-hover>tbody>tr:hover>* {
    color: var(--bs-brand-two);
    background-color: rgba(0, 0, 0, 0.05);
}

.page-link {
    background-color: var(--bs-gray-300);
    color: #000;
}

.page-item:first-child .page-link {
    border-top-left-radius: 1.25rem;
    border-bottom-left-radius: 1.25rem;
}

.page-item:last-child .page-link {
    border-top-right-radius: 1.25rem;
    border-bottom-right-radius: 1.25rem;
}

.page-item.active .page-link {
    background-color: var(--bs-primary);
    border-color: var(--bs-primary);
    color: var(--bs-white);
}

.page-item.disabled .page-link {
    background-color: var(--bs-gray-200);
    color: var(--bs-gray-500);
}

.page-link:focus {
    box-shadow: none;
}

/* Scruity page css */
.scruitny-header {
    border-radius: 12px;
    background: #0D527A;
    box-shadow: 0 1px 27px 0 rgba(0, 0, 0, 0.09);
}

.scruitny-footer {
    border-radius: 8px;
    background: #FFF;
    box-shadow: -1px 7px 13px 5px rgb(190 190 190);
    padding: 1rem;
    position: sticky;
    bottom: 0;
}

.circle-after.active {
    height: 4px;
    width: 40px;
    background: #007bff;
    border-radius: 4px;
}

.text-small {
    font-size: 0.75rem;
}

.btn {
    border-radius: 8px;
}

.btn-primary {
    background: #2563EB;
    color: #fff;
}

.btn-outline {
    border: 1px solid #607A9F;
    background: #FFF;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="date"],
textarea,
select {
    width: 100% !important;
    padding: 8px 12px !important;
    border: 1.5px solid #d7e3ec !important;
    border-radius: 12px !important;
    background: #f7fafc;
    color: #1a202c !important;
    font-size: 1rem !important;
    font-family: inherit;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s !important;
    outline: none;
    box-shadow: 0 2px 6px rgba(41, 128, 185, 0.07) !important;
}

input:focus,
textarea:focus {
    border-color: #009efd !important;
    /* background: #fff !important; */
    box-shadow: 0 0 0 3px rgba(0, 158, 253, 0.13) !important;
}

input[disabled],
textarea[disabled] {
    /* background: #ececec !important; */
    /* color: #a2a2a2 !important; */
}

.readonly-select {
    pointer-events: none;
    background-color: #d3d3d3 !important;
    cursor: default;
}

.card-header {
    border-radius: 7px;
    background: #1384C5 !important;
    color: #fff !important;
    font-weight: 600;
}

.custom-sidebar-card {
    display: flex;
    flex-direction: column;
    position: relative;
    /* padding: 8px; */
}

.warning-header {
    border-radius: 8px !important;
    background: #FFD587 !important;
    padding-top: 15px;
}

.warning-body {
    border: 1px solid #FFD587;
    transform: translateY(-10px);
}

.primary-header {
    border-radius: 8px;
    background: #C6DBF2;
    padding-top: 15px;
}

.primary-body {
    border: 1px solid #C6DBF2;
    transform: translateY(-10px);
}

.text-list-group {
    /* border-radius: 12px; */
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(41, 128, 185, 0.07);
}

.text-list-group .list-group-item {
    border: none;
    padding: 6px 12px;
    font-size: 0.8rem;
    background: #f7fafc;
    color: #222931;
    transition: background 0.16s, color 0.16s;
}

.text-list-group .list-group-item:hover {
    background: #e6f3fd;
    color: #1976d2;
    cursor: pointer;
}

.check-form {
    margin: 30px;
    font-family: 'Segoe UI', Arial, sans-serif;
}

.radio-group {
    display: flex;
    gap: 12px;
    margin-top: 6px;
}

.custom-radio {
    display: flex;
    align-items: center;
    font-size: 0.75rem;
    cursor: pointer;
    font-weight: 500;
    color: #24292f;
}

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

.radio-icon {
    width: 18px;
    height: 18px;
    display: inline-block;
    border: 2px solid #444;
    border-radius: 50%;
    margin-right: 10px;
    position: relative;
    background: #fff;
    transition: border-color .16s;
}

.custom-radio input[type="radio"]:checked+.radio-icon {
    border-color: #38c93a;
    background: #fff;
}

.custom-radio input[type="radio"]:checked+.radio-icon::after {
    content: '';
    display: block;
    width: 18px;
    height: 18px;
    background: #38c93a;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.custom-radio input[type="radio"]:not(:checked)+.radio-icon::after {
    content: '';
    width: 14px;
    height: 14px;
    background: #fff;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.custom-select,
.custom-input {
    border-radius: 8px;
    font-size: 1.02rem;
    padding: 12px;
    border: 1.5px solid #d7e3ec;
    background: #fafbfc;
    color: #7c8390;
    transition: border-color 0.2s, background 0.18s;
}

.custom-select:focus,
.custom-input:focus {
    border-color: #009efd;
    background: #fff;
    color: #23293b;
}

.comp-table thead {
    border-bottom: 1px solid #E0F2FE;
    background: #F0F9FF;
    border-radius: 10px 0px 10px 0px;
}

.auth-title {
    background: linear-gradient(90deg, #3E7BFF 0%, #4CD4FF 100%);
    color: #fff;
    padding: 10px 20px;
    border-radius: 4px;
}

.table-title {
    font-weight: 600;
    color: #1e2a3a;
    margin-bottom: 12px;
}

.auth-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
}

.auth-table thead th {
    background: #eef7ff;
    color: #0b5ed7;
    font-size: 14px;
    font-weight: 600;
    text-align: left;
    padding: 14px 16px;
    border-bottom: 1px solid #e2e8f0;
}

.auth-table tbody td {
    padding: 14px 16px;
    font-size: 14px;
    color: #334155;
    vertical-align: top;
    border-bottom: 1px solid #f1f5f9;
}

.auth-table tbody tr:last-child td {
    border-bottom: none;
}

.auth-table tbody td:first-child {
    font-weight: 600;
    color: #0f172a;
    width: 18%;
}

.auth-table ul {
    padding-left: 18px;
    margin: 6px 0 0;
}

.auth-table ul li {
    margin-bottom: 4px;
    font-size: 13.5px;
    color: #475569;
}


.form-label {
    font-weight: 500;
    margin-bottom: 6px;
    color: #353c47;
}

.custom-list li {
    background-color: #f7fcff;
    border-radius: 4px;
    padding: 4px;
}

.custom-list li:hover {
    background-color: #ecf8ff;
}

.fee-card {
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: #f6f6f6;
    width: 100%;
    padding: 10px;
    height: 100%;
    border-radius: 8px;
}

.title-text {
    background: linear-gradient(271deg, #0F8BAA 0.18%, #0E51C0 99.78%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.c-label {
    color: #000;
    font-weight: 600;
}

.c-value {
    border-radius: 8px;
    /* border: 1px solid #D6D7D7; */
    background: #f8fdff;
    display: flex;
    padding: 6px;
    align-items: center;
}

.pageSelector {
    max-width: 70px;
}

.step-content {
    padding-bottom: 4px;
}

.step-content.active {
    border-bottom: 2px solid #007bff;
    color: #007bff;
    font-weight: 600;
}

.collapse-sidebar {
    transform: rotate(90deg);
    cursor: pointer;
}

.step-content .col-md-8 {
    transition: 0.3s ease-in-out;
}

.scrutiny-icon-collapse {
    cursor: pointer;
}

.expanded-row>.col-md-8 {
    width: 90% !important;
}

.expanded-row>.col-md-4 {
    width: 10% !important;
}

.expanded-row .custom-sidebar-card {
    display: none;
}

.expanded-row .scrutiny-icon-collapse {
    display: flex !important;
}

.service-box {
    background: #fff;
    border: 1px solid #d9e3ef;
    border-radius: 10px;
    padding: 18px 25px;
    margin-bottom: 18px;
}

.service-title {
    font-size: 1.1rem;
    font-weight: 500;
    color: #1f2937;
}

.service-number {
    color: #f97316;
    font-weight: 600;
    margin-right: 8px;
}

.telecom-card {
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    min-height: 350px;
    height: 100%;
}

/* Position Owl Carousel Nav Arrows */
.telecom-carousel .owl-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    transform: translateY(-50%);
    pointer-events: none;
    /* allows clicking only on buttons */
}

/* Make owl stage a flex container */
.telecom-carousel .owl-stage {
    display: flex;
}

/* Make each slide stretch equally */
.telecom-carousel .owl-item {
    display: flex;
}

/* Make card take full height */
.telecom-carousel .telecom-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.telecom-carousel .owl-nav button {
    position: absolute;
    background: #ffffff00 !important;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.15);
    pointer-events: all;
    /* re-enable clicking */
}

.telecom-carousel .owl-stage {
    padding: 10px 0px;
}

.telecom-carousel .owl-nav .owl-prev {
    left: -25px;
    /* move left arrow outside */
}

.telecom-carousel .owl-nav .owl-next {
    right: -25px;
    /* move right arrow outside */
}

/* Icons inside */
.telecom-carousel .owl-nav button i {
    font-size: 18px;
    color: #444;
}


.icon-box {
    width: 35px;
    min-width: 35px;
    height: 35px;
    border-radius: 14px;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
}

.count-badge {
    background: #e8f1ff;
    color: #3579f6;
    padding: 5px 12px;
    border-radius: 20px;
    font-weight: 600;
}

.service-list {
    list-style: none;
    padding-left: 0;
}

.service-list li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    font-size: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.service-list li span {
    background: #eaf2ff;
    padding: 2px 10px;
    border-radius: 15px;
    font-size: 14px;
    color: #2d6cdf;
}

/* ===== Card ===== */
.ui-card {
    height: 350px;
    /* Fixed height avoids layout jitter */
    overflow-y: auto;
    /* Scroll only when required */
    overflow-x: hidden;
    background-color: #ffffff;
    border-radius: 14px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.05);
    padding: 16px;
    box-sizing: border-box;
    /* Ensures padding doesn’t break layout */
}

.green-sheet {
    background: #cbe9bf;
}

/* ===== Section Header ===== */
.section-header {
    /* display: flex; */
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}

.section-title {
    font-weight: 600;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.stage-badge {
    font-size: 10px;
    padding: 4px 10px;
    border-radius: 20px;
    background: #e7f3ff;
    color: #2563eb;
}

/* ===== Notes ===== */
.note-item {
    position: relative;
    padding: 12px 14px 12px 22px;
    border-radius: 10px;
    background: #ffffff;
    margin-bottom: 10px;
}

.note-item::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 12px;
    bottom: 12px;
    width: 3px;
    border-radius: 2px;
    background: #3b82f6;
}

.note-user {
    font-size: 13px;
    font-weight: 600;
}

.note-meta {
    font-size: 11px;
    color: #6b7280;
}

.note-text {
    font-size: 12px;
    color: #374151;
}

/* ===== Editor ===== */
.editor textarea {
    resize: none;
    border-radius: 10px;
    font-size: 13px;
}

.editor-tools {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 8px;
    flex-wrap: wrap;
    gap: 4px;
}


/* ===== Details ===== */
.detail-label {
    font-size: 10px;
    text-transform: uppercase;
    color: #9ca3af;
    margin-bottom: 2px;
}

.detail-value {
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 12px;
}

/* ===== Documents ===== */
.doc-table th {
    font-size: 11px;
    color: #6b7280;
}

.doc-table td {
    font-size: 13px;
}

.badge-accepted {
    background: #e6fbf4;
    color: #059669;
    font-size: 11px;
    border-radius: 20px;
    padding: 4px 10px;
}

/* Base wrapper */
/* Base wrapper: A slightly darker background for contrast */
.custom-tabs {
    border-bottom: none;
    gap: 8px;
    padding: 10px;
    background: #eef2f6;
    /* Soft, light blue-grey background */
    border-radius: 12px;
    display: inline-flex;
    flex-wrap: nowrap;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    /* Subtle container shadow */
}

/* Tab item: Clean, minimalist base state */
.custom-tabs .nav-link {
    border: none;
    border-radius: 10px;
    /* Rounded pill shape */
    padding: 10px 20px;
    font-size: 0.9rem;
    /* Slightly smaller, professional font size */
    font-weight: 500;
    color: #64748b;
    /* Muted text color */
    background: transparent;
    transition: all 0.3s ease-out;
    position: relative;
    text-decoration: none;
    /* Ensure link style is clean */
    cursor: pointer;
}

/* Hover effect: Subtle lift and color change */
.custom-tabs .nav-link:hover {
    background: #ffffff;
    /* White background on hover */
    color: #1e3a8a;
    /* Darker blue on hover */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Active tab: The focal point with elevation and vibrant color */
.custom-tabs .nav-link.active {
    /* background: #ffffff; 
    color: #0d6efd;  */
    background: #0c4d69;
    background: linear-gradient(90deg, rgba(12, 77, 105, 1) 0%, rgba(38, 38, 32, 1) 100%);
    color: #fff !important;
    font-weight: 600;
    /* Stronger shadow for elevation */
    box-shadow: 0 4px 20px rgba(13, 110, 253, 0.15),
        0 2px 5px rgba(0, 0, 0, 0.05);
    transform: translateY(-1px);
    /* Slight lift effect */
}

/* Hide the old bottom indicator for a cleaner look */
.custom-tabs .nav-link.active::after {
    display: none;
}

/* Remove your JavaScript resize listener entirely and use this CSS */
.iframe-container {
    position: relative;
    width: 100%;
    /* height: 400px; Set a strict, reasonable fixed height fallback */
}

.seamless-iframe {
    width: 100%;
    height: 400px;
    border: none;
}


/* Apply the custom styles to the container or the iframe */
.iframe-container,
.seamless-iframe {
    /* Firefox: Options are 'auto', 'thin', or 'none' */
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 0, 0, 0.3) transparent;
    /* Dark translucent thumb | hidden track */
}

/* Chrome, Edge, Safari, and iOS */
.iframe-container::-webkit-scrollbar,
.seamless-iframe::-webkit-scrollbar {
    width: 4px;
    /* Very thin vertical scrollbar */
    height: 4px;
    /* Very thin horizontal scrollbar */
}

.iframe-container::-webkit-scrollbar-track,
.seamless-iframe::-webkit-scrollbar-track {
    background: transparent;
    /* Makes the background invisible for a cleaner look */
}

.iframe-container::-webkit-scrollbar-thumb,
.seamless-iframe::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.2);
    /* Translucent thumb */
    border-radius: 10px;
    /* Smooth rounded pill shape */
    transition: background-color 0.2s ease;
}

.iframe-container::-webkit-scrollbar-thumb:hover,
.seamless-iframe::-webkit-scrollbar-thumb:hover {
    background-color: rgba(0, 0, 0, 0.5);
    /* Darkens slightly on hover for usability */
}


.btn-modern {
    position: relative;
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 500;
    border-radius: 6px;
    text-decoration: none;
    color: #ffffff;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.btn-modern:hover {
    transform: translateY(-1px);
    opacity: 0.95;
    color: #000;
}

.btn-gradient-vibrant {
    background: linear-gradient(135deg, #2baee2, #4a00e0);
    box-shadow: 0 4px 12px rgba(74, 0, 224, 0.2);
}

.btn-gradient-vibrant-v2 {
    background: linear-gradient(90deg, rgba(12, 77, 105, 1) 0%, rgba(38, 38, 32, 1) 100%);
}

.btn-gradient-vibrant-v2:hover {
    color: #ffffff;
}

sup {
    /* Reset and baseline alignment */
    font-size: 0.75em;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
    top: -0.5em;
    color: #0066cc;
    cursor: pointer;
    font-weight: 600;
    padding: 1px 2px;
    border-radius: 3px;
    transition: all 0.2s ease-in-out;
}

/* Hover and focus interactive states */
sup:hover,
sup:focus {
    color: #004499;
    background-color: #e6f2ff;
    text-decoration: underline;
}


/* Responsive scrolling (Kept for usability) */
@media (max-width: 768px) {
    .custom-tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
        display: flex;
        -webkit-overflow-scrolling: touch;
    }

    .custom-tabs::-webkit-scrollbar {
        display: none;
        /* Hide scrollbar for clean mobile look */
    }

    .custom-tabs .nav-link {
        white-space: nowrap;
    }
}




@media (min-width: 992px) {
    .main-container .aside {
        margin: 1rem;
        border-radius: 1rem;
        box-shadow: var(--bs-box-shadow);
    }

    .main-container .aside~.wrapper {
        padding-left: 16rem;
    }

    .main-container .aside:not(.open)+.wrapper {
        padding-left: 5.5rem;
    }

}

@media (max-width: 767px) {
    .aside {
        width: 0;
    }

    .main-container .header,
    .main-content {
        margin: 0;
        margin-bottom: 10px;
    }

    .accordion-button {
        padding: 12px;
        font-size: 1rem;
    }

    .custom-title {
        font-size: 1rem;
    }

    .custom-desc {
        font-size: 0.9rem;
    }

    .custom-badge {
        width: 32px;
        height: 32px;
        font-size: 1rem;
    }
}

@media (min-width: 1200px) {
    .brand-title {
        font-size: 1.5rem;
    }
}