.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: #b7b71b;
    --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: #B7B71B;
    --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;
}

body {
    background: #ffffff;
    font-family: "Poppins", sans-serif;
    margin: 0;
    font-size:16px!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;
}
.form-control {
    border-radius: 10px;
    height: 48px;
    font-size: 15px;
    padding-right: 40px !important; 
}
.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: 1000;
    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: 0px 20px 20px;
    display: flex;
    flex-direction: column;
    transition: margin-left 0.3s ease;
    width: 85%;
    padding-left: 15%;
}

/* Push content when sidebar is open */
body:not(.sidebar-collapsed) .main-content {
    margin-left: 0;
}
.main-header {
    background-color: #073f41;
    padding: 20px;
    border-radius: 0px 20px 20px 0px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 85%;
    position: fixed;
    z-index: 100;
}

.header-left {
    display: flex;
    align-items: center;
}

.welcome-section h1 {
    font-size: 1.5em;
    color: #fff;
    margin-bottom: 5px;
}

.tagline {
    font-size: 0.9em;
    color: #777;
    margin-top: -10px;
    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(200px, 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: #000;
    margin-bottom: 15px;
    text-align: center;
}

.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: 15px;
    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: rgb(7 63 65 / 46%) 0px 2px 4px 0px, rgb(7 63 65 / 55%) 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: 400;
    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: 18px;
    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;
}

.payment-defaulter-table th {
    background-color: #073f41;
    font-weight: bold;
    color: #fff;
    text-align: center;
}

.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: 0px;
}
.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;
    /*padding: 0px 110px 0px 0px;*/
}
.dashboard-text{
   padding-left: 45px;
   margin-top: 10%;
}
.amount-rate{
    color:#000;
    text-align: center;
    font-size: 20px;
    font-weight: 500;
    margin-top: 40px;
}
.paid-amount{
    font-size: 15px;
    padding: 5px;
    border-radius: 5px;
    margin-top: 10px;
    font-weight: 500;
}
.paid-amount strong{
    color:#000;
}
.pending-amount {
    font-size: 15px;
    padding: 5px;
    border-radius: 5px;
    margin-top: 10px;
    font-weight: 500;
}
.pending-amount strong{
   color:#000;
}
.to-receive p{
    font-size: 26px;
    font-weight: 400;
    margin: 20px 0 30px 0;
}
.to-pay p{
    font-size: 26px;
    font-weight: 400;
    margin: 20px 0 30px 0;
}
.closing p{
    font-size: 26px;
    font-weight: 400;
    margin: 20px 0 30px 0;
}
.projection-cards .amount.large span{
    border: 1px solid #ccc;
    padding: 10px 80px;
    border-radius: 15px;
    box-shadow: rgb(7 63 65 / 43%) 0px 0px 0px 2px, rgb(7 63 65 / 53%) 0px 4px 6px -1px, rgba(255, 255, 255, 0.08) 0px 1px 0px inset;;
}
.confirmed-count{
    box-shadow: rgb(7 63 65 / 40%) 0px 0px 0px 2px, rgb(7 63 65 / 26%) 0px 4px 6px -1px, rgba(255, 255, 255, 0.08) 0px 1px 0px inset;;
    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 {
      width: 100%;
      height: 400px;
}
.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 {
    width: 100%;
    height: 400px;
}
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;
}
.Schemes-text{
    padding-left: 45px;
}
.create-scheme{
    background-color: #073f41;
    border: none;
    padding: 8px 20px;
    color: #fff;
    font-size: 19px;
    position: absolute;
    top: 135px;
    right: 50px;
    border-radius: 15px;
}
.scheme-list{

}
.scheme-list ul{
   display: flex;
   padding: 0; 
   justify-content: space-between;
   flex-wrap: wrap;
}
.scheme-list ul li{
    width: 23%;
    list-style: none;
    box-shadow: rgb(183 183 27 / 65%) 0px 1px 1px, rgb(183 183 27 / 65%) 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: 16px;
}
.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;
}

