.btn-primary {
    --bs-btn-color: #fff;
    --bs-btn-bg: #073f41 !important;
    --bs-btn-border-color: #073f41 !important;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #073f41 !important;
    --bs-btn-hover-border-color: #073f41 !important;
    --bs-btn-focus-shadow-rgb: 49, 132, 253;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #073f41 !important;
    --bs-btn-active-border-color: var(--primary-color);
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: #073f41 !important;
    --bs-btn-disabled-border-color: #073f41 !important;
}

.btn-secondary {
    --bs-btn-color: #fff;
    --bs-btn-bg: #ff6525 !important;
    --bs-btn-border-color: #ff6525 !important;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #ff6525 !important;
    --bs-btn-hover-border-color: #ff6525 !important;
    --bs-btn-focus-shadow-rgb: 130, 138, 145;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #ff6525 !important;
    --bs-btn-active-border-color: #ff6525 !important;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: #ff6525 !important;
    --bs-btn-disabled-border-color: #ff6525 !important;

}

:root {
    --primary-color: #034c4f;
    --primary-dark: #073f41;
    --adjacent-color: #b7b71c;
    --text-gray: #808080;
    --background-color: #f8f9fa;
    --text-color: #333;
    --text-muted: #808080;
    --border-color: #E0E0E0;
    --paid-color: #28a745;
    --pending-color: #fd7e14;
    --confirmed-bg: #EAF7ED;
    --confirmed-text: #28a745;
    --lead-bg: #FFF4E5;
    --lead-text: #FFA500;
    --white-color: #FFFFFF;
    --light-gray: #F8F9FA;
    --hover-color: #3b5e5f;

    /* SmartWizard specific colors */
    --wizard-border: #B7B71B;
    --wizard-inactive-bg: #f5f5f5;
    --wizard-inactive-text: #808080;
    --wizard-inactive-border: #ddd;
    --wizard-active-bg: #073f41;
    --wizard-active-text: #ffffff;
    --wizard-done-bg: #B7B71B;
    --wizard-done-text: #ffffff;
    --wizard-hover-bg: #0a5457;
    --wizard-disabled-bg: #cccccc;
    --wizard-disabled-opacity: 0.6;
    --adjacent-hover: #9c9c17;
}


body {
    background: #ffffff;
    font-family: "Roboto", sans-serif !important;
    margin: 0;
    font-size: 16px !important;
    overflow-x: hidden;
}

h2 {
    font-size: 30px !important;
    margin-bottom: 20px !important;
}

.login-card {
    width: 25%;
    background: #fff;
    border-radius: 15px;
    padding: 35px 30px;
    border: 0px solid #073f41;
    box-shadow: 0 0 10px rgb(7 63 65);
    margin: auto;
    display: block;
}

.login-card h3 {
    font-weight: 700;
    text-align: center;
    margin-bottom: 25px;
}



.icon-wrapper {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    color: #b9b9b9;
}

.input-group-custom {
    position: relative;
}

.btn-login {
    background: #073f41;
    border: none;
    border-radius: 10px;
    height: 48px;
    width: 100%;
    font-size: 17px;
    font-weight: 600;
    color: #fff;
    transition: 0.3s;
}

.btn-login:hover {
    background: #073f41;
}

.logo {
    width: 140px;
    display: block;
    margin: 0 auto 0px;
}

.login-chit-fund {
    padding-top: 10%;
}

.icon-color {
    color: #073f41;
}

.dashboard-container {
    display: flex;
    min-height: 100vh;
}

.dashboard-container {
    display: flex;
    width: 100%;
    min-height: 100vh;
}

/* Sidebar Styling */
.sidebar {
    width: 15%;
    background-color: #073f41;
    padding: 20px 0;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    z-index: 998;
    transition: width 0.3s ease, transform 0.3s ease;
    flex-shrink: 0;
    position: fixed;
    height: 100vh;
    overflow-y: auto;
}

.sidebar.collapsed {
    width: 4%;
}

.sidebar-header {
    display: flex;
    align-items: center;
    padding: 0 20px 10px;
    border-bottom: 1px solid #eee;
    margin-bottom: 10px;
}

.sidebar.collapsed .sidebar-header {
    justify-content: center;
    padding: 0 10px 10px;
}

.sidebar-header .logo {
    transition: all 0.3s ease;
}

.sidebar.collapsed .sidebar-header .logo {
    margin-right: 0;
}

.sidebar-menu {
    list-style: none;
    padding: 0;
    flex-grow: 1;
    margin: 0;
}

.menu-item {
    display: block;
    align-items: center;
    padding: 12px 20px;
    cursor: pointer;
    color: #fff;
    transition: background-color 0.2s, color 0.2s;
    position: relative;
}

.menu-item .icon {
    margin-right: 15px;
    font-size: 1.1em;
    width: 20px;
    text-align: center;
}

.sidebar.collapsed .menu-item {
    justify-content: center;
    padding: 12px 0;
}

.sidebar.collapsed .menu-item .icon {
    margin-left: 10px;
}

.sidebar.collapsed .menu-item span {
    display: none;
}

.menu-item:hover,
.menu-item.active {
    background-color: #034c4f;
    color: #fff;
    border-radius: 25px;
}

.menu-item a:hover {
    color: #fff;
}

.menu-item.active .icon {
    color: #fff;
}

/* Sub-menu styling */
.sub-menu-parent {
    position: relative;
}

.sub-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: none;
    background-color: #073f41;
    margin-top: 15px;
}

.sub-menu li {
    padding: 10px 20px 10px 30px;
    color: #333;
    cursor: pointer;
}

.sub-menu li:hover {
    background-color: #c9c9c9;
    color: #000;
}

/* Sub-menu visibility on desktop when sidebar is collapsed (hover effect) */
.sidebar.collapsed .sub-menu-parent {
    position: relative;
}

.sidebar.collapsed .sub-menu {
    position: absolute;
    left: 100%;
    top: 0;
    width: 200px;
    background-color: #e9e9e9;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
    z-index: 1001;
}

.sidebar.collapsed .sub-menu li {
    padding: 10px 15px;
    text-align: left;
}

/* Show submenu when parent is active (clicked) */
.sub-menu-parent.active-submenu .sub-menu {
    display: block;
}


/* Main Content Styling */
.main-content {
    flex-grow: 1;
    padding: 90px 20px 20px;
    display: flex;
    flex-direction: column;
    transition: margin-left 0.3s ease;
    width: 85%;
    padding-left: 16%;
}

/* Push content when sidebar is open */
body:not(.sidebar-collapsed) .main-content {
    margin-left: 0;
}

.text-adjacent {
    color: var(--adjacent-color) !important;
}

.main-header {
    background-color: #073f41 !important;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 0px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 85%;
    position: fixed;
    top: 0;
    right: 0;
    left: 15%;
    z-index: 999;
    height: 70px;
}

.header-left {
    display: flex;
    align-items: center;
}

.welcome-section h1 {
    font-size: 1.5em;
    color: #fff;
    margin-bottom: 5px;
}

.tagline {
    font-size: 18px;
    color: #000;
    margin-top: 0px;
    margin-bottom: 20px;
}


.header-right {
    display: flex;
    align-items: center;
}

.user-profile {
    display: flex;
    align-items: center;
}

.icon-button {
    font-size: 1.2em;
    color: #fff;
    margin-left: 15px;
    cursor: pointer;
    transition: color 0.2s;
}

.icon-button:hover {
    color: #fff;
}

.avatar-container {
    display: flex;
    align-items: center;
    margin-left: 20px;
    background-color: #f0f0f0;
    padding: 5px 10px;
    border-radius: 20px;
}

.user-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    margin-right: 8px;
    background-color: #2a878d;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
}

.username {
    font-weight: bold;
    margin-right: 5px;
}

.user-role {
    color: #28a745;
    font-size: 0.8em;
    background-color: #e6f7ed;
    padding: 2px 8px;
    border-radius: 10px;
}

/* Dashboard Cards Section */
.dashboard-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 10px;
    margin-bottom: 30px;
    box-shadow: rgba(14, 30, 37, 0.12) 0px 2px 4px 0px, rgba(14, 30, 37, 0.32) 0px 2px 16px 0px;
    padding: 10px;
}

.card {
    background-color: #ffffff;
    padding: 7px;
    border-radius: 8px;
    border: 1px solid #ccc;
    flex-direction: column;
    justify-content: space-between;
    min-height: 120px;
}

.card h3 {
    font-size: 21px;
    color: #073f41;
    margin-bottom: 15px;
    text-align: center;
    font-weight: bold;
}

.card-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.amount {
    font-size: 1.4em;
    font-weight: bold;
    color: #333;
    display: flex;
    flex-direction: column;
}

/*.amount.paid span:first-child {
    color: #28a745;
}

.amount.pending span:first-child {
    color: #ffc107;
}*/

.amount .label {
    font-size: 21px;
    font-weight: normal;
    color: #000;
}

.payments-card .card-content,
.dispatches-card .card-content {
    justify-content: space-between;
}

/* Cash Projections */
.cash-projections {
    margin-bottom: 30px;
    box-shadow: rgba(14, 30, 37, 0.12) 0px 2px 4px 0px, rgba(14, 30, 37, 0.32) 0px 2px 16px 0px;
    ;
    padding: 10px 60px 25px;
}

