.content {
    flex: 1; 
} 

.footer {
    background: #e9e9e9;
    font-size: 14px;
    color: #444;
    text-align: center;
}


.btn {
    text-transform: capitalize;
}
a {
    text-decoration: none;
}
  html, body {
        font-family: "Poppins", sans-serif;
        background: #f4f6f9;
        transition: 0.3s;
        overflow-x: hidden;
        text-transform: capitalize;

         height: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
    }
    body.dark {
        background: #1e1e1e;
        color: #fff;
    }




    /* SIDEBAR */
    .sidebar {
        width: 250px;
        height: 100vh;
        position: fixed;
        background: #fff;
        padding: 20px 15px;
        color: #fff;
        transition: 0.3s;
        z-index: 999;
        left: 0;
        top: 0;
         overflow-y: auto;       
    overflow-x: hidden;
    }
    body.dark .sidebar {
        background: #000;
    }
     body.dark .sidebar a {
        color: #fff;
     }
    .sidebar img {
        width: 120px;
        margin-bottom: 20px;
    }

    .sidebar a {
        color: #000;
        display: block;
        margin: 12px 0;
         padding: 5px;
        font-size: 15px;
        text-decoration: none;
    }
    .sidebar a:hover {
        opacity: 0.7;
    }
        .sidebar-menu,
.sidebar-menu ul {
    padding-left: 0;
    list-style: none;
}

.sidebar-menu li {
    margin-bottom: 8px;
}



.sidebar-menu a:hover {
    background: #f4f4f4;
}
#sidebar::-webkit-scrollbar {
    width: 6px;
}

#sidebar::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 10px;
}

#sidebar::-webkit-scrollbar-thumb:hover {
    background: #555;
}
.arrow {
    transition: .3s;
}

.rotate {
    transform: rotate(180deg);
}

/* Submenu Hidden */
.submenu {
    display: none;
    padding-left: 20px;
}

/* Submenu item style */
.submenu li a {
    background: #f7f7f7;
    border-left: 3px solid #03edf1;
    margin: 4px 0;
    border-radius: 4px;
}