.scheme-description p:nth-of-type(2) {
    color: #000;
    line-height: 20px;
    min-height: 100px;
    max-height: 100px;
}
.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: 15px;
}
.breadcrumb {
    color: #504F4F;
    font-size: 23px!important;
    font-weight: 500;
    margin-bottom: 10px;
}

.breadcrumb strong {
    color: black;
    font-weight: 600;
}

.page-title {
    color: black;
    font-size: 26px;
    font-weight: 600;
    margin-bottom: 10px;
}

.page-subtitle {
    color: #808080;
    font-size: 14px;
    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: 20px;
    font-weight: 600;
    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: rgb(7 63 65) !important
    color: white !important;
    font-size: 16px;
    font-weight: 700;
    border: none;
    padding: 20px;
    text-align: center !important;
}

table.dataTable tbody td {
    padding: 20px;
    text-align: center;
    vertical-align: middle;
    border: 1px solid #dee2e6;
    background: #F8F8F8;
    color: black;
    font-size: 15px;
    font-weight: 400;
}

table.dataTable tbody tr:nth-child(even) td {
    background: #f8f9fa;
}

.status-badge {
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 16px;
    font-weight: 500;
}

.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: 15px;
    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: 15px;
    font-weight: 600;
    color: black;
    margin: 0;
}

.scheme-name {
    font-size: 14px;
    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: 14px;
}

.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-input {
    width: 100%;
    height: 70px;
    background: rgba(152, 201, 250, 0.08);
    border-radius: 12px;
    border: 1px solid #BBBBBB;
    padding: 0 20px;
    font-size: 16px;
    color: rgba(128, 128, 128, 0.80);
    font-weight: 500;
}

.form-select.custom-input {
    position: relative;
    width: 100%;
    height: 70px;
    background: rgba(152, 201, 250, 0.08);
    border-radius: 12px;
    border: 1px solid #BBBBBB;
    padding: 0 20px;
    font-size: 20px;
    color: rgba(128, 128, 128, 0.80);
    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: #B7B71B;
}

.btn-primary:hover {
    background: #7c7c25ff;
}

.btn-secondary {
    background: #ff6525;
    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;
  }

  .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-badge {
  padding: 5px 10px;
  border-radius: 12px;
  color: #fff;
  font-size: 13px;
}

.status-active {border: 2px solid #008000;background: #fff;color: #008000; }
.status-inactive {border: 2px solid #ef9444;background: #fff;color: #ef9444; }

.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;
}
.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;
}
.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: 26px;
            font-weight: 500;
            margin-bottom: 15px;
        }
        
        .required {
            color: #DB0E0E;
            margin-left: 5px;
        }
        
        .form-input {
            width: 100%;
            height: 67px;
            border-radius: 12px;
            border: 1px solid #BBB;
            background: rgba(152, 202, 251, 0.08);
            padding: 0 22px;
            font-size: 20px;
            color: rgba(128, 128, 128, 0.80);
        }
        
        .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: left;
            padding: 15px;
            font-size: 26px;
            font-weight: 500;
            border-bottom: 1px solid #CECCCC;
        }
        
        .monthly-table td {
            padding: 15px;
            border-bottom: 1px solid #CECCCC;
        }
        
        .month-name {
            font-size: 26px;
            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(254 234 169 / 49%) 0px 2px 4px 0px, rgb(255 196 7 / 30%) 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-badge {
            padding: 6px 12px;
            border-radius: 6px;
            font-weight: 600;
            text-align: center;
        }

        .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%;
}
.select2-container .select2-selection--single {
    height: 67px !important;
    display: flex !important;
    font-size: 20px;
    align-items: center;
    border: 1px solid #BBB !important;
    border-radius: 12px !important;
    font-weight: bold;
}