.cash-projections h2,
.payment-defaulter-table h2 {
    font-size: 27px;
    color: #333;
    margin-bottom: 10px;
    margin-top: 20px;
}

.projection-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.projection-cards .card {
    text-align: center;
}

.projection-cards .amount.large {
    font-size: 22px;
    display: block;
    margin-top: 10px;
    color: #747474;
    font-weight: 400;
}

/*.projection-cards .amount.green span {
    color: #28a745;
}

.projection-cards .amount.yellow span {
    color: #ffc107;
}*/

/* Group Summary */
.group-summary {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.group-card {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #ccc;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.group-card h3 {
    font-size: 21px;
    color: #000;
    margin-bottom: 15px;
    font-weight: 600;
    text-align: center;
    margin-top: 0;
}

.group-stats {
    display: flex;
    justify-content: space-between;
}

.group-stats .stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 8px 12px;
    border-radius: 5px;
    font-weight: bold;
    font-size: 1.1em;
}

.group-stats .stat.confirmed {
    color: #28a745;
}

.group-stats .stat.lead {
    color: #072fff;
}

.group-stats .stat.pending {
    color: #fd7e14;
}

.group-stats .stat .label {
    font-size: 21px;
    margin-bottom: 20px;
    font-weight: normal;
    margin-top: 5px;
    color: inherit;
}

/* Payment Defaulter Table */
.payment-defaulter-table {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: rgba(14, 30, 37, 0.12) 0px 2px 4px 0px, rgba(14, 30, 37, 0.32) 0px 2px 16px 0px;
    margin-bottom: 20px;
}

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

.payment-defaulter-table th,
.payment-defaulter-table td {
    text-align: center;
    padding: 20px 15px;
    border-bottom: 1px solid #eee;
    font-size: 19px;
    font-weight: 500;
}

.payment-defaulter-table th {
    background-color: #073f41;
    font-weight: bold;
    color: #fff;
    text-align: center;
    font-size: 18px;
}

.payment-defaulter-table tbody tr:hover {
    background-color: #f5f5f5;
}

.action-button {
    background-color: #28a745;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.9em;
    transition: background-color 0.2s;
}

.action-button:hover {
    background-color: #218838;
}

/* Activate Windows Footer */
.activate-windows-footer {
    text-align: right;
    font-size: 0.8em;
    color: #999;
    padding: 10px;
    margin-top: auto;
}

.notification-number {
    position: relative;
    bottom: 15px;
    width: 25px;
    height: 35px;
    padding: 6px;
    background: red;
    align-items: center;
    text-align: center;
    border-radius: 50px;
    color: #fff;
}

/* Toggle Sidebar Button */
.toggle-sidebar-btn {
    background: none;
    font-size: 20px;
    color: #fff;
    cursor: pointer;
    margin-right: 0px;
    display: none;
    border-radius: 25px;
    border: 1px solid #fff;
}

.arrow-rotate {
    rotate: 180deg;
    position: absolute;
    right: -12px;
}

.sub-menu-arrow {
    margin-left: auto;
    transition: transform 0.2s ease;
    font-size: 0.8em;
}

.sub-menu-parent.active-submenu .sub-menu-arrow {
    transform: rotate(180deg);
}

.sidebar.collapsed .sub-menu-parent .sub-menu-arrow {
    display: block;
    margin-left: 0;
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
}

.sidebar.collapsed .sub-menu-parent.active-submenu .sub-menu-arrow {
    transform: translateY(-50%) rotate(180deg);
}

.sidebar.collapsed .sidebar-header .logo {
    margin: 0px;
    width: 40px;
}

/* Submenu hidden by default */
.sub-menu {
    display: none;
    transition: all 0.3s ease;
}

/* Show submenu when open */
.sub-menu-parent.open>.sub-menu {
    display: block;
}

/* Arrow rotation */
.sub-menu-arrow {
    float: right;
    transition: transform 0.3s ease;
}

.sub-menu-parent.open .sub-menu-arrow {
    transform: rotate(180deg);
}

.menu-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
}

.menu-item a {
    color: #fff;
    text-decoration: unset;
    display: flex;
    /*padding: 0px 110px 0px 0px;*/
}

.dashboard-text {
    /* padding-left: 45px; */
    margin-top: 0px;
}

.amount-rate {
    color: #000;
    text-align: center;
    font-size: 21px;
    font-weight: 500;
    margin-top: 40px;
}

.paid-amount {
    font-size: 21px;
    padding: 5px;
    border-radius: 5px;
    margin-top: 10px;
    font-weight: 500;
}

.paid-amount strong {
    color: #000;
}

.pending-amount {
    font-size: 21px;
    padding: 5px;
    border-radius: 5px;
    margin-top: 10px;
    font-weight: 500;
}

.pending-amount strong {
    color: #000;
}

.to-receive p {
    font-size: 21px;
    font-weight: 600;
    margin: 20px 0 30px 0;
}

.to-pay p {
    font-size: 21px;
    font-weight: 600;
    margin: 20px 0 30px 0;
}

.closing p {
    font-size: 21px;
    font-weight: 600;
    margin: 20px 0 30px 0;
}

.projection-cards .amount.large span {
    border: 1px solid #ccc;
    padding: 10px 80px;
    border-radius: 15px;
    box-shadow: rgba(14, 30, 37, 0.12) 0px 2px 4px 0px, rgba(14, 30, 37, 0.32) 0px 2px 16px 0px;
    ;
}

.confirmed-count {
    box-shadow: rgba(14, 30, 37, 0.12) 0px 2px 4px 0px, rgba(14, 30, 37, 0.32) 0px 2px 16px 0px;
    ;
    padding: 10px 25px;
    border: 1px solid #ccc;
    border-radius: 10px;
    color: #000;
}

.payment-defaulter {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}

.payment-defaulter span {
    border: 1px solid #ccc;
    margin-left: 20px;
    padding: 10px 20px;
    border-radius: 5px;
}

#chartContainer {
    background: #fff;
    border-radius: 15px;
}

.amount-chart {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
}

.amount-chart li {
    width: 50%;
}

.chart-box {
    background-color: #f7f6cc;
    padding: 15px;
    border-radius: 10px;
    width: 600px;
    margin: auto;
}

#barChart {
    background: #fff;
    border-radius: 15px;
}

footer {
    text-align: center;
    width: 100%;
    padding: 30px 0 30px 15%;
    background-color: #e9e9e9;
    margin: 0px 0 0 0;
    position: fixed;
    bottom: 0;
    z-index: 100;
}

.chart-bottom {
    padding-bottom: 85px;
}

.menu-item.active a {
    color: #fff !important;
}

.page-menu {
    display: flex;
    padding-left: 0;
    font-size: 23px;
}

.page-menu li {
    list-style: none;
}

.page-menu li:nth-of-type(2) {
    color: #000;
}



.create-scheme {
    background-color: #073f41;
    border: none;
    padding: 8px 20px;
    color: #fff;
    font-size: 18px;
    position: absolute;
    top: 135px;
    right: 50px;
    border-radius: 15px;
}

.scheme-list {}

.scheme-list ul {
    display: flex;
    padding: 0;
    gap: 20px;
    flex-wrap: wrap;
}

.scheme-list ul li {
    width: 33%;
    list-style: none;
    box-shadow: rgb(7 63 65 / 55%) 0px 1px 1px, rgb(7 63 65 / 69%) 0px 0px 1px 1px;
    padding: 10px;
    border-radius: 10px;
    margin-bottom: 25px;

}

.active-inactive {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #ccc;
}

.active-inactive h5 {
    font-size: 18px;
    font-weight: bold;
}

.active-inactive p {
    border: 2px solid #073f41;
    color: #073f41;
    padding: 5px 25px;
    border-radius: 25px;
}

.scheme-description p:nth-of-type(1) {
    color: #000;
    font-weight: bold;
    font-size: 19px;
    margin-top: 15px;
}

.scheme-description p:nth-of-type(2) {
    color: #000;
    min-height: 100px;
    max-height: 100px;
    font-size: 18px;
}

.scheme-description p:nth-of-type(3) {
    color: #000;
    font-weight: bold;
}

.scheme-description p:nth-of-type(3) span {
    color: #000;
    font-weight: 400;
}

.view-button {
    border: 2px solid #41d87b;
    padding: 10px 25px;
    background: #fff;
    border-radius: 5px;
    color: #41d87b;
    font-weight: 600;
}

.view-button-group {
    border: 2px solid #41d87b;
    padding: 10px 15px;
    background: #fff;
    border-radius: 5px;
    color: #41d87b;
    font-weight: 600;
    display: flex;
}

.edit-button {
    background-color: #fff;
    border: 2px solid #5a5af3;
    padding: 10px 25px;
    border-radius: 5px;
    font-weight: 600;
    color: #5a5af3;
}

.edit-button-group {
    background-color: #fff;
    border: 2px solid #5a5af3;
    padding: 10px 15px;
    border-radius: 5px;
    font-weight: 600;
    color: #5a5af3;
    display: flex;
}

.delete-button {
    background-color: #fff;
    border: 2px solid #fe8b5b;
    padding: 10px 25px;
    border-radius: 5px;
    color: #fe8b5b;
    font-weight: 600;
}

.delete-button-group {
    background-color: #fff;
    border: 2px solid #fe8b5b;
    padding: 10px 15px;
    border-radius: 5px;
    color: #fe8b5b;
    font-weight: 600;
    display: flex;
}