/* Active submenu item */
.submenu li a.active {
    background: linear-gradient(45deg, #038486, #03edf1);
    color: #fff !important;
}
    /* Close Button (only mobile) */
    .close-sidebar {
        position: absolute;
        top: 15px;
        right: 15px;
        font-size: 26px;
        cursor: pointer;
        display: none;
    }
    .close-sidebar i { color: #fff; }

    /* CONTENT AREA */
    .content {
        margin-left: 260px;
        padding: 25px;
        transition: 0.3s;
    }

    /* HEADER */
    .header {
        display: flex;
        justify-content: space-between;
        background: #fff;
        padding: 15px 20px;
        border-radius: 8px;
        margin-bottom: 20px;
        align-items: center;
        transition: 0.3s;
    }
    body.dark .header {
        background: #333;
        color: #fff;
    }

    /* MOBILE TOGGLE BUTTON */
    .menu-btn {
        font-size: 26px;
        margin-right: 15px;
        cursor: pointer;
        display: none;
    }

    /* PROFILE DROPDOWN */
    .profile-area {
        position: relative;
        cursor: pointer;
        display: flex;
        align-items: center;
        gap: 10px;
        z-index: 1;
    }
    .profile-dropdown {
        position: absolute;
        top: 50px;
        right: 0;
        background: #fff;
        width: 150px;
        border-radius: 6px;
        box-shadow: 0px 0px 10px rgba(0,0,0,0.2);
        display: none;
        overflow: hidden;
    }
    body.dark .profile-dropdown { background: #222; }

    .profile-dropdown a {
        display: block;
        padding: 10px;
        color: #333;
        text-decoration: none;
    }
    body.dark .profile-dropdown a {
        color: #fff;
    }

    .profile-dropdown a:hover {
        background: #f0f0f0;
    }
    body.dark .profile-dropdown a:hover {
        background: #333;
    }
       h5 {
        color: #038486;
    }
/* =========index card read more & copy  start=========== */
 .deshboardcrad {
    background: linear-gradient(135deg, #038486, #03edf1);
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    transition: transform 0.4s, box-shadow 0.4s;
    cursor: pointer;
    height:100%;
    text-transform: capitalize;
}

.deshboardcrad:hover {
    transform: translateY(-10px);

    box-shadow: 0 15px 30px rgba(0,0,0,0.25);
}

.deshboardcrad img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    margin-bottom: 15px;
}

.deshboardcrad h6 {
    color:#fff;
    font-weight: 700;
}

.deshboardcrad p {
    font-size: 20px;
    font-weight: bold;
    margin: 0;
    color: #333;
}
/* =========index card read more & copy  end=========== */

.custom-card {
  background: linear-gradient(135deg, #038486, #03edf1);
  border-radius: 14px;
  box-shadow: 0px 4px 20px rgba(0,0,0,0.1);
  transition: 0.3s;
  border-left: 6px solid #022424 ;
  height:100%;
}

.custom-card:hover {
  transform: translateY(-4px);
  box-shadow: 0px 6px 25px rgba(0,0,0,0.15);
}
ul.read-more-list {
padding-left:0;
}
.card-title {
  color: #fff;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 15px;
}

.read-more-list li {
  list-style: none;
  padding: 3px 0;
  font-size: 14px;
  color: #fff;
}

.read-more-btn {
  border: none;
  background: transparent;
  color: #fff;
  font-size: 14px;
  cursor: pointer;
  padding: 0;
  text-align: left;
}

.copy-btn {
  background: #343a40;
  color: #fff;
  border: none;
  padding: 6px 12px;
  width: 100%;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
}

.copy-btn:hover {
  background: #23272b;
}

.btn-apply {
  background: #fff;
  color: #000;
  padding: 8px 12px;
  display: block;
  text-align: center;
  border-radius: 6px;
  text-decoration: none;
}

.btn-apply:hover {
  background: #000;
  color: #fff;
}

/* =========index card read more & copy end=========== */

/* Action Menu Styles */
.action-menu {
  position: relative;
  display: inline-block;
}

.action-menu-content {
  display: none;
  position: absolute;
  background-color: #fff;
  min-width: 160px;
  border: 1px solid #ccc;
  z-index: 1;
  box-shadow: 0px 4px 6px rgba(0,0,0,0.1);
  padding: 5px 0;
  border-radius: 5px;
}

.action-menu-content a {
  display: block;
  padding: 8px 12px;
  text-decoration: none;
  color: #333;
}

.action-menu-content a:hover {
  background-color: #f1f1f1;
}
/* =================progess bar start ============== */

.toggle-wrapper {
  display: flex;
  align-items: center;
  padding: 5px 12px;
}

.table-responsive {
    overflow-x: auto;
    padding-bottom: 35px;
}

/* Scrollbar size */
.table-responsive::-webkit-scrollbar {
    height: 8px;
}

/* Scroll track */
.table-responsive::-webkit-scrollbar-track {
    background: #e8e8e8;
    border-radius: 50px;
}

/* Animated Thumb */
.table-responsive::-webkit-scrollbar-thumb {
    background: linear-gradient(90deg, #03a5a8, #0cc2c5, #03a5a8);
    background-size: 200% 100%; /* important */
    border-radius: 50px;
    animation: moveGradient 2s linear infinite; /* animation runs forever */
}

/* Animation keyframe */
@keyframes moveGradient {
    0% {
        background-position: 0% 0%;
    }
    100% {
        background-position: 200% 0%;
    }
}

/* =================progess bar end ============== */


/* Responsive adjustments for small screens */
    /* RESPONSIVE SIDEBAR */
    @media(max-width: 992px){
        .sidebar {
            left: -260px;
        }
        .sidebar.open {
            left: 0;
        }
        .menu-btn {
            display: inline-block;
        }
        .content {
            margin-left: 0 !important;
        }
        .close-sidebar {
            display: block;
        }
    }

@media screen and (max-width: 768px) {
    .dataTables_wrapper .dt-top {
        flex-direction: column;
        align-items: stretch;
    }
    .dataTables_wrapper .dataTables_filter {
        justify-content: flex-start;
    }
    .dataTables_wrapper .dt-buttons {
        justify-content: flex-start;
    }
    .admin-name {
    font-size: 18px;
}
}


   @media screen and (max-width: 639px) {
    .wallet-box h2 {
        font-size: 18px !important;
    }
}
  @media screen and (max-width: 539px) {
    .gaping_main {
    text-align: center;
}
    .gaping {
    margin-bottom: 10px;
}
.admin-name {
    font-size: 16px;
}
  }

   @media screen and (max-width: 439px) {
    .wallet-box h2 {
        font-size: 16px ;
    }
    .wallet-box {
    padding: 10px;
    }
    .add-money-btn {
            padding: 5px;
            
    }
   }


 