.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;
    border-radius: 7px;
}
.members-section {
    width: 100%;
    margin: 2px auto;
    font-family: 'Segoe UI', 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: 14px;
    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: rgb(7 63 65 / 48%) 0px 2px 4px 0px, rgb(7 63 65 / 57%) 0px 2px 16px 0px;;
    padding: 30px 50px;
    margin-bottom:30px;
}
.breadcrumb-item a{
    color:#000;
    text-decoration: unset;
}
.create-scheme a{
    color:#fff;
    text-decoration: unset;
}
.breadcrumb-item a.active {
    color: #073f41;
    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: 'Segoe UI', 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: 8px;
  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;
}
.pay-pending{
    color:#e87a1a;
}
.pay-reserved{
    color:#1601ff;
}
   .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: 'Segoe UI', 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: 'Segoe UI', 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;
}
.group-profit-analysis{
    background: #073f41;
    padding: 10px;
    color: #fff;
}
.revenue{
    background: #f5d5d7!important;
    color: #c40655;
}
.distribution-amount{
    background: #f5d4b8!important;
    color: #eb9042;
}
.profit-amount{
    background: #b0d6b0!important;
    color: #008000;
}
 .profit-table-wrapper {
    width: 100%;
    overflow-x: auto;
    margin-top: 20px;
}

.profit-table {
    width: 100%;
    border-collapse: collapse;
    font-family: Arial, sans-serif;
    background: white;
    border: 1px solid #ddd;
}

.profit-table thead th {
    background: #0d3b3f;
    color: #fff;
    padding: 10px;
    text-align: center;
}

.profit-table th,
.profit-table td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: center;
}

.header-row td {
    background: #e2e8f0;
    font-weight: bold;
}
.paid {
    background: #b7e4b3 !important;
}

.received {
    background: #ffd8cc !important;
}
.revenue-row td {
    background: #ffccd5;
    font-weight: bold;
    color: #b30027;
}

.distribution-row td {
    background: #fff3cd;
    font-weight: bold;
    color: #ba8b00;
}

.profit-row td {
    background: #d4f7d0;
    font-weight: bold;
    color: #0a7a0a;
}

.profit-table-wrapper {
    width: 100%;
    overflow-x: auto;
    position: relative;
    margin-bottom: 65px;
}
.profit-table {
    border-collapse: collapse;
    width: max-content;
}
.profit-table th:nth-child(1),
.profit-table td:nth-child(1) { width: 180px; }

.profit-table th:nth-child(2),
.profit-table td:nth-child(2) { width: 180px; }

.profit-table th:nth-child(3),
.profit-table td:nth-child(3) { width: 120px; }

.profit-table th:nth-child(1),
.profit-table td:nth-child(1) {
    position: sticky;
    left: 0;
    background: #fff;
    z-index: 50;
}

.profit-table th:nth-child(2),
.profit-table td:nth-child(2) {
    position: sticky;
    left: 180px;
    background: #fff;
    z-index: 45;
}

.profit-table th:nth-child(3),
.profit-table td:nth-child(3) {
    position: sticky;
    left: 360px;
    background: #fff;
    z-index: 40;
}
.profit-table thead th {
    position: sticky;
    top: 0;
    background: #0f3b3e;
    color: white;
    z-index: 30;
}
.table-section,
.chart-section,
.other-sections {
    display: none !important;
}
.filter-box {
    box-shadow: rgb(7 63 65) 0px 1px 3px 0px, rgba(27, 31, 35, 0.15) 0px 0px 0px 1px;
    padding: 10px;
    margin-bottom: 35px;
    border-radius: 15px;
}
.filter-box h3{
        background: #073f41;
    color: #fff;
    padding: 10px;
    border-radius: 5px;
    font-size: 20px;
}
.group-select{
    display:flex;
    align-items: center;
}
.group-select div{
    width: 70%;
}
.button-filter{
    margin-left: 50px;
    margin-right: 40px;
}
   #Revenuechart {
      width: 100%;
      height: 450px;
      background: #f8eef2;
    padding: 10px;
    border-radius: 15px;
    }
    #distributionchart {
      width: 100%;
      height: 450px;
      background: #faf4ef;
      padding: 10px;
      border-radius: 15px;
    }
    #Profitchart {
      width: 100%;
      height: 450px;
      background: #eef4ee;
      padding: 10px;
      border-radius: 15px;
    }