.edit-delete-view {
    display: flex;
    justify-content: space-around;
}

.scheme-description {
    border-bottom: 1px solid #ccc;
    padding-bottom: 20px;
}

.createdon {
    display: flex;
    justify-content: space-between;
    padding-top: 30px;
}

.createdon p {
    font-size: 18px;
}

.breadcrumb {
    color: #000;
    font-size: 30px !important;
    font-weight: 500;
    margin-bottom: 10px;
    display: flex;
    justify-content: end;
}

.breadcrumb strong {
    color: black;
    font-weight: 600;
}

.page-title {
    color: black;
    font-size: 26px;
    font-weight: 600;
    margin-bottom: 10px;
}

.page-subtitle {
    color: #000;
    font-size: 18px;
    font-weight: 400;
    margin-bottom: 30px;
}

.card {
    background: white;
    border-radius: 12px;
    border: none;
    box-shadow: 0px 4px 4px 4px rgba(183, 183, 27, 0.20);
    margin-bottom: 20px;
}

.card-header {
    background: transparent;
    border-bottom: 1px solid #BBBBBB;
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-title {
    color: black;
    font-size: 26px;
    font-weight: 600;
    margin: 0;
}

.header-controls {
    display: flex;
    align-items: center;
    gap: 15px;
}

.icon-btn {
    width: 45px;
    height: 45px;
    border: none;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 18px;
    color: #fff;
}

.icon-menu {
    background: #073f41 !important;
}

.icon-grid {
    background: #073f41 !important;
}

.create-group-btn {
    background: #073f41;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 10px 20px;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    height: 50px;
}

.table-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    background: #f8f9fa;
    border-bottom: none;
}

.show-entries {
    display: flex;
    align-items: center;
    gap: 10px;
}

.entries-select {
    width: 61px;
    height: 30px;
    background: white;
    border-radius: 3px;
    border: 1px solid #808080;
    padding: 0 10px;
}

.status-filter {
    display: flex;
    align-items: center;
    gap: 20px;
    background: white;
    border: 1px solid black;
    padding: 5px 15px;
    border-radius: 4px;
}

.search-box {
    display: flex;
    align-items: center;
    gap: 10px;
}

.search-box span {
    color: rgba(0, 0, 0, 0.80);
    font-size: 18px;
    font-weight: 400;
}

.search-input {
    width: 240px;
    height: 30px;
    background: white;
    border-radius: 3px;
    border: 1px solid #808080;
    padding: 0 10px;
}

/* Table View Styles */
#tableView {
    display: block;
}

table.dataTable {
    width: 100% !important;
    margin: 0 !important;
    border-collapse: collapse;
}

table.dataTable thead th {
    background: var(--primary-color);
    color: white !important;
    font-size: 18px;
    font-weight: 700;
    border: none;
    padding: 20px;
    text-align: center !important;
}

table.dataTable tbody td {
    padding: 10px;
    text-align: center;
    vertical-align: middle;
    border: 1px solid #dee2e6;
    background: #F8F8F8;
    color: black;
    font-size: 18px;
    font-weight: 500;
}

table.dataTable tbody tr:nth-child(even) td {
    background: #f8f9fa;
}

.status-active {
    background: #B7B71B;
    color: white;
}

.action-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.btn-action {
    width: 35px;
    height: 35px;
    border: none;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 18px;
    padding: 0;
}

.btn-view {
    background: #fff;
    color: #008000;
}

.btn-edit {
    background: #fff;
    color: #5a5af3;
}

.btn-delete {
    background: #fff;
    color: #e87a1a;
    border: none;
}

/* Grid View Styles */
#gridView {
    display: none;
    padding: 10px;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.group-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.group-name {
    font-size: 18px;
    font-weight: 600;
    color: black;
    margin: 0;
}

.scheme-name {
    font-size: 18px;
    color: black;
    margin-bottom: 15px;
}

.scheme-name span {
    color: black;
    font-weight: bold;
}

.group-details {
    margin-bottom: 0px;
}

.detail-item {
    margin-bottom: 8px;
    font-size: 18px;
}

.detail-label {
    color: black;
    font-weight: bold;
}

.detail-value {
    color: black;
    font-weight: 400;
}

.grid-actions {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    margin-top: 20px;
}

.grid-btn {
    padding: 8px 20px;
    border: none;
    border-radius: 5px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.grid-btn-view {
    border: 2px solid #41d87b;
    padding: 10px 25px;
    background: #fff;
    border-radius: 5px;
    color: #41d87b;
}

.grid-btn-edit {
    background-color: #fff;
    border: 2px solid #5a5af3;
    padding: 10px 25px;
    border-radius: 5px;
    font-weight: 600;
    color: #5a5af3;
}

.grid-btn-delete {
    background: #E87A1A;
    color: white;
}

.grid-btn:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.divider {
    height: 1px;
    background: rgba(187, 187, 187, 0.47);
    margin: 15px 0;
}

/* Pagination Styles */
.dataTables_wrapper .dataTables_paginate {
    padding: 20px 30px;
    /* display: flex; */
    justify-content: space-between;
    align-items: center;
}

.dataTables_info {
    color: rgba(0, 0, 0, 0.80);
    font-size: 18px;
    font-weight: 400;
}

.dataTables_paginate .pagination {
    margin: 0;
    gap: 5px;
}

.dataTables_paginate .paginate_button {
    /* border: 1px solid #808080; */
    background: white;
    color: #808080;
    /* padding: 5px 10px; */
    /* border-radius: 3px; */
    cursor: pointer;
    min-width: 27px;
    height: 27px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
}

.dataTables_paginate .paginate_button.current {
    background: rgba(183, 183, 27, 0.90);
    color: white;
    border-color: #808080;
}

.dataTables_paginate .paginate_button:hover {
    background: #e9ecef;
    color: #333;
}

/* .dataTables_length {
    display: none;
} */

/* Custom icons */
.menu-icon {
    width: 14px;
    height: 12px;
    background: transparent;
    border: 2px solid white;
    position: relative;
}

.grid-icon {
    width: 18px;
    height: 18px;
    background: white;
    position: relative;
}

.stepper {
    display: flex;
    background: white;
    box-shadow: 2px 2px 20px 4px rgb(183 183 27 / 33%);
    border-radius: 50px;
    margin-bottom: 40px;
    position: relative;
}

.step {
    flex: 1;
    text-align: center;
    padding: 10px 0;
    position: relative;
    z-index: 1;
    cursor: pointer;
    transition: all 0.3s ease;
}

.step.active {
    background: #073f41;
    border-radius: 50px;
    color: white;
}

.step-number {
    font-size: 28px;
    font-weight: 600;
    margin-right: 10px;
}

.step-label {
    font-size: 23px;
    font-weight: 400;
}

.step.active .step-label {
    font-weight: 600;
}

.form-container {
    background: white;
    border-radius: 12px;
    border: 1px solid #B7B71B;
    padding: 30px;
    margin-bottom: 40px;
}

.form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 60px;
    margin-bottom: 40px;
}

.form-group {
    flex: 1;
    /* min-width: 350px; */
}

.form-label {
    color: black;
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.required::after {
    content: "*";
    color: #DB0E0E;
    margin-left: 5px;
}



.form-select.custom-input {
    position: relative;
    width: 100%;
    background: rgba(152, 201, 250, 0.08);
    /*border-radius: 12px;*/
    border: 1px solid #BBBBBB;
    padding: 12px;
    font-size: 20px;
    color: var(--text-color);
    font-weight: 500;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23808080' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 20px center;
    background-size: 16px;
}

.periods-container {
    display: flex;
    gap: 40px;
    align-items: center;
}

.period-box {
    width: 155px;
    height: 52px;
    background: white;
    border-radius: 12px;
    border: 1px solid #BBBBBB;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 500;
}

.period-separator {
    width: 18px;
    height: 18px;
    position: relative;
}

.period-separator::before {
    content: "";
    position: absolute;
    width: 11.5px;
    height: 2.5px;
    background: black;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 20px;
    margin-top: 40px;
}

.btn {
    width: 175px;
    height: 50px;
    border-radius: 10px;
    color: white;
    font-size: 22px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--primary-color);
}

.btn-primary:hover {
    background: var(--hover-color);
}

.btn-secondary {
    background: #ff6525 !important;
    color: white !important;
    width: 120px;
}

.btn-secondary:hover {
    background: #f01722ff;
}

/* Step 2 Styles */
.members-container {
    margin: 30px auto;
    padding: 25px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.add-member-section {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 24px;
}

.members-header {
    flex: 1;
    font-size: 20px;
    font-weight: 600;
    color: #111827;
}

.form-select,
.custom-input {
    flex: 2;
    padding: 8px 10px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-size: 14px;
    color: #374151;
}

.add-btn {
    background: #2563eb;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.2s;
}

.add-btn:hover {
    background: #1d4ed8;
}

/* === Member Card === */
.member-item {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 14px 18px;
    margin-bottom: 16px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
}

.member-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: #111827;
}

.delete-btn {
    background: none;
    border: none;
    color: #dc2626;
    font-size: 18px;
    cursor: pointer;
    font-weight: bold;
}

.toggle-dropdown-btn {
    margin-top: 10px;
    background: #073f41;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 6px 12px;
    cursor: pointer;
    font-size: 14px;
    transition: 0.2s;
}

