     :root {
            --primary: #289b2d;
            --primary-dark: #126b41;
            --primary-light: #e9f7ef;
            --sidebar-width: 260px;
            --header-height: 70px;
        }

        * {
            box-sizing: border-box;
        }
 
 
 
 body {
            margin: 0;
            min-height: 100vh;
           
            font-family: Arial, sans-serif;
        }

        .login-wrapper {
            min-height: 100vh;
            display: flex;
             background:
        linear-gradient(
            135deg,
            #c1d85d8f,
            rgba(25, 135, 84, 0.82)
        ),
        url("images/environmant.png");
            align-items: center;
            justify-content: center;
            background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
            padding: 20px;
        }

        .login-card {
            width: 100%;
            max-width: 420px;
            background: #ffffff;
            border: 0;
            border-radius: 18px;
            box-shadow: 0 15px 45px rgba(0, 0, 0, 0.20);
            overflow: hidden;
        }

        .login-header {
            background: linear-gradient(
        135deg,
        rgba(197, 180, 34, 0.55),
        rgba(42, 135, 25, 0.55)
    ),
    url("images/service2.png");
            padding: 80px 20px;
            text-align: center;
            background-size: cover;
     
    
            color: #fff;
        }

        .login-icon {
            width: 65px;
            height: 65px;
            margin: 0 auto 15px;
            background: rgba(255,255,255,0.18);
            border: 1px solid rgba(255,255,255,0.3);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 28px;
        }

        .login-header h3 {
            margin: 0;
            font-weight: 700;
        }

        .login-header p {
            margin: 7px 0 0;
            font-size: 14px;
            opacity: 0.9;
        }

        .login-body {
            padding: 30px;
        }

        .form-label {
            font-weight: 600;
            color: #333;
            font-size: 14px;
        }

        .input-group-text {
            background: #eaf7ef;
            border-color: #ced4da;
            color: #198754;
        }

        .form-control {
            height: 48px;
            border-radius: 0 8px 8px 0;
        }

        .input-group-text {
            border-radius: 8px 0 0 8px;
            width: 48px;
            justify-content: center;
        }

        .form-control:focus {
            border-color: #198754;
            box-shadow: 0 0 0 0.2rem rgba(25, 135, 84, 0.15);
        }

        .login-btn {
            width: 100%;
            height: 48px;
            border: none;
            border-radius: 8px;
            background: linear-gradient(135deg, #26301b, #52460a);
            color: #fff;
            font-weight: 600;
            transition: 0.3s ease;
        }

        .login-btn:hover {
            background: linear-gradient(135deg, #795205, #c6ad49);
            transform: translateY(-1px);
        }

        .forgot-link {
            color: #198754;
            text-decoration: none;
            font-size: 14px;
            font-weight: 500;
        }

        .forgot-link:hover {
            color: #0b6b3a;
            text-decoration: underline;
        }

        .login-footer {
            text-align: center;
            margin-top: 22px;
            color: #777;
            font-size: 14px;
        }

        .login-footer a {
            color: #198754;
            font-weight: 600;
            text-decoration: none;
        }

        @media (max-width: 480px) {
            .login-wrapper {
                padding: 15px;
            }

            .login-body {
                padding: 25px 20px;
            }

            
        }

      

         

        /* ================= SIDEBAR ================= */

        .admin-sidebar {
            width: 260px;
            width: var(--sidebar-width);
            height: 100vh;
            position: fixed;
            top: 0;
            left: 0;
            background: #000;
            border-right: 1px solid #e5e7eb;
            z-index: 1050;
            overflow-y: auto;
            transition: all 0.3s ease;
        }

        .sidebar-logo {
            height: var(--header-height);
            display: flex;
            align-items: center;
            padding: 0 22px;
            border-bottom: 1px solid #eeeeee;
            font-size: 21px;
            font-weight: 700;
            color: var(--primary);
        }

        .sidebar-logo i {
            font-size: 27px;
            margin-right: 10px;
        }

        .sidebar-menu {
            padding: 18px 12px;
        }

        .menu-title {
            font-size: 13px;
            text-transform: uppercase;
            color: #999;
            font-weight: 700;
            padding: 5px 7px;
            letter-spacing: 0.7px;
            background-color: #e0e0e044;
            border-radius: 5px;
        }

        .sidebar-menu a {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 11px 13px;
            margin-bottom: 4px;
            color: #cbc1c1;
            text-decoration: none;
            border-radius: 8px;
            font-size: 15px;
            transition: 0.2s;
        }

        .sidebar-menu a i {
            font-size: 18px;
            width: 21px;
        }

        .sidebar-menu a:hover {
            background: var(--primary-light);
            color: var(--primary);
        }

        .sidebar-menu a.active {
            background: var(--primary);
            color: #fff;
        }

        .sidebar-menu a.active:hover {
            background: var(--primary-dark);
            color: #fff;
        }

        .sidebar-divider {
            border-top: 1px solid #eeeeee;
            margin: 15px 5px;
        }

        /* ================= MAIN ================= */

        .admin-main, .main-content {
            margin-left: 260px !important;
            min-height: 100vh;
            background-color: #f8fafc;
            position: relative;
        }

        .dashboard-content, .page-wrapper {
            padding: 24px;
            width: 100%;
        }

        /* ================= HEADER ================= */

        .admin-header {
            height: var(--header-height);
            background: #ffffff;
            border-bottom: 1px solid #e5e7eb;
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 0 25px;
            position: sticky;
            top: 0;
            z-index: 1000;
        }

        .header-search {
            width: 400px;
            position: relative;
        }

        .header-search i {
            position: absolute;
            left: 14px;
            top: 12px;
            color: #999;
        }

        .header-search input {
            width: 100%;
            height: 42px;
            border: 1px solid #e0e0e0;
            border-radius: 8px;
            padding-left: 40px;
            outline: none;
            background: #f8f9fa;
        }

        .header-search input:focus {
            border-color: var(--primary);
            background: #fff;
            box-shadow: 0 0 0 3px rgba(25, 135, 84, 0.08);
        }

        .header-right {
            display: flex;
            align-items: center;
            gap: 14px;
        }

        .header-icon {
            width: 40px;
            height: 40px;
            border: 1px solid #e5e5e5;
            background: #fff;
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #555;
            cursor: pointer;
            position: relative;
        }

        .header-icon:hover {
            background: var(--primary-light);
            color: var(--primary);
        }

        .notification-dot {
            width: 8px;
            height: 8px;
            background: #dc3545;
            border-radius: 50%;
            position: absolute;
            top: 7px;
            right: 7px;
        }

        .admin-profile {
            display: flex;
            align-items: center;
            gap: 9px;
            cursor: pointer;
        }

        .profile-img {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background: var(--primary);
            color: #fff;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 700;
        }

        .profile-name {
            font-size: 14px;
            font-weight: 600;
        }

        .profile-role {
            display: block;
            color: #999;
            font-size: 11px;
            font-weight: normal;
        }

        /* ================= CONTENT ================= */

        .dashboard-content {
            padding: 25px;
        }

        .page-title {
            font-size: 25px;
            font-weight: 700;
            margin-bottom: 5px;
        }

        .page-subtitle {
            color: #888;
            font-size: 14px;
            margin-bottom: 25px;
        }

        /* ================= STAT CARDS ================= */

        .stat-card {
            background: #ececec87 !important;
            border: 1px solid #8e7f7f !important;
            border-radius: 12px;
            padding: 20px;
            height: 100%;
            transition: 0.25s;
        }

        .stat-card:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.07);
        }

        .stat-top {
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

        .stat-icon {
            width: 48px;
            height: 48px;
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: var(--primary-light);
            color: var(--primary);
            font-size: 23px;
        }

        .stat-number {
            font-size: 27px;
            font-weight: 700;
            margin-top: 15px;
        }

        .stat-label {
            color: #777;
            font-size: 14px;
        }

        .stat-growth {
            font-size: 12px;
            color: var(--primary);
            font-weight: 600;
        }

        /* ================= SECTION ================= */

        .dashboard-section {
            background: #fff;
            border: 1px solid #eeeeee;
            border-radius: 12px;
            padding: 20px;
            margin-top: 25px;
        }

        .section-heading {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 20px;
        }

        .section-heading h5 {
            margin: 0;
            font-size: 17px;
            font-weight: 700;
        }

        /* ================= QUICK LINKS ================= */

        .quick-card {
            display: flex;
            align-items: center;
            gap: 13px;
            padding: 15px;
            border: 1px solid #eeeeee;
            border-radius: 10px;
            text-decoration: none;
            color: #333;
            height: 100%;
            transition: 0.25s;
            background: #fff;
        }

        .quick-card:hover {
            color: var(--primary);
            border-color: #b7dfc8;
            background: var(--primary-light);
            transform: translateY(-2px);
        }

        .quick-icon {
            min-width: 43px;
            width: 43px;
            height: 43px;
            border-radius: 9px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: var(--primary-light);
            color: var(--primary);
            font-size: 20px;
        }

        .quick-card h6 {
            margin: 0 0 3px;
            font-size: 14px;
            font-weight: 600;
        }

        .quick-card small {
            color: #999;
            font-size: 11px;
        }

        /* ================= TABLE ================= */

        .table {
            margin-bottom: 0;
        }

        .table thead th {
            font-size: 12px;
            color: #777;
            font-weight: 600;
            border-bottom: 1px solid #eee;
            white-space: nowrap;
        }

        .table tbody td {
            font-size: 13px;
            vertical-align: middle;
            padding: 13px 8px;
        }

        .badge-success {
            background: #e7f7ed;
            color: #198754;
            padding: 6px 9px;
            border-radius: 20px;
        }

        .badge-warning {
            background: #fff4d6;
            color: #997404;
            padding: 6px 9px;
            border-radius: 20px;
        }

        .badge-danger {
            background: #fde8e8;
            color: #dc3545;
            padding: 6px 9px;
            border-radius: 20px;
        }

        /* ================= MOBILE ================= */

        .mobile-menu-btn {
            display: none;
            width: 40px;
            height: 40px;
            border: 1px solid #ddd;
            background: #fff;
            border-radius: 8px;
            font-size: 20px;
        }

        .sidebar-overlay {
            display: none;
        }

        @media (max-width: 991px) {

            .admin-sidebar {
                left: -260px;
            }

            .admin-sidebar.show {
                left: 0;
            }

            .admin-main, .main-content {
                margin-left: 0 !important;
            }

            .mobile-menu-btn {
                display: block;
            }

            .sidebar-overlay {
                position: fixed;
                inset: 0;
                background: rgba(0, 0, 0, 0.35);
                z-index: 1040;
            }

            .sidebar-overlay.show {
                display: block;
            }

            .header-search {
                width: 300px;
            }
        }

        @media (max-width: 767px) {

            .admin-header {
                padding: 0 15px;
            }

            .header-search {
                display: none;
            }

            .profile-name {
                display: none;
            }

            .dashboard-content {
                padding: 18px 15px;
            }

            .page-title {
                font-size: 22px;
            }

            .dashboard-section {
                padding: 15px;
            }
        }

        @media (max-width: 480px) {

            .header-right {
                gap: 7px;
            }

            .header-icon {
                width: 37px;
                height: 37px;
            }

            .profile-img {
                width: 37px;
                height: 37px;
            }

            .stat-number {
                font-size: 23px;
            }

            .quick-card {
                padding: 12px;
            }
        }

         .page-wrapper {
            padding: 20px;
        }

        /* ================= STAT CARDS ================= */

        .stat-card {
            background: #fff;
            border: 1px solid #e8edf5;
            border-radius: 12px;
            min-height: 92px;
            padding: 14px 16px;
            box-shadow: 0 2px 10px rgba(25, 55, 100, .035);
        }

        .stat-icon {
            width: 52px;
            height: 52px;
            border-radius: 11px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 25px;
            flex-shrink: 0;
        }

        .icon-blue {
            background: #eaf1ff;
            color: #1464f5;
        }

        .icon-green {
            background: #e8faeb;
            color: #0ca34a;
        }

        .icon-orange {
            background: #fff3d9;
            color: #ee9800;
        }

        .icon-purple {
            background: #f1e8ff;
            color: #8c48e8;
        }

        .stat-label {
            color: #66738c;
            font-size: 18px;
            margin-bottom: 3px;
        }

        .stat-number {
            font-size: 21px;
            font-weight: 700;
            line-height: 1.1;
            color: #17233c;
        }

        .stat-description {
            font-size: 10px;
            color: #75829a;
            margin-top: 5px;
        }

        /* ================= COMMON CARD ================= */

        .content-card {
            background: #8bc34a33;
            border: 1px solid #e4e9f2;
            border-radius: 10px;
            box-shadow: 0 2px 10px rgba(25, 55, 100, .025);
        }

        .card-header-custom {
            padding: 12px 14px;
            border-bottom: 1px solid #edf0f5;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .card-title {
            font-size: 14px;
            font-weight: 700;
            margin: 0;
        }

        /* ================= FORM ================= */

        .form-body {
            padding: 14px;
        }

        .form-label {
            font-size: 10px;
            font-weight: 600;
            color: #34415a;
            margin-bottom: 5px;
        }

        .required {
            color: #e53935;
        }

        .form-control,
        .form-select {
            height: 40px;
            
            padding: 4px 9px;
            border: 1px solid #dce2ec;
            border-radius: 5px;
            font-size: 10px;
            color: #65738d;
        }

        textarea.form-control {
            height: 38px;
            resize: none;
        }

        .form-control:focus,
        .form-select:focus {
            border-color: #7ba8ff;
            box-shadow: 0 0 0 2px rgba(18, 100, 245, .08);
        }

        .input-group-text {
            height: 30px;
            padding: 4px 8px;
            background: #f8fafc;
            border-color: #dce2ec;
            font-size: 10px;
        }

        .input-group .form-control {
            border-left: 0;
        }

        .flag {
            font-size: 14px;
            margin-right: 3px;
        }

        .btn {
            font-size: 11px;
            border-radius: 5px;
        }

        .btn-primary {
            background: #1264f5;
            border-color: #1264f5;
        }

        .btn-primary:hover {
            background: #0757df;
        }

        .btn-light-border {
            background: #fff;
            border: 1px solid #dce2ec;
            color: #56647c;
        }

        .btn-light-border:hover {
            background: #f5f8fc;
        }

        .form-footer {
            border-top: 1px solid #edf0f5;
            margin-top: 4px;
            padding-top: 10px;
        }

        .mandatory-note {
            color: #7d899e;
            font-size: 9px;
        }

        .mandatory-note span {
            color: #e53935;
        }

        /* ================= LIST HEADER ================= */

        .list-toolbar {
            padding: 10px 14px;
            border-bottom: 1px solid #edf0f5;
        }

        .search-box {
            position: relative;
        }

        .search-box i {
            position: absolute;
            left: 9px;
            top: 8px;
            color: #8090a8;
        }

        .search-box input {
            padding-left: 28px;
        }

        .toolbar-select {
            height: 40px;
            font-size: 10px;
        }

        /* ================= TABLE ================= */

        .table-wrap {
            overflow-x: auto;
        }

        .volunteer-table {
            min-width: 850px;
            margin: 0;
        }

        .volunteer-table th {
            background: #fafbfd;
            color: #53617a;
            font-size: 9px;
            font-weight: 700;
            white-space: nowrap;
            padding: 9px 8px;
            border-bottom: 1px solid #e8edf4;
        }

        .volunteer-table td {
            font-size: 9px;
            color: #33415a;
            padding: 8px;
            vertical-align: middle;
            border-bottom: 1px solid #edf1f6;
        }

        .volunteer-table tbody tr:hover {
            background: #fafcff;
        }

        .volunteer-info {
            display: flex;
            align-items: center;
            gap: 7px;
        }

        .volunteer-img {
            width: 29px;
            height: 29px;
            border-radius: 50%;
            object-fit: cover;
            background: #edf2f8;
        }

        .volunteer-name {
            font-weight: 700;
            font-size: 11px;
            color: #24314a;
        }

        .volunteer-email {
            font-size: 10px;
            color: #8a96aa;
            margin-top: 2px;
        }

        .vibhag-badge {
            display: inline-block;
            padding: 4px 7px;
            border-radius: 4px;
            font-size: 10px;
            font-weight: 600;
        }

        .vibhag-blue {
            color: #3873e8;
            background: #eaf1ff;
        }

        .vibhag-purple {
            color: #8745dc;
            background: #f2eaff;
        }

        .vibhag-orange {
            color: #dc9000;
            background: #fff2d7;
        }

        .vibhag-green {
            color: #15964c;
            background: #e5f8eb;
        }

        .contact-number {
            font-weight: 600;
            font-size: 12px;
        }

        .contact-location {
            color: #8b96aa;
            font-size: 10px;
            margin-top: 2px;
        }

        .status {
            display: inline-flex;
            align-items: center;
            gap: 5px;
            padding: 4px 8px;
            border-radius: 4px;
            font-size: 9px;
            font-weight: 600;
        }

        .status::before {
            content: "";
            width: 5px;
            height: 5px;
            border-radius: 50%;
        }

        .status-active {
            color: #15964c;
            background: #e6f8ec;
        }

        .status-active::before {
            background: #18a957;
        }

        .status-inactive {
            color: #e23838;
            background: #ffeded;
        }

        .status-inactive::before {
            background: #e23838;
        }

        .status-pending {
            color: #d99000;
            background: #fff5dc;
        }

        .status-pending::before {
            background: #f0a000;
        }

        .action-btn {
            width: 24px;
            height: 24px;
            padding: 0;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            border-radius: 4px;
            background: #fff;
            margin-right: 3px;
        }

        .action-view {
            border: 1px solid #71a1ff;
            color: #3273ef;
        }

        .action-edit {
            border: 1px solid #f3bd42;
            color: #ed9d00;
        }

        .action-delete {
            border: 1px solid #ff7777;
            color: #ed3d3d;
        }

        .action-more {
            color: #526078;
            font-size: 16px;
        }

        /* ================= PAGINATION ================= */

        .table-footer {
            padding: 10px 14px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            color: #6d7990;
            font-size: 9px;
        }

        .pagination .page-link {
            font-size: 10px;
            color: #526078;
            border-color: #e0e5ee;
            padding: 5px 8px;
        }

        .pagination .active .page-link {
    background: #7bc02b;
    border-color: #298f2e;
    color: #fff;
}

        /* ================= BOTTOM ================= */

        .info-card {
            background: #edf5ff;
            border: 1px solid #d6e7ff;
            border-radius: 8px;
            padding: 13px;
            color: #61718c;
            font-size: 9px;
        }

        .info-card .info-title {
            color: #1264f5;
            font-weight: 700;
            font-size: 10px;
            margin-bottom: 5px;
        }

        .status-guide {
            padding: 12px 14px;
        }

        .guide-title {
            font-size: 12px;
            font-weight: 700;
            margin-bottom: 12px;
        }

        .guide-item {
            display: flex;
            gap: 7px;
        }

        .guide-dot {
            width: 7px;
            height: 7px;
            border-radius: 50%;
            margin-top: 3px;
            flex-shrink: 0;
        }

        .guide-name {
            font-size: 9px;
            font-weight: 700;
        }

        .guide-text {
            color: #7b879b;
            font-size: 8px;
            line-height: 1.4;
            margin-top: 3px;
        }

        /* ================= RESPONSIVE ================= */

        @media (max-width: 991px) {
            .page-wrapper {
                padding: 12px;
            }

            .list-toolbar .row > div {
                margin-bottom: 6px;
            }
        }

        @media (max-width: 575px) {

            .stat-card {
                min-height: 82px;
            }

            .stat-icon {
                width: 45px;
                height: 45px;
                font-size: 21px;
            }

            .stat-number {
                font-size: 19px;
            }

            .table-footer {
                flex-direction: column;
                align-items: flex-start;
                gap: 10px;
            }

            .status-guide .row > div {
                margin-bottom: 12px;
            }
        }

.import-btn{
    background-color: #d25e11 !important;
    border: none;
    color: #fff !important;
}
.export-btn{
    background-color: #1f0858 !important;
    border: none;
    color: #fff !important;
}
.submit-btn{
    background-color: #289B2D !important;
    border: none;
    color: #fff !important;
}
.reset-btn{
    background-color: #031a04 !important;
    border: none;
    color: #fff !important;
}

 .payment-wrapper {
            padding: 16px;
        }

        /* ===============================
           STAT CARDS
        =============================== */

        .stat-card {
            background: #fff;
            border: 1px solid var(--border);
            border-radius: 10px;
            padding: 13px;
            min-height: 84px;
            box-shadow: 0 2px 10px rgba(30, 60, 100, .035);
        }

        .stat-icon {
            width: 48px;
            height: 48px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 21px;
            flex-shrink: 0;
        }

        .stat-blue {
            background: #eaf1ff;
            color: #1264f5;
        }

        .stat-green {
            background: #e9fbe9;
            color: #10a54d;
        }

        .stat-orange {
            background: #fff2d7;
            color: #ec9800;
        }

        .stat-red {
            background: #ffe9e9;
            color: #e93636;
        }

        .stat-purple {
            background: #f1e8ff;
            color: #8747e8;
        }

        .stat-title {
            color: #69768e;
            font-size: 10px;
            margin-bottom: 3px;
        }

        .stat-value {
            font-size: 18px;
            font-weight: 700;
            color: #17233c;
            line-height: 1.2;
        }

        .stat-small {
            color: #7b879c;
            font-size: 9px;
            margin-top: 4px;
        }

        .growth {
            color: #10a54d;
        }

        /* ===============================
           COMMON CARD
        =============================== */

        .custom-card {
            background: #fff;
            border: 1px solid var(--border);
            border-radius: 10px;
            box-shadow: 0 2px 10px rgba(30, 60, 100, .025);
        }

        .card-heading {
            padding: 11px 14px;
            border-bottom: 1px solid #edf0f5;
        }

        .card-heading h5 {
            font-size: 13px;
            font-weight: 700;
            margin: 0;
        }

         

        .search-wrapper {
            position: relative;
        }

        .search-wrapper i {
            position: absolute;
            left: 9px;
            top: 8px;
            color: #7c899e;
        }

        .search-wrapper input {
            padding-left: 27px;
        }

        /* ===============================
           PAYMENT TABLE
        =============================== */

        .table-responsive {
            overflow-x: auto;
        }

        .payment-table {
            min-width: 950px;
            margin-bottom: 0;
        }

        .payment-table th {
            background: #fafbfd;
            color: #53617a;
            font-size: 9px;
            font-weight: 700;
            padding: 9px 8px;
            white-space: nowrap;
            border-bottom: 1px solid #e7ecf3;
        }

        .payment-table td {
            color: #34415a;
            font-size: 9px;
            padding: 8px;
            vertical-align: middle;
            border-bottom: 1px solid #edf1f6;
        }

        .payment-table tbody tr:hover {
            background: #fbfcff;
        }

        .transaction-id {
            font-weight: 600;
            color: #3e4d66;
        }

        .copy-icon {
            color: #7b879b;
            margin-left: 5px;
            cursor: pointer;
        }

        .user-name {
            font-weight: 700;
            font-size: 9px;
        }

        .user-email {
            font-size: 8px;
            color: #8995a9;
            margin-top: 2px;
        }

        .vibhag {
            display: inline-block;
            padding: 4px 7px;
            border-radius: 4px;
            font-size: 8px;
            font-weight: 600;
        }

        .vibhag-blue {
            background: #e9f1ff;
            color: #3672df;
        }

        .vibhag-purple {
            background: #f1e8ff;
            color: #8547dc;
        }

        .vibhag-orange {
            background: #fff1d7;
            color: #dc9000;
        }

        .vibhag-green {
            background: #e6f8ec;
            color: #15964c;
        }

        .amount {
            font-weight: 700;
            color: #34415a;
        }

        .payment-method {
            font-weight: 700;
            font-size: 10px;
        }

        .upi {
            color: #39465b;
            font-style: italic;
        }

        .paytm {
            color: #0877c9;
            font-weight: 800;
        }

        .razorpay {
            color: #3157a6;
        }

        .credit {
            color: #43526c;
        }

        .phonepe {
            color: #6d36a8;
        }

        .netbank {
            color: #4d5c70;
        }

        /* ===============================
           STATUS
        =============================== */

        .payment-status {
            display: inline-flex;
            align-items: center;
            padding: 4px 7px;
            border-radius: 4px;
            font-size: 8px;
            font-weight: 600;
        }

        .payment-status i {
            font-size: 5px;
            margin-right: 4px;
        }

        .success {
            color: #15964c;
            background: #e5f8eb;
        }

        .pending {
            color: #d99000;
            background: #fff3d8;
        }

        .failed {
            color: #e23838;
            background: #ffebeb;
        }

        .refunded {
            color: #7541d1;
            background: #f0e8ff;
        }

        /* ===============================
           ACTION BUTTONS
        =============================== */

        .action-btn {
            width: 24px;
            height: 24px;
            padding: 0;
            border-radius: 4px;
            display: inline-flex;
            justify-content: center;
            align-items: center;
            background: #fff;
            margin-right: 3px;
        }

        .view-btn {
            color: #3273ef;
            border: 1px solid #75a2ff;
        }

        .download-btn {
            color: #0a9b60;
            border: 1px solid #71d3ae;
        }

        .more-btn {
            border: 0;
            color: #4f5d74;
            font-size: 16px;
        }

        /* ===============================
           TABLE FOOTER
        =============================== */

        .table-footer {
            padding: 10px 14px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-size: 9px;
            color: #6f7c92;
        }

        .pagination {
            margin: 0;
        }

        .pagination .page-link {
            color: #526078;
            border-color: #dfe5ee;
            font-size: 9px;
            padding: 5px 8px;
        }

        .pagination .active .page-link {
            background: #1264f5;
            border-color: #1264f5;
            color: #fff;
        }

        /* ===============================
           TRANSACTION DETAILS
        =============================== */

        .details-card {
            min-height: 100%;
        }

        .details-header {
            padding: 12px 13px;
            border-bottom: 1px solid #edf0f5;
            display: flex;
            justify-content: space-between;
        }

        .details-header h5 {
            margin: 0;
            font-size: 12px;
            font-weight: 700;
        }

        .close-btn {
            border: 0;
            background: transparent;
            color: #66738b;
        }

        .details-body {
            padding: 13px;
        }

        .detail-amount-label {
            color: #78859b;
            font-size: 9px;
        }

        .detail-amount {
            color: #0a9b60;
            font-size: 19px;
            font-weight: 700;
            margin-bottom: 14px;
        }

        .detail-row {
            display: flex;
            justify-content: space-between;
            gap: 10px;
            margin-bottom: 10px;
        }

        .detail-label {
            color: #758199;
            font-size: 8px;
        }

        .detail-value {
            color: #46536b;
            font-size: 8px;
            font-weight: 600;
            text-align: right;
        }

        .detail-button {
            width: 100%;
            height: 30px;
            font-size: 9px;
            margin-top: 7px;
        }

        .receipt-btn {
            color: #15964c;
            border: 1px solid #cfeedd;
            background: #f2fbf5;
        }

        .invoice-btn {
            color: #2868e8;
            border: 1px solid #bfd3ff;
            background: #f4f7ff;
        }

        .refund-btn {
            color: #7844d4;
            border: 1px solid #dbcaff;
            background: #faf7ff;
        }

        .failed-btn {
            color: #e23838;
            border: 1px solid #ffc5c5;
            background: #fff5f5;
        }

        /* ===============================
           DAILY DEDUCTION
        =============================== */

        .deduction-header {
            padding: 12px 14px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            border-bottom: 1px solid #edf0f5;
        }

        .deduction-header h5 {
            font-size: 13px;
            font-weight: 700;
            margin: 0;
        }

        .deduction-summary {
            padding: 12px;
            border-bottom: 1px solid #edf0f5;
        }

        .deduction-box {
            border: 1px solid #e5eaf2;
            border-radius: 7px;
            padding: 10px;
            background: #fbfcff;
        }

        .deduction-label {
            color: #78859b;
            font-size: 9px;
        }

        .deduction-value {
            font-size: 16px;
            font-weight: 700;
            margin-top: 3px;
        }

        .deduction-green {
            color: #0b9b5b;
        }

        .deduction-red {
            color: #e33838;
        }

        .deduction-blue {
            color: #1264f5;
        }

        .deduction-orange {
            color: #e29200;
        }

        .deduction-table {
            min-width: 650px;
            margin-bottom: 0;
        }

        .deduction-table th {
            background: #fafbfd;
            color: #526078;
            font-size: 9px;
            padding: 8px;
        }

        .deduction-table td {
            font-size: 9px;
            padding: 8px;
            color: #3e4c64;
            vertical-align: middle;
        }

        .deduction-amount {
            color: #e23838;
            font-weight: 700;
        }

        .net-amount {
            color: #0b9b5b;
            font-weight: 700;
        }

        .deduction-footer {
            padding: 9px 14px;
            color: #78859a;
            font-size: 9px;
        }

        /* ===============================
           RESPONSIVE
        =============================== */

        @media (max-width: 1199px) {

            .details-card {
                margin-top: 15px;
            }

        }

        @media (max-width: 767px) {

            .payment-wrapper {
                padding: 10px;
            }

            .stat-card {
                min-height: 78px;
            }

            .card-heading {
                flex-direction: column;
                align-items: flex-start !important;
                gap: 8px;
            }

            .card-heading > div {
                width: 100%;
            }

            .table-footer {
                flex-direction: column;
                align-items: flex-start;
                gap: 10px;
            }

            .deduction-header {
                flex-direction: column;
                align-items: flex-start;
                gap: 8px;
            }

        }

        .card-box{background:#fff;border:1px solid #e5e7eb;border-radius:14px;box-shadow:0 3px 12px rgba(15,23,42,.04)}
    .stat-card{padding:20px}
    .stat-icon{width:44px;height:44px;border-radius:10px;display:flex;align-items:center;justify-content:center;background:#eff6ff;color:#2563eb}
    .table thead th{background:#f8fafc;color:#64748b;font-size:13px;border-bottom:1px solid #e5e7eb}
    .table td{vertical-align:middle;padding:16px 12px}
    .role-icon{width:38px;height:38px;border-radius:9px;background:#eff6ff;color:#2563eb;display:inline-flex;align-items:center;justify-content:center;margin-right:10px}
    .badge-active{background:#dcfce7;color:#15803d}
    .action-btn{width:34px;height:34px;border:1px solid #e5e7eb;background:#fff;border-radius:7px;margin-right:4px}
    .action-btn:hover{background:#f3f4f6}
    .permission-group{border:1px solid #e5e7eb;border-radius:10px;margin-bottom:12px;overflow:hidden}
    .permission-title{background:#f8fafc;padding:12px 15px;font-weight:600}
    .permission-body{padding:14px}
    .form-check{margin-bottom:9px}
    @media(max-width:991px){.sidebar{width:210px}.main{margin-left:210px}}
    @media(max-width:767px){.sidebar{position:relative;width:100%;min-height:auto}.main{margin-left:0;padding:15px}.topbar{margin-top:15px}.table-wrap{overflow-x:auto}.table{min-width:800px}}


    
    .profile-avatar {
        width: 80px;
        height: 80px;
        border-radius: 50%;
        background: linear-gradient(135deg, #2563eb, #4f46e5);
        color: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 25px;
        font-weight: 700;
        box-shadow: 0 8px 20px rgba(37, 99, 235, 0.20);
    }

    .profile-info {
        background: #f8fafc;
        border: 1px solid #e5e7eb;
        border-radius: 12px;
        padding: 8px 15px;
    }

    .profile-item {
        display: flex;
        align-items: center;
        gap: 13px;
        padding: 13px 0;
        border-bottom: 1px solid #e5e7eb;
    }

    .profile-item:last-child {
        border-bottom: 0;
    }

    .profile-icon {
        width: 38px;
        height: 38px;
        min-width: 38px;
        border-radius: 9px;
        background: #eff6ff;
        color: #2563eb;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .profile-item small {
        font-size: 11px;
    }
 

 /* Overlay */
    .profile-overlay {
        display: none;
        position: fixed;
        inset: 0;
        width: 100%;
        height: 100%;
        background: rgba(15, 23, 42, 0.60);
        z-index: 99999;
        align-items: center;
        justify-content: center;
        padding: 20px;
    }

    .profile-overlay.show {
        display: flex;
    }


    /* Popup */
    .profile-popup {
        width: 100%;
        max-width: 480px;
        background: #ffffff;
        border-radius: 18px;
        position: relative;
        overflow: hidden;
        box-shadow: 0 25px 70px rgba(0, 0, 0, 0.20);
        animation: profilePopupAnimation 0.25s ease;
    }


    @keyframes profilePopupAnimation {

        from {
            opacity: 0;
            transform: translateY(20px) scale(0.97);
        }

        to {
            opacity: 1;
            transform: translateY(0) scale(1);
        }

    }


    /* Close Icon */
    .profile-close {
        position: absolute;
        top: 16px;
        right: 16px;
        width: 34px;
        height: 34px;
        border: 0;
        border-radius: 50%;
        background: rgba(255,255,255,0.15);
        color: #ffffff;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        z-index: 2;
    }

    .profile-close:hover {
        background: rgba(255,255,255,0.25);
    }


    /* Header */
    .profile-header {
        background: linear-gradient(135deg, #2563eb, #4f46e5);
        color: #ffffff;
        text-align: center;
        padding: 35px 25px 30px;
    }


    /* Avatar */
    .profile-avatar {
        width: 82px;
        height: 82px;
        border-radius: 50%;
        background: #ffffff;
        color: #2563eb;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 15px;
        font-size: 25px;
        font-weight: 700;
        border: 4px solid rgba(255,255,255,0.30);
    }


    .profile-header h2 {
        margin: 0 0 7px;
        font-size: 24px;
        font-weight: 700;
    }


    .profile-header p {
        margin: 0 0 14px;
        font-size: 14px;
        opacity: 0.90;
    }


    .profile-header p i {
        margin-right: 5px;
    }


    /* Status */
    .profile-status {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        background: rgba(255,255,255,0.16);
        padding: 6px 13px;
        border-radius: 30px;
        font-size: 12px;
        font-weight: 600;
    }


    .profile-status i {
        color: #86efac;
        font-size: 7px;
    }


    /* Details */
    .profile-details {
        padding: 10px 22px;
    }


    .profile-detail {
        display: flex;
        align-items: center;
        gap: 13px;
        padding: 15px 3px;
        border-bottom: 1px solid #eef0f3;
    }


    .profile-detail:last-child {
        border-bottom: 0;
    }


    .detail-icon {
        width: 40px;
        height: 40px;
        min-width: 40px;
        border-radius: 10px;
        background: #eff6ff;
        color: #2563eb;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 16px;
    }


    .profile-detail span {
        display: block;
        color: #94a3b8;
        font-size: 11px;
        margin-bottom: 3px;
    }


    .profile-detail strong {
        display: block;
        color: #1f2937;
        font-size: 14px;
        font-weight: 600;
    }


    /* Footer */
    .profile-footer {
        padding: 5px 22px 22px;
    }


    .profile-close-btn {
        width: 100%;
        border: 1px solid #e2e8f0;
        background: #ffffff;
        color: #475569;
        padding: 11px 15px;
        border-radius: 9px;
        font-size: 14px;
        font-weight: 600;
        cursor: pointer;
    }


    .profile-close-btn:hover {
        background: #f8fafc;
    }


    /* Mobile */
    @media(max-width: 500px) {

        .profile-overlay {
            padding: 15px;
        }

        .profile-popup {
            max-width: 100%;
            border-radius: 15px;
        }

        .profile-header {
            padding: 30px 20px 25px;
        }

        .profile-avatar {
            width: 70px;
            height: 70px;
        }

        .profile-header h2 {
            font-size: 21px;
        }

    }