.toggle-dropdown-btn:hover {
    background: #073f41;
}

/* === Sub Member Section === */
.sub-member-section {
    margin-top: 10px;
    display: none;
    gap: 10px;
    align-items: center;
}

.sub-member-select {
    flex: 1;
    padding: 6px 8px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
}

.confirm-add-btn {
    background: #073f41;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 6px 10px;
    cursor: pointer;
}

.confirm-add-btn:hover {
    background: #073f41;
}

/* === Sub Members List === */
.sub-member-list {
    margin-top: 12px;
    padding-left: 16px;
    border-left: 2px dashed #cbd5e1;
}

.sub-member {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f3f4f6;
    border-radius: 6px;
    padding: 6px 10px;
    margin-bottom: 6px;
    font-size: 14px;
    color: #1f2937;
}

.sub-delete {
    background: none;
    border: none;
    color: #b91c1c;
    font-size: 16px;
    cursor: pointer;
}

/* === Animations === */
.member-item,
.sub-member {
    transition: all 0.25s ease;
}

.member-item:hover {
    box-shadow: 0 2px 10px rgba(37, 99, 235, 0.08);
}

.add-btn {
    background: #073f41;
    color: white;
    border: none;
    border-radius: 10px;
    padding: 10px 20px;
    font-size: 18px;
    cursor: pointer;
    height: 50px;
    width: 100px;
    transition: all 0.3s ease;
    text-align: center;
}

.add-btn:hover {
    background: #073f41;
}

.member-list {
    margin-top: 20px;
}

.member-name {
    font-size: 18px;
    font-weight: 500;
}

.delete-btn {
    background: none;
    border: none;
    color: #DB0E0E;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.delete-btn:hover {
    color: #a00b0b;
}

/* Step 3 Styles - Payments */
.payments-container {
    margin-top: 20px;
}

.payments-header {
    font-size: 26px;
    font-weight: 500;
    margin-bottom: 15px;
}

.payment-table-container {
    width: 100%;
    height: 100%;
    position: relative;
    background: rgba(217, 217, 217, 0);
    border-radius: 12px;
    border: 1px solid rgba(75.27, 68.33, 68.33, 0.26);
    margin: 0 auto;
}

.payment-table-row {
    display: flex;
    align-items: center;
    height: 90px;
    border-bottom: 1px solid #CECCCC;
}

.payment-table-row:first-child {
    height: 90px;
    border-bottom: 1px solid #CECCCC;
}

.payment-table-cell {
    display: flex;
    align-items: center;
    height: 100%;
}

.payment-month-label {
    width: auto;
    padding-left: 137px;
    color: black;
    font-size: 26px;
    font-weight: 500;
}

.payment-amount-box {
    width: 320px;
    height: 60px;
    background: #F3F7FB;
    border-radius: 12px;
    border: 1px solid #BBBBBB;
    margin-left: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.payment-amount-input {
    width: 60%;
    height: 100%;
    background: transparent;
    border: none;
    text-align: center;
    color: #808080;
    font-size: 17px;
    font-weight: 500;
    padding: 15px 15px;
    border: 1px solid #ccc;
    border-radius: 15px;
}

.payment-amount-input:focus {
    outline: none;
}

.payment-table-header {
    display: flex;
    align-items: center;
    height: 90px;
    border-bottom: 1px solid #CECCCC;
}

.payment-header-label {
    color: black;
    font-size: 26px;
    font-weight: 500;
}

.payment-header-month {
    width: 200px;
    padding-left: 137px;
}

.payment-header-due {
    width: 320px;
    margin-left: 30px;
    display: flex;
    align-items: center;
}

.payment-header-distribution {
    width: 320px;
    margin-left: 30px;
    display: flex;
    align-items: center;
}

.header-input {
    width: 80px;
    height: 30px;
    margin-left: 10px;
    background: transparent;
    border: 1px solid #BBBBBB;
    border-radius: 4px;
    padding: 0 5px;
    text-align: center;
    font-size: 16px;
    color: #808080;
}

.header-input:focus {
    outline: none;
    border-color: #B7B71B;
}

/* Step 4 Styles - Dispatch */
.dispatch-container {
    margin-top: 20px;
}

.dispatch-header {
    font-size: 26px;
    font-weight: 500;
    margin-bottom: 15px;
}

.dispatch-table-container {
    width: 100%;
    height: 100%;
    position: relative;
    background: rgba(217, 217, 217, 0);
    border-radius: 12px;
    border: 1px solid rgba(75.27, 68.33, 68.33, 0.26);
    margin: 0 auto;
}

.dispatch-table-row {
    display: flex;
    align-items: center;
    height: 90px;
    border-bottom: 1px solid #CECCCC;
}

.dispatch-table-row:first-child {
    height: 80px;
    border-bottom: 1px solid #CECCCC;
}

.dispatch-table-cell {
    display: flex;
    align-items: center;
    height: 100%;
}

.dispatch-member-label {
    width: 300px;
    padding-left: 87px;
    color: black;
    font-size: 26px;
    font-weight: 500;
}

.dispatch-month-box {
    width: 328px;
    height: 54px;
    background: #F3F7FB;
    border-radius: 12px;
    border: 1px solid #BBBBBB;
    margin-left: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dispatch-month-input {
    width: 100%;
    height: 100%;
    background: transparent;
    border: none;
    text-align: center;
    color: #808080;
    font-size: 17px;
    font-weight: 500;
    padding: 0 15px;
}

.dispatch-month-input:focus {
    outline: none;
}

.dispatch-amount-box {
    width: 328px;
    height: 54px;
    background: #F3F7FB;
    border-radius: 12px;
    border: 1px solid #BBBBBB;
    margin-left: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dispatch-amount-input {
    width: 100%;
    height: 100%;
    background: transparent;
    border: none;
    text-align: center;
    color: #808080;
    font-size: 17px;
    font-weight: 500;
    padding: 0 15px;
}

.dispatch-amount-input:focus {
    outline: none;
}

.dispatch-table-header {
    display: flex;
    align-items: center;
    height: 80px;
    border-bottom: 1px solid #CECCCC;
}

.dispatch-header-label {
    color: black;
    font-size: 26px;
    font-weight: 500;
}

.dispatch-header-members {
    width: 300px;
    padding-left: 87px;
}

.dispatch-header-months {
    width: 328px;
    margin-left: 30px;
    display: flex;
    align-items: center;
}

.dispatch-header-amount {
    width: 328px;
    margin-left: 30px;
    display: flex;
    align-items: center;
}

.checkbox-container {
    width: 20px;
    height: 22px;
    position: relative;
    margin-right: 10px;
}

.checkbox-container::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    outline: 2px black solid;
    outline-offset: -1px;
}

.checkbox-container::after {
    content: "";
    position: absolute;
    width: 8px;
    height: 10px;
    left: 3px;
    top: 0px;
    outline: 2px black solid;
    outline-offset: -1px;
}

/* Hidden step */
.step-content {
    display: none;
}

.step-content.active {
    display: block;
}

.create-members-btn:hover {
    background: #073f41;
    transform: translateY(-2px);
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.15);
}

.create-members-btn:active {
    transform: translateY(0);
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
}

.plus-icon {
    width: 19px;
    height: 19px;
    position: relative;
}

.plus-icon::before,
.plus-icon::after {
    content: '';
    position: absolute;
    background: white;
    border-radius: 2px;
}

.plus-icon::before {
    width: 11px;
    height: 2px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.plus-icon::after {
    width: 2px;
    height: 11px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.filter-wrapper {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    /* overflow: hidden; */
    margin-bottom: 15px;
}

.filter-header {
    background: #fff;
    color: #000;
    padding: 12px 16px;
    cursor: pointer;
    font-size: 18px;
}

.filter-header:hover {
    background: #fff;
}

.filter-content {
    display: none;
    padding: 15px;
    border-top: 1px solid #ddd;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.filter-content input,
.filter-content select {
    padding: 8px;
    /* margin: 6px; */
    border: 1px solid #ccc;
    border-radius: 6px;
    min-width: 180px;
}

.filter-content button {
    padding: 8px 14px;
    margin: 6px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

.btn-search {
    background: #073f41;
    color: #fff;
}

.btn-clear {
    background: #f09444;
    color: #fff;
}

.btn-export {
    background: #073f41;
    color: #fff;
    border: none;
    padding: 10px;
    border-radius: 4px;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 8px;
}

.status-active {
    border: 2px solid #008000;
    background: #fff;
    color: #008000;
}

.status-inactive {
    border: 2px solid #ef9444 !important;
    background: #ef9444 !important;
    color: #fff !important;
}

.table-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    padding: 10px 15px;
    border-radius: 8px;
    margin-bottom: 10px;
    box-shadow: none;
    margin-top: 20px;
}

.table-controls>div {
    display: flex;
    align-items: center;
    gap: 10px;
}

.dataTables_info {
    font-size: 16px !important;
    margin-left: 25px;
}

.bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.create-button-group {
    display: flex;
    align-items: center;
}

.create-members-btn {
    display: none;
    position: relative;
    bottom: 20px;
    left: 85%;
    background: #073f41;
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 10px 20px;
    cursor: pointer;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.create-members-btn .plus-icon {
    width: 16px;
    height: 16px;
    background: #fff;
    border-radius: 50%;
    position: relative;
}

.create-members-btn .plus-icon::before,
.create-members-btn .plus-icon::after {
    content: "";
    position: absolute;
    background: #007bff;
}

.create-members-btn .plus-icon::before {
    width: 10px;
    height: 2px;
    top: 7px;
    left: 3px;
}

.create-members-btn .plus-icon::after {
    width: 2px;
    height: 10px;
    top: 3px;
    left: 7px;
}

.payment-details-table {
    border: 1px solid #ccc;
    border-collapse: inherit;
}

.payment-details-table th {
    background-color: #073f41;
    color: #fff;
    padding: 15px;
    font-size: 18px;
}

.payment-details-table td,
tr,
th {
    text-align: center;
    font-weight: bold;
}

.nav-tabs {
    border-bottom: 2px solid #eee;
}

.nav-tabs .tab-btn {
    color: #555;
    font-weight: 500;
    border: none;
    background-color: transparent;
    padding: 10px 25px;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
}

.nav-tabs .tab-btn:hover {
    color: #073f41;
    border-bottom: 3px solid #c2c63b50;
}

.nav-tabs .tab-btn.active {
    color: #fff !important;
    background-color: #073f41 !important;
    font-weight: 600;
    background: none;
}

.reserve-modal {
    color: black;
    background: #fff;
    border-radius: 20px;
    padding: 20px 25px;
}

.custom-input {
    border: 2px solid #073f41 !important;
    border-radius: 8px;
    background: #f3f8ff;
}

.form-label {
    font-size: 1rem;
    color: #000;
}

.save-btn {
    background: #c2c63b;
    color: #fff;
    font-weight: 600;
    border-radius: 8px;
}

.save-btn:hover {
    background: #a4a927;
}

.close-btn {
    background: #e36922;
    color: #fff;
    font-weight: 600;
    border-radius: 8px;
}

.close-btn:hover {
    background: #c45a1a;
}

.btn-close {
    font-size: 22px;
    color: #e36922 !important;
}

.modal-content {
    border: none;
}

/*Add Scheme*/

.user-info {
    display: flex;
    align-items: center;
}

.user-avatar {
    width: 60px;
    height: 63px;
    position: relative;
    margin-right: 20px;
}

.user-details {
    text-align: right;
}

.username {
    color: #000;
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 5px;
}

.user-role {
    display: inline-block;
    background: #2a878d;
    color: #FFF;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 16px;
    font-weight: 600;
}

.page-title {
    font-size: 26px;
    font-weight: 600;
    margin-bottom: 10px;
}

.page-description {
    color: #808080;
    font-size: 14px;
    font-weight: 400;
    margin-bottom: 40px;
}

.scheme-form {
    margin-bottom: 40px;
}

.form-section {
    border: 1px solid #073f41;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
}

.section-title {
    font-size: 28px;
    font-weight: 500;
    margin-bottom: 20px;
}

.form-row {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
}

.form-group {
    flex: 1;
}

.form-label {
    display: block;
    font-size: 21px;
    font-weight: 500;
    margin-bottom: 15px;
}

.required {
    color: #DB0E0E;
    margin-left: 5px;
}

.form-input {
    border: 1px solid #BBB;
    background: rgba(152, 202, 251, 0.08);
    color: var(--text-color);
    width: 100% !important;
    font-size: 17px !important;
    border-radius: 10px;
    padding: 8px 12px;
}

.monthly-details {
    border: 1px solid #073f41;
    border-radius: 12px;
    padding: 30px;
}

.monthly-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.monthly-table th {
    text-align: center;
    padding: 15px;
    font-size: 19px;
    font-weight: 500;
    border-bottom: 1px solid #CECCCC;
}

.monthly-table td {
    padding: 15px;
    border-bottom: 1px solid #CECCCC;
}

.month-name {
    font-size: 19px;
    font-weight: 500;
}

.amount-input {
    width: 320px;
    height: 60px;
    border-radius: 12px;
    border: 1px solid #BBB;
    background: #F3F7FB;
    padding: 0 20px;
    font-size: 17px;
    color: #808080;
}

.currency-icon {
    display: inline-block;
    margin-left: 10px;
}

.save-button {
    display: flex;
    justify-content: flex-end;
    margin-top: 30px;
}

.btn-save {
    width: 155px;
    height: 55px;
    border-radius: 10px;
    background: #073f41;
    color: #FFF;
    font-size: 18px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease;
}

.btn-save:hover {
    background: #9c9c17;
}


.group-view-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    box-shadow: rgb(100 98 93 / 49%) 0px 2px 4px 0px, #818d99 0px 2px 16px 0px;
    ;
}

.group-info-container {
    display: flex;
    align-items: center;
    background-color: var(--white-color);
    padding: 10px 20px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.group-info-label {
    background-color: #e5e1e1;
    padding: 15px 25px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    margin-right: 20px;
}

.group-details-text {
    font-weight: 500;
}

.group-details-text span {
    font-weight: bold;
    color: #000;
}

.group-details-arrow {
    margin-left: 20px;
    font-size: 30px;
    color: var(--text-muted);
    cursor: pointer;
    border: 1px solid #b7b71b;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* --- Tabs Styles --- */
.tabs-container {
    display: flex;
    background-color: var(--white-color);
    border-radius: 50px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 8px;
}

.tab-link {
    padding: 12px 35px;
    border-radius: 50px;
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    font-size: 18px;
    transition: all 0.3s ease;
    border: none;
    background-color: transparent;
    cursor: pointer;
}

.tab-link.active {
    background-color: #073f41;
    color: white;
}

.tab-content {
    display: block;
}

.tab-content.active {
    display: block;
}

.tab-content-group {
    display: none;
}

.tab-content-group.active {
    display: block;
}

.main-content-container {
    background-color: var(--white-color);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid rgb(7 63 65);
}

/* --- General Tab Styles --- */
.group-details-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.group-details-title {
    font-size: 24px;
    font-weight: 600;
}

.add-members-btn {
    background-color: #073f41;
    color: var(--white-color);
    border: none;
    border-radius: 8px;
    padding: 12px 25px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
}

.group-details-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 30px;
}

.details-table,
.members-table {
    width: 100%;
    border-collapse: collapse;
}

.details-table td {
    padding: 16px;
    border: 1px solid #073f41;
    font-size: 16px;
    font-weight: 400;
}

.details-table td:first-child {
    background-color: var(--light-gray);
    font-weight: bold;
}

.members-table th,
.members-table td {
    padding: 16px;
    text-align: center;
    font-size: 15px;
    border-bottom: 1px solid var(--border-color);
}

.members-table thead {
    background-color: #B7B71B;
    color: white;
}

.members-table th {
    font-weight: 500;
    background-color: #073f41;
}



.status-confirmed {
    background-color: #d1f7d1;
    color: #1b5e20;
    font-weight: 600;
    cursor: pointer;
}

.status-lead {
    background-color: #fff3cd;
    color: #856404;
    font-weight: 600;
    cursor: pointer;
}

.action-icons i {
    cursor: pointer;
    font-size: 18px;
    margin-right: 15px;
}

.action-icons .fa-edit {
    color: #4A90E2;
}

.action-icons .fa-trash-alt {
    color: #E57373;
}

/* --- Dispatches Table Styles --- */
.dispatch-table {
    width: 100%;
    border-collapse: collapse;
}

.dispatch-table th,
.dispatch-table td {
    padding: 20px;
    text-align: left;
    font-size: 16px;
}

.dispatch-table thead {
    background-color: var(--primary-color);
    color: white;
    border-radius: 10px;
}

.dispatch-table thead th {
    font-weight: 500;
    background: rgb(7 63 65);
}

.dispatch-table thead th:first-child {
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
}

.dispatch-table thead th:last-child {
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
}

.dispatch-table tbody tr {
    border-bottom: 1px solid var(--border-color);
}

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

.dispatch-table tbody td {
    color: var(--text-muted);
    font-weight: 500;
}

.dispatch-table tbody td:first-child {
    color: var(--text-color);
}

.status-paid {
    color: var(--paid-color);
    font-weight: 600;
}

.status-pending {
    color: var(--pending-color);
    font-weight: 600;
}


/* --- Payment Table Specific Styles --- */
.payment-header {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-bottom: 25px;
    font-size: 16px;
    font-weight: 500;
}

.search-box {
    width: 280px;
    height: 40px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 0 15px;
    font-size: 14px;
    margin-left: 10px;
}

.member-cell-content {
    font-size: 16px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
}

.member-icon {
    font-size: 20px;
    color: #555;
}

.data-cell-content {
    background-color: #F3F7FB;
    border: 1px solid #E0E0E0;
    border-radius: 12px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
}

.data-cell-content.paid {
    color: var(--status-paid, #28a745);
    border-color: var(--status-paid, #28a745);
    background-color: #F0FFF3;
}

.data-cell-content.pending {
    color: var(--status-pending, #fd7e14);
}

.data-cell-content .add-icon {
    color: var(--icon-purple, #8e44ad);
    font-size: 20px;
    margin-left: 8px;
}

/* Fix Payment Tab Layout */
.table-responsive {
    overflow-x: auto;
}

.payment-table {
    width: 100%;
    table-layout: fixed;
    /* Keeps equal column width */
    border-collapse: separate;
    border-spacing: 0 10px;
}

.payment-table th,
.payment-table td {
    text-align: center;
    padding: 6px 10px;
    vertical-align: middle;
}

.payment-table th:first-child,
.payment-table td:first-child {
    text-align: left;
    width: 18%;
}

.payment-table input.data-cell-content {
    width: 100%;
    height: 45px;
    border-radius: 8px;
    text-align: center;
    border: 1px solid #E0E0E0;
    background-color: #F9F9F9;
    outline: none;
    transition: border-color 0.2s ease;
}

.payment-table input.data-cell-content:focus {
    border-color: var(--primary-color);
    background-color: #fff;
}

.payment-table input.paid {
    background-color: #F0FFF3;
    border-color: #28a745;
    color: #28a745;
}

.payment-table input.pending {
    border-color: #fd7e14;
    color: #fd7e14;
}

.status-lead {
    background-color: #fce8b2;
    color: #a66b00;
    font-weight: 600;
    cursor: pointer;
    border-radius: 6px;
    padding: 6px 12px;
}

.status-confirmed {
    background-color: #c6f6c6;
    color: #046c04;
    font-weight: 600;
    cursor: pointer;
    border-radius: 6px;
    padding: 6px 12px;
}

.status-toggle:hover {
    transform: scale(1.05);
    transition: all 0.2s;
}

.arrow-left-right {
    display: flex;
}

.group-details-text p {
    margin-bottom: 0;
}

.paid-amount {
    color: green !important;
}

.pending-amount {
    color: orange !important;
}

.plus-button {
    border: 2px solid #073f41;
    background: #fff;
    border-radius: 5px;
    color: #073f41;
    font-weight: bold;
}

body.sidebar-collapsed .main-header {
    width: 96%;
    left: 4% !important;
}



.select2-selection__rendered {
    padding-left: 10px !important;
}

.dashboard-view-button {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.dashboard-view-button button {
    border: none;
    padding: 10px 35px;
    color: #fff;
    font-size: 18px;
    border-radius: 7px;
}

.members-section {
    width: 100%;
    margin: 2px auto;
    font-family: "Roboto", sans-serif;
}

.add-member-btn {
    background-color: #B7B71B;
    color: #fff;
    border: none;
    font-size: 16px;
    padding: 8px 20px;
    border-radius: 12px;
    cursor: pointer;
    vertical-align: middle;
    text-decoration: none;
}

.member-flex-page {
    display: flex;
    justify-content: space-between;
}

.pagination-box {
    background: #ffffff;
    padding: 15px 20px;
    margin-top: 15px;
    border-radius: 10px;
    box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.06);
}

.pagination-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.showing-text {
    font-size: 18px;
    color: #444;
}

.pagination {
    display: flex;
    gap: 8px;
}

.pagination button {
    padding: 6px 14px;
    border: 1px solid #ccc;
    background: #fff;
    border-radius: 6px;
    cursor: pointer;
}

.pagination button.active {
    background: #006f5f;
    color: #fff;
    border-color: #006f5f;
}

.pagination button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.group-card {
    display: block;
    /* hidden by default */
}

.pagination-box-design {
    box-shadow: rgba(14, 30, 37, 0.12) 0px 2px 4px 0px, rgba(14, 30, 37, 0.32) 0px 2px 16px 0px;
    padding: 30px 50px;
    margin-bottom: 30px;
}

.breadcrumb-item a {
    color: var(--text-gray);
    text-decoration: unset;
}

.create-scheme a {
    color: #fff;
    text-decoration: unset;
}

.breadcrumb .active {
    color: var(--primary-color) !important;
    text-decoration: none;
    font-weight: bold;
}

.group-view-table-color {}

.group-view-table-color th {
    background-color: #073f41;
    color: #fff;
}

.group-view-payment {
    border: 1px solid #ccc;
}

.group-view-payment td {
    border: 1px solid #ccc;
    padding: 15px;
    text-align: center;
}

.group-view-payment th {
    background: #073f41;
    color: #fff;
}

.payments-section {
    max-width: auto;
    margin: 2px auto;
    /* padding: 20px; */
    font-family: "Roboto", sans-serif;
    background-color: #f9f9f9;
    border-radius: 8px;
}

.add-payment-btn {
    background-color: #073f41;
    color: white;
    border: none;
    font-size: 16px;
    padding: 8px 20px;
    border-radius: 12px;
    cursor: pointer;
    display: inline-block;
    vertical-align: middle;
}

.scheme-report-table {
    width: 100%;
    border-collapse: collapse;
    background-color: white;
    border: 1px solid #ccc;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
}

.scheme-report-table th,
.scheme-report-table td {
    padding: 12px 14px;
    text-align: center;
    vertical-align: middle;
    border: 1px solid #ccc;

}

.scheme-report-table td {
    background-color: #F3F3F3;
}

.scheme-report-table thead {
    background-color: #073f41;
    color: #fff;
}

.scheme-report-table tbody tr:hover {
    background-color: #f1f1f1;
}

.edit-btn,
.delete-btn {
    border: none;
    background: none;
    font-size: 18px;
    cursor: pointer;
    margin-right: 0px;
    vertical-align: middle;
}

.edit-btn {
    color: #007bff;
}

.delete-btn {
    color: #dc3545;
}

.dashboard-header {
    margin-bottom: 20px;
}

.dashboard-title {
    font-size: 22px;
    font-weight: 600;
}

.payment-modal {
    background: #fff;
    border-radius: 20px;
    padding: 20px 25px;
}

.group-view-table-border {
    border: 1px solid #073f41;
}

.group-view-table-border th {
    background-color: #073f41;
    color: #fff;
}

.group-view-table-border tr {
    text-align: center;
    border: 1px solid #ccc;
}

.payment-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.pay-paid {
    color: #1e8e1e !important;
}

.pay-pending {
    color: #e87a1a !important;
}

.pay-reserved {
    color: #1601ff !important;
}

.projection-card {
    background: #fff;
    border-radius: 20px;
    box-shadow: 2px 2px 20px rgb(7 63 65);
    padding: 25px;
    min-height: 200px;
}

.card-title-cash {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.view-btn,
.back-btn {
    background: #fff;
    color: #073f41;
    border-radius: 20px;
    padding: 10px 40px;
    font-size: 14px;
    font-weight: 600;
    border: 2px solid #073f41;
}

.detail-label-cash {
    font-weight: 500;
    font-size: 25px;
    margin-bottom: 5px;
    text-align: left;
}

.detail-value-cash {
    display: inline-block;
    min-width: 120px;
    background: #F3F7FB;
    border: 1px solid #073f41;
    border-radius: 12px;
    padding: 10px 15px;
    font-size: 20px;
    font-weight: 500;
    color: #656464;
    text-align: center;
}

.positive {
    color: #008000 !important;
}

.negative {
    color: #ED9DA0 !important;
}

.projection-card .row {
    margin: 0;
}

.projection-card .col-4 {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#detail-view {
    display: block;
    background: #fff;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 2px 2px 20px rgba(110, 63, 255, 0.1);
    margin-top: 25px;
}

.section-title-cash,
.total-amount-cash {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 15px;
}

.groups-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}


.group-card-cash {
    min-width: 280px;
    background: #fff;
    border-radius: 15px;
    box-shadow: 2px 2px 25px rgb(7 63 65 / 46%);
    padding: 12px 15px;
    flex: 1;
}

.group-header {
    display: grid;
    grid-template-columns: auto auto auto;
    font-size: 14px;
    font-weight: 600;
    border-bottom: 1px solid #ccc;
    padding-bottom: 6px;
    margin-bottom: 8px;
    text-align: center;
}

.member-item-cash {
    display: grid;
    grid-template-columns: 40% 35% 25%;
    font-size: 13px;
    padding: 12px 0;
    color: #555;
    border-bottom: 1px solid #f0f0f0;
}

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

.payment-table-cash th,
.payment-table-cash td {
    padding: 12px 15px;
    border-bottom: 1px solid #eee;
    text-align: left;
    font-size: 14px;
}

.payment-table-cash th {
    font-weight: 600;
    background-color: #f9f9f9;
}

.card {
    background: white;
    border-radius: 12px;
    border: none;
    box-shadow: 0px 4px 4px 4px rgb(7 63 65 / 15%);
    margin-bottom: 20px;
}

.dispatch-popup {
    background: #073f41;
    border-radius: 12px;
    font-size: 17px;
    color: #fff;
    padding: 7px 25px;
    border: none;
}

.dispatches-shadow {
    border: 2px solid rgba(183, 183, 27, 0.15);
    box-shadow: 2px 2px 25px rgb(7 63 65 / 33%);
}

.dispatch-pending {
    background: #fff;
    border-radius: 20px;
    border: 1px solid #e87a1a;
    color: #e87a1a !important;
}

.dispatch-paid {
    background: #fff;
    border-radius: 20px;
    border: 1px solid #073f41;
    color: #073f41 !important;
}

.dispatches-line {
    border-bottom: 1px solid #ccc;
    padding-bottom: 15px;
}

.dispatch-pay {
    color: #61b0ff !important;
    background: #fff !important;
    border: 1px solid #61b0ff !important;
}

.dispatch-page-flex {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
}

.reserve-modal {
    background: #fff;
    border-radius: 20px;
    padding: 20px 25px;
}

/* Layout */
.reservefund-section {
    margin: 2px auto;
    width: 100%;
    font-family: "Roboto", sans-serif;
}

.sub-text {
    color: grey;
    margin-top: -5px;
}

/* Table */
.reserve-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 25px;
    border: 1px solid #ccc;
    background: white;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
}

.reserve-table th,
.reserve-table td {
    padding: 13px 14px;
    text-align: left;
    vertical-align: middle;
}

.reserve-table thead th {
    background-color: #073f41;
    color: white;
    text-align: center;
}

/* Shade rows */
.reserve-table tbody td {
    background-color: #F3F3F3;
    border: 1px solid #ccc;
    text-align: center;
}

/* Conditional styling */
.fund-added {
    background-color: #BEE5B4;
    color: green;
    font-weight: 600;
}

.withdrawal {
    background-color: #FAD2B7;
    color: #008000;
    font-weight: 600;
}

.amount-green {
    color: green;
    font-weight: 600;
}

.amount-orange {
    color: #E27700;
    font-weight: 600;
}

/* Action Icons */
.action-icons i {
    cursor: pointer;
    margin-right: 8px;
    font-size: 18px;
}

.edit-icon {
    color: #5A67D8;
}

.delete-icon {
    color: #E27700;
}

.reserve-fund-icon {
    text-align: center;
    box-shadow: rgb(7 63 65) 0px 3px 8px;
    border-radius: 15px;
    padding: 15px;
}

.reserve-fund-icon img {
    width: 15%;
    margin: auto;
    display: block;
}

.reserve-fund-icon h4 {
    margin: 20px;
}

.in-out-table {
    width: 100%;
    border: 1px solid #ccc;
    padding: 10px;
}

.in-out-table th {
    padding: 10px;
    border: 1px solid #ccc;
    background: #073f41;
    color: #fff;
}

.in-out-table td {
    padding: 10px;
    border: 1px solid #ccc;
}

.in-color {
    background-color: #7ebe7e;
    color: green;
}

.out-color {
    background-color: #f09c52;
    color: #e87a1a;
}

.expenses-table {
    width: 100%;
    border-collapse: collapse;
    background-color: white;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
    border: 1px solid #ccc;
}

.expenses-modal {
    border-radius: 14px;
    border: 2px solid #e5e4ff;
}

.expenses-header {

    border-radius: 14px 14px 0 0;
    padding: 14px 20px;
}

.save-exp-btn {
    background: #c2c63b;
    color: white;
    font-weight: 600;
    border-radius: 6px;
}

.save-exp-btn:hover {
    background: #a4a927;
}

.cancel-exp-btn {
    background: #a5a5a5;
    color: white;
    font-weight: 600;
    border-radius: 6px;
}

.cancel-exp-btn:hover {
    background: #8c8c8c;
}

.btn-close-white {
    filter: invert(1);
}

.expenses-section {
    width: 100%;
    margin-top: 20px;
    font-family: "Roboto", sans-serif;
}

/* Table Styles */
.expenses-table {
    width: 100%;
    border-collapse: collapse;
    background-color: white;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
}

.expenses-table th,
.expenses-table td {
    padding: 14px 16px;
    text-align: left;
}

.expenses-table th {
    background-color: #073f41;
    ;
    color: white;
    text-align: center;
}

.expenses-table tbody td {
    border: 1px solid #ccc;
    text-align: center;
}

.lead-modal {
    background: #fff;
    border-radius: 20px;
    padding: 20px 25px;
}

.lead-span-table {
    border: 1px solid orange;
    padding: 8px 25px;
    border-radius: 15px;
    color: orange;
}

.monthly-table th {
    background: #073f41;
    color: #fff;
    text-align: center;
}

.dashboard-images {
    width: 15%;
    background: #79781285;
    padding: 10px;
    border-radius: 43px;
}

table#dataTable thead th {
    background-color: #073f41 !important;
    color: #fff !important;
}

table#dataTable tbody tr {
    background-color: #f3f4f8;
    color: #000 !important;
}

.modal-content {
    border-radius: 20px !important;
}

.nav-tabs .nav-item.show .nav-link,
.nav-tabs .nav-link {
    border: none;
    color: #000 !important;
}

.nav-tabs .nav-item.show .nav-link,
.nav-tabs .nav-link.active {
    border: none;
    background-color: #073f41 !important;
    color: #fff !important;
}

.nav-tabs {
    border: none !important;
}

.modal-title {
    padding: 6px 0;
}

.modal-body {
    padding: 26px 34px !important;
}

.form-control-static {
    padding-top: 7px;
    padding-bottom: 7px;
    margin-bottom: 0;
    min-height: 34px;
    line-height: 1.5;
}


#saveButton {
    background-color: #073f41 !important;
    border: none;
}

#cancelButton {
    background-color: orangered !important;
    border: none;
}

.h5,
h5 {
    font-size: 1.5rem !important;
}

.stepper .active a {
    color: #fff;
    text-decoration: none;
}

.stepper a {
    color: #000;
    text-decoration: none;
}

/* 
#smartwizard .nav .nav-item {
    background-color: #073f41;
    border-radius: 100px;
    margin-right: 5px;
    overflow: hidden;
    margin: 50px;
    display: flex;
    justify-content: space-between;
    padding: 10px 50px;

}

#smartwizard .nav .nav-item .nav-link {
    color: #fff;
    border-radius: 15px;
    padding: 10px 20px;
    transition: background 0.3s, color 0.3s;
}

/* #smartwizard .nav .nav-item .nav-link {
    background-color: #1abc9c;
    color: #fff;

} */

/* #smartwizard .nav .nav-item .nav-link:hover {
    background-color: #055757;
    color: #fff;
} */
*/ #member_table {
    background-color: #caddf1;
}

.data-table-buttons {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}

.data-table-buttons form {
    margin: 0;
}


.paginate_button.current {
    background-color: #006f5f !important;
    padding: 10px !important;
    color: #fff !important;
}

.payment-table-scroll {
    overflow-x: scroll;
}

.paginate_button {
    height: auto;
    background: var(--primary-color);
    color: white !important;
    font-size: 20px;
}


.manage_action_btn {
    padding: 0px !important;
    margin: 0px !important;
    height: 40px !important;
    width: 40px !important;
}

.manage_action_btn i {
    font-size: 20px !important;
    color: white !important;
}

.btn-view {
    background-color: var(--adjacent-color) !important;
    color: white;
}

.btn-edit {
    background-color: var(--paid-color) !important;
    color: white;
}

.btn-delete {
    background-color: var(--pending-color) !important;
    color: white;
}


.scheme-card {
    background: var(--light-gray);
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    padding: 15px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s, box-shadow 0.2s;
}

.scheme-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.scheme-card h5 {
    color: var(--primary-color);
    font-weight: 700;
}

/* Read More/Less Link */
.read-more {
    color: var(--primary-color);
    cursor: pointer;
    font-weight: 600;
}

#schemeDataTable thead th {
    padding: 14px;
    border-bottom: 1px solid #dcdcdc;
    font-weight: 600;
}

.status-badge {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #fff;
    text-transform: uppercase;
    border: none;
    background-color: var(--paid-color);
}

.status-badge.inactive {
    background-color: var(--pending-color);
}


.dataTables_wrapper .dataTables_paginate .paginate_button,
.custom-pagination .page-link {
    background: #fff !important;
    color: var(--primary-color) !important;
    border: 1px solid #dcdcdc !important;
    border-radius: 4px !important;
    margin: 0 2px;
    padding: 6px 12px;
    font-weight: 500;
    box-shadow: none !important;
    height: auto;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current,
.custom-pagination .page-item.active .page-link {
    background: var(--primary-color) !important;
    color: #fff !important;
    border-color: var(--primary-color) !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button:hover:not(.current),
.custom-pagination .page-link:hover:not(.active) {
    background: var(--table-header-bg) !important;
    color: var(--primary-color) !important;
    border-color: var(--table-header-bg) !important;
}

.dataTables_filter,
.dataTables_length {
    margin: 14px;
}

.filters th {
    background-color: #e5e7e2 !important;
}



.form-control {
    display: block;
    width: 100%;
    font-size: 15px !important;
    /* font-size: 14px !important; */
    line-height: 1.42857143;
    color: #71748d;
    background-color: #fff;
    background-image: none;
    border: 2px solid #cdd3c7;
    border-radius: 5px;
}

.dataTable {
    border-collapse: separate !important;
    border-spacing: 3px 0px !important;
}


.sw-theme-arrows {
    border: 1px solid var(--wizard-border);
    border-radius: 12px;
    padding: 20px;
}

.sw-theme-arrows>ul.step-anchor>li>a {
    color: var(--wizard-inactive-text);
    background: var(--wizard-inactive-bg);
    border-color: var(--wizard-inactive-border);
}

.sw-theme-arrows>ul.step-anchor>li>a:after {
    border-left-color: var(--wizard-inactive-bg);
}

.sw-theme-arrows>ul.step-anchor>li.active>a {
    background: var(--wizard-active-bg) !important;
    color: var(--wizard-active-text) !important;
    border-color: var(--wizard-active-bg) !important;
}

.sw-theme-arrows>ul.step-anchor>li.active>a:after {
    border-left-color: var(--wizard-active-bg) !important;
}

.sw-theme-arrows>ul.step-anchor>li.done>a {
    background: var(--wizard-done-bg) !important;
    color: var(--wizard-done-text) !important;
    border-color: var(--wizard-done-bg) !important;
}

.sw-theme-arrows>ul.step-anchor>li.done>a:after {
    border-left-color: var(--wizard-done-bg) !important;
}

.sw-btn-next,
.sw-btn-prev {
    background: var(--wizard-active-bg) !important;
    color: var(--wizard-active-text) !important;
    border: none !important;
    padding: 10px 30px !important;
    border-radius: 8px !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    transition: all 0.3s ease !important;
}

.sw-btn-next:hover,
.sw-btn-prev:hover {
    background: var(--wizard-hover-bg) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.sw-btn-next.disabled,
.sw-btn-prev.disabled {
    background: var(--wizard-disabled-bg) !important;
    cursor: not-allowed !important;
    opacity: var(--wizard-disabled-opacity) !important;
}

.sw-btn-next.submit {
    background: var(--wizard-done-bg) !important;
}

.sw-btn-next.submit:hover {
    background: var(--adjacent-hover) !important;
}

/* NEW: Dynamic toolbar positioning */
.sw {
    position: relative;
}

.sw>.tab-content {
    min-height: auto !important;
    overflow: visible !important;
    margin-bottom: 10px;
    /* Space for toolbar */
}

.sw>.tab-content>.tab-pane {
    overflow: visible !important;
    min-height: auto !important;
}

.sw-toolbar {
    position: relative !important;
    background: #fff !important;
    border-top: 1px solid #eee !important;
    padding: 20px 30px !important;
    margin-top: 30px !important;
    text-align: right !important;
    display: block !important;
    clear: both !important;
}

.form-container {
    background: var(--white-color);
    padding: 30px;
    border-radius: 12px;
    margin-top: 20px;
}

/* Member section - no fixed height */
.member-list {
    margin-top: 20px;
    overflow: visible !important;
}

.member-item {
    margin-bottom: 15px;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #f9f9f9;
}

/* Dispatch section - no fixed height */
#dispatch-details-table,
#group-amount {
    width: 100%;
    margin-bottom: 20px;
}

.dispatch-container {
    overflow: visible !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current {
    color: var(--white-color) !important;
}

.dataTables_paginate,
.dataTables_info {
    margin-top: 20px;
}

/* Masters Submenu Styles */
.menu-item.has-submenu .submenu-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.menu-item.has-submenu .submenu-arrow {
    margin-left: auto;
    transition: transform 0.3s ease;
    font-size: 0.75em;
}

.menu-item.has-submenu.open .submenu-arrow {
    transform: rotate(180deg);
}

.submenu {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, opacity 0.3s ease;
    opacity: 0;
    background-color: rgba(0, 0, 0, 0.1);
}

.menu-item.has-submenu.open .submenu {
    max-height: 500px;
    opacity: 1;
    margin-top: 5px;
}

.submenu li {
    padding: 0;
}

.submenu li a {
    display: flex;
    align-items: center;
    padding: 10px 20px 10px 20px;
    color: #fff;
    text-decoration: none;
    transition: background-color 0.2s, padding-left 0.2s;
    font-size: 0.95em;
}

.submenu li a i {
    margin-right: 10px;
    font-size: 0.9em;
    width: 16px;
    text-align: center;
}

.submenu li a:hover,
.submenu li.active a {
    background-color: rgba(183, 183, 27, 0.2);
    padding-left: 20px;
}

/* Collapsed sidebar submenu behavior */
.sidebar.collapsed .menu-item.has-submenu .submenu {
    position: absolute;
    left: 100%;
    top: 0;
    width: 220px;
    background-color: #073f41;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
    z-index: 1001;
    border-radius: 0 8px 8px 0;
}

.sidebar.collapsed .menu-item.has-submenu:hover .submenu {
    max-height: 500px;
    opacity: 1;
}

.sidebar.collapsed .submenu li a {
    padding: 10px 20px;
}

.sidebar.collapsed .submenu li a:hover {
    padding-left: 25px;
}

.sidebar.collapsed .menu-item.has-submenu .submenu-arrow {
    display: none;
}

/* ============================================
   GROUP MEMBER SLOT CARDS
   ============================================ */

/* Slot Card Container */
.slot-card {
    background: #ffffff;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(7, 63, 65, 0.08);
    transition: all 0.3s ease;
}

.slot-card:hover {
    border-color: #073f41;
    box-shadow: 0 4px 12px rgba(7, 63, 65, 0.15);
    transform: translateY(-2px);
}

/* Slot Header */
.slot-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 15px;
    margin-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
}

.slot-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #073f41;
    margin: 0;
}

/* Slot Body */
.slot-body {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Toggle Button Group */
.btn-group-toggle {
    background: #f8f9fa;
    padding: 4px;
    border-radius: 8px;
    border: 1px solid #dee2e6;
}

.btn-group-toggle .btn {
    border: none !important;
    padding: 8px 20px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #6c757d;
    background: transparent;
    transition: all 0.2s ease;
}

.btn-group-toggle .btn:hover {
    color: #073f41;
}

.btn-group-toggle .btn.active,
.btn-group-toggle label.active {
    background: #073f41 !important;
    color: #ffffff !important;
    box-shadow: 0 2px 4px rgba(7, 63, 65, 0.2);
}

/* Status Switch */
.form-check.form-switch {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
}

.form-check.form-switch .form-check-input {
    width: 42px;
    height: 22px;
    cursor: pointer;
    margin: 0;
}

.form-check.form-switch .form-check-input:checked {
    background-color: #28a745;
    border-color: #28a745;
}

.form-check.form-switch .form-check-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #6c757d;
    margin: 0;
    cursor: pointer;
}

/* Single and Team Views */
.single-view,
.team-view {
    margin-top: 8px;
}

.single-view .form-select {
    border: 1px solid #dee2e6;
    border-radius: 6px;
    padding: 10px 15px;
    font-size: 0.95rem;
    transition: border-color 0.2s;
}

.single-view .form-select:focus {
    border-color: #073f41;
    box-shadow: 0 0 0 0.2rem rgba(7, 63, 65, 0.15);
}

/* Single Member Row */
.single-member-row {
    display: flex;
    gap: 10px;
    align-items: center;
}

.single-member-row .form-select {
    flex: 1;
}

.single-member-row .join-date-input {
    width: 165px;
    font-size: 0.9rem;
}

/* Team Member Rows */
.team-member-row {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
    align-items: center;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 6px;
    border: 1px solid #e9ecef;
}

.team-member-row .form-select,
.team-member-row .form-control {
    border: 1px solid #dee2e6;
    border-radius: 4px;
    font-size: 0.9rem;
}

.team-member-row .form-select {
    flex: 1;
}

.team-member-row .share-input {
    width: 85px;
    text-align: center;
    font-weight: 600;
}

.team-member-row .join-date-input {
    width: 145px;
    font-size: 0.85rem;
}

.team-member-row .remove-team-member {
    color: #dc3545;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 5px;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.team-member-row .remove-team-member:hover {
    color: #bd2130;
    transform: scale(1.1);
}

/* Add Team Member Button */
.add-team-member {
    background: #ffffff;
    border: 2px dashed #073f41;
    color: #073f41;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.2s;
    width: 100%;
    margin-top: 8px;
}

.add-team-member:hover {
    background: #073f41;
    color: #ffffff;
    border-style: solid;
}

.add-team-member i {
    margin-right: 6px;
}


.members-header {
    font-size: 1.3rem;
    font-weight: 700;
    color: #073f41;
    margin-bottom: 25px;
}


@media (max-width: 768px) {
    .slot-card {
        padding: 15px;
    }

    .slot-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .team-member-row {
        flex-wrap: wrap;
    }

    .team-member-row .share-input {
        width: 100%;
    }
}


.btn-group-toggle .btn-outline-primary {
    padding: 15px;
}

/* Ensure SmartWizard toolbar is always visible */
.sw-toolbar {
    clear: both;
    position: relative !important;
    margin-top: 20px;
    padding: 15px 0;
}

.sw-container .tab-content {
    min-height: 300px;
    margin-bottom: 20px;
    overflow: visible !important;
}

.range_inputs button.btn-success {
    background: linear-gradient(45deg, #32a34b, #32a34b) !important;
    box-shadow: 0px 12px 22px 0 rgba(0, 0, 0, .1) !important;
    border: solid 1px #32a34b !important;
}

/*.range_inputs button.btn-success {
    background: linear-gradient(45deg, #262823, #0a0b08) !important;
    box-shadow: 0px 12px 22px 0 rgba(0,0,0,.1)!important;
    border: solid 1px #1c1d1b !important;
}*/
.range_inputs button.btn-default {
    background-color: #f05c18 !important;
    color: #fff;
    border: 1px solid #f05c18;
}


.bg-primary {
    background-color: var(--primary-color) !important;
}

.dashboard-card {
    border-radius: 12px;
    transition: all 0.2s ease-in-out;
    border: none;
    padding: 8px !important;
}

.dashboard-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.10);
}

.icon-box {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    margin: auto;
}

.card-title {
    font-size: 1rem !important;
    margin-top: 6px !important;
}

.display-6 {
    font-size: 1.4rem !important;
}

.card-body {
    padding: 12px !important;
}

.card-body .d-flex {
    font-size: 0.9rem;
}

.table-dark tr th {
    background-color: var(--primary-color) !important;
}

/* 
.table-dark tr {
    background-color: var(--primary-color) !important;
} */