
    :root { --primary-color: #0056b3; --gradient-1: #00c6ff; --gradient-2: #0072ff; --bg-color: #f0f2f5; --card-bg: #ffffff; --text-color: #333333; --input-bg: #f1f3f6; }
    body { background-color: var(--bg-color); color: var(--text-color); font-family: 'Poppins', sans-serif; font-size: 0.95rem; }
    .login-wrapper { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: #eef2f5; padding: 20px; }
    .login-card { background: #fff; border-radius: 20px; box-shadow: 0 15px 35px rgba(0,0,0,0.1); overflow: hidden; width: 100%; max-width: 900px; min-height: 500px; display: flex; }
    .login-left { width: 50%; background: linear-gradient(135deg, var(--gradient-1), var(--gradient-2)); position: relative; color: white; display: flex; flex-direction: column; justify-content: center; padding: 40px; overflow: hidden; }
    .circle { position: absolute; background: rgba(255, 255, 255, 0.1); border-radius: 50%; }
    .circle-1 { width: 200px; height: 200px; top: -50px; left: -50px; }
    .circle-2 { width: 300px; height: 300px; bottom: -100px; right: -50px; }
    .circle-3 { width: 100px; height: 100px; bottom: 50%; left: 10%; opacity: 0.2; }
    .login-left h1 { font-weight: 700; font-size: 2.5rem; margin-bottom: 10px; }
    .login-left p { opacity: 0.9; font-weight: 300; line-height: 1.6; }
    .login-right { width: 50%; padding: 50px; display: flex; flex-direction: column; justify-content: center; background: #fff; }
    @media (max-width: 768px) { .login-left { display: none; } .login-right { width: 100%; padding: 30px; } }
    .login-title { font-weight: 700; color: #333; margin-bottom: 10px; font-size: 2rem; }
    .login-subtitle { color: #888; margin-bottom: 40px; font-size: 0.9rem; }
    .custom-input-group { background-color: var(--input-bg); border-radius: 8px; padding: 10px 15px; display: flex; align-items: center; margin-bottom: 20px; transition: 0.3s; }
    .custom-input-group:focus-within { background-color: #fff; box-shadow: 0 0 0 2px var(--gradient-2); }
    .custom-input-group i { color: #888; margin-right: 15px; }
    .custom-input-group input { border: none; background: transparent; width: 100%; outline: none; color: #333; font-weight: 500; }
    .show-pass { font-size: 0.8rem; font-weight: 700; color: #555; cursor: pointer; }
    .btn-login { background: #003d80; color: white; border: none; border-radius: 8px; padding: 14px; font-weight: 600; width: 100%; margin-top: 20px; transition: 0.3s; font-size: 1rem; }
    .btn-login:hover { background: #002a5c; }
    .navbar, .offcanvas { background-color: white !important; color: #333; }
    .stat-card { background: white; padding: 15px; border-radius: 10px; box-shadow: 0 2px 4px rgba(0,0,0,0.05); height: 100%; }
    .chart-container { position: relative; height: 300px; width: 100%; }
    .cursor-pointer { cursor: pointer; }
    .admin-only { display: none; }
    #loader { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.7); z-index: 9999; display: none; justify-content: center; align-items: center; flex-direction: column; color: white; backdrop-filter: blur(2px); }
    [data-theme="dark"] body { background-color: #18191a; color: #e4e6eb; }
    [data-theme="dark"] .card, [data-theme="dark"] .navbar { background-color: #242526 !important; color: #e4e6eb; border-color: #3e4042; }
    [data-theme="dark"] .table { color: #e4e6eb; }

    /* PROFILE MODAL */
    .profile-modal-content { border-radius: 20px; overflow: hidden; border: none; }
    .profile-header { height: 130px; background: linear-gradient(135deg, #0f2027, #203a43, #2c5364); position: relative; }
    .profile-avatar-container { position: absolute; bottom: -50px; left: 50%; transform: translateX(-50%); }
    .profile-avatar { width: 110px; height: 110px; border-radius: 50%; border: 5px solid #fff; box-shadow: 0 8px 20px rgba(0,0,0,0.2); object-fit: cover; background: #fff; }
    .profile-body { padding-top: 60px; text-align: center; }
    .detail-item { background: #f8f9fa; margin: 8px 0; padding: 12px; border-radius: 10px; font-size: 0.9rem; display: flex; justify-content: space-between; border: 1px solid #eee; }
    .detail-label { color: #666; font-weight: 600; }
    .detail-value { font-weight: 700; color: #333; }

/* === ULTRA-PREMIUM CRYSTAL GLASS SIDEBAR CSS === */

/* ১. মেইন গ্লাস কন্টেইনার */
.offcanvas {
    background: rgba(255, 255, 255, 0.65) !important; /* মিল্কি হোয়াইট ট্রান্সপারেন্ট */
    backdrop-filter: blur(25px) saturate(180%); /* হেভি ব্লার এবং কালার বুস্ট */
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    border-right: 1px solid rgba(255, 255, 255, 0.6); /* শাইনিং বর্ডার */
    box-shadow: 20px 0 40px rgba(0, 0, 0, 0.03); /* সফট শ্যাডো */
    width: 280px !important;
}

/* ২. সাইডবার হেডার */
.offcanvas-header {
    background: transparent; /* ট্রান্সপারেন্ট */
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 30px 25px;
}

.offcanvas-title {
    background: linear-gradient(135deg, #0056b3, #00c6ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
    letter-spacing: 0.5px;
    font-size: 1.4rem;
}

.offcanvas-body {
    padding: 20px;
    /* কাস্টম স্ক্রলবার হাইড করা */
    scrollbar-width: none; 
    -ms-overflow-style: none;
}
.offcanvas-body::-webkit-scrollbar { 
    display: none; 
}

/* ৩. সেকশন টাইটেল */
.menu-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #9ca3af; /* হালকা ধূসর */
    font-weight: 700;
    margin: 25px 0 10px 15px;
    opacity: 0.8;
}

/* ৪. মেনু আইটেম (Glass Buttons) */
.nav-link {
    color: #4b5563; /* গাঢ় ধূসর টেক্সট */
    font-weight: 600;
    font-size: 0.95rem;
    padding: 14px 20px;
    margin-bottom: 8px;
    border-radius: 16px; /* বেশি রাউন্ডেড */
    border: 1px solid transparent; /* ডিফল্ট বর্ডার নেই */
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    white-space: nowrap; /* 🔥 এই লাইনটা লেখা এক লাইনে রাখার জন্য যোগ করা হলো */
}

/* ৫. আইকন স্টাইল */
.nav-link i {
    width: 35px;
    font-size: 1.1rem;
    color: #6b7280;
    transition: all 0.3s ease;
    filter: drop-shadow(0 2px 2px rgba(0,0,0,0.05)); /* আইকন শ্যাডো */
}

/* ৬. হোভার ইফেক্ট */
.nav-link:hover {
    background: rgba(255, 255, 255, 0.5);
    transform: translateX(5px); /* ডানে সরবে */
    color: #0056b3;
}
.nav-link:hover i {
    color: #0056b3;
    transform: scale(1.1);
}

/* ৭. অ্যাক্টিভ স্টেট (The Glass-on-Glass Effect) */
.nav-link.active {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.4));
    color: #004e92; /* ডিপ ব্লু টেক্সট */
    box-shadow: 0 8px 20px rgba(0, 86, 179, 0.15); /* নীল গ্লো */
    border: 1px solid rgba(255, 255, 255, 0.8); /* সাদা বর্ডার */
    backdrop-filter: blur(10px);
}

/* নিয়ন বার (Neon Bar) */
.nav-link.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 15%;
    bottom: 15%;
    width: 4px;
    background: linear-gradient(to bottom, #00c6ff, #0072ff);
    border-radius: 0 4px 4px 0;
    box-shadow: 0 0 10px rgba(0, 114, 255, 0.5); /* নিয়ন গ্লো */
}

.nav-link.active i {
    color: #004e92;
    filter: drop-shadow(0 2px 4px rgba(0, 78, 146, 0.3));
}

/* ৮. ফুটার প্রোফাইল কার্ড */
.sidebar-footer {
    padding: 20px;
    margin-top: auto;
}
.profile-glass-card {
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    padding: 15px;
    display: flex;
    align-items: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    backdrop-filter: blur(10px);
    transition: 0.3s;
}
.profile-glass-card:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}
.user-avatar-circle {
    width: 40px; height: 40px;
    border-radius: 12px;
    background: linear-gradient(135deg, #FF9A9E 0%, #FECFEF 100%);
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-weight: bold; font-size: 1.2rem;
    box-shadow: 0 4px 10px rgba(255, 154, 158, 0.4);
}

/* ORG FUND STYLES */
.card-grad-green { background: linear-gradient(135deg, #11998e, #38ef7d); color: white; border: none; }
.card-grad-red { background: linear-gradient(135deg, #ff416c, #ff4b2b); color: white; border: none; }
.card-grad-blue { background: linear-gradient(135deg, #2193b0, #6dd5ed); color: white; border: none; }

/* Smart Modal Toggle Switch */
.switch-box { position: relative; display: inline-block; width: 200px; height: 40px; background: #e9ecef; border-radius: 20px; cursor: pointer; overflow: hidden; box-shadow: inset 0 2px 4px rgba(0,0,0,0.1); }
.switch-slider { position: absolute; top: 0; left: 0; width: 50%; height: 100%; border-radius: 20px; transition: 0.4s; display: flex; align-items: center; justify-content: center; font-weight: bold; font-size: 0.9rem; color: white; box-shadow: 0 2px 5px rgba(0,0,0,0.2); }
.inc-active .switch-slider { background: #198754; left: 0; content: "INCOME"; }
.exp-active .switch-slider { background: #dc3545; left: 50%; content: "EXPENSE"; }
.switch-labels { display: flex; width: 100%; height: 100%; position: absolute; top: 0; pointer-events: none; }
.switch-label { width: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.8rem; font-weight: bold; color: #666; }

/* Deposit Page Custom Styles */
.deposit-card { border-radius: 20px; overflow: hidden; box-shadow: 0 10px 40px rgba(0,0,0,0.08); border: none; }
.deposit-left { background: #fff; padding: 40px; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; border-right: 1px solid #f0f0f0; }
.deposit-right { background: #fff; padding: 40px; }
.deposit-icon-box { width: 100px; height: 100px; margin-bottom: 20px; }
.feature-list { list-style: none; padding: 0; text-align: left; margin-top: 30px; }
.feature-list li { margin-bottom: 12px; font-size: 0.9rem; color: #666; display: flex; align-items: center; }
.feature-list i { margin-right: 10px; font-size: 1.1rem; }

/* Method Cards */
.method-card {
    border: 2px solid #eef2f6;
    border-radius: 12px;
    padding: 15px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    height: 100%;
    background: #fff;
}
.method-card:hover { transform: translateY(-3px); border-color: #dbe2ea; }
.method-card.active {
    border-color: #00a8ff; /* Light Blue Border */
    background-color: #f0f9ff;
    color: #0056b3;
}
.method-card i { font-size: 1.5rem; margin-bottom: 8px; display: block; color: #adb5bd; }
.method-card.active i { color: #00a8ff; }
.method-title { font-weight: 700; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.5px; }

/* Amount Input Area */
.amount-wrapper {
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    margin-top: 20px;
}
.amount-currency { font-size: 2rem; font-weight: bold; color: #0056b3; margin-bottom: 5px; display: block; }
.amount-inp-custom {
    border: none;
    background: transparent;
    font-size: 2.5rem;
    font-weight: 800;
    color: #333;
    text-align: center;
    width: 100%;
    outline: none;
}
.amount-inp-custom::placeholder { color: #d1d5db; }
.quick-btn {
    border: 1px solid #dee2e6;
    background: #fff;
    color: #555;
    border-radius: 50px;
    padding: 5px 15px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: 0.2s;
}
.quick-btn:hover { background: #e9ecef; }

/* Responsive adjustments */
@media (max-width: 768px) {
    .deposit-left { display: none; } /* মোবাইলে বাম পাশের অংশ লুকানো থাকবে */
    .deposit-right { padding: 20px; }
}

/* === সার্চ রেজাল্ট বক্সের ডিজাইন === */
.search-wrapper { position: relative; }
.search-results {
  position: absolute; top: 100%; left: 0; right: 0;
  background: #fff; border: 1px solid #e0e0e0;
  border-radius: 0 0 12px 12px; max-height: 250px;
  overflow-y: auto; z-index: 1000; display: none;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}
.search-item {
  padding: 12px 20px; cursor: pointer; border-bottom: 1px solid #f5f5f5;
  font-weight: 500; color: #333; display: flex; align-items: center;
}
.search-item:hover { background-color: #f0f9ff; color: #0056b3; padding-left: 25px; transition: 0.2s; }
.no-result { padding: 15px; text-align: center; color: #dc3545; font-size: 0.9rem; }

/* --- Premium Table Design --- */
.premium-card {
    border: none;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    background: #ffffff;
    overflow: hidden;
}

.table-header-area {
    padding: 20px 30px;
    background: #fff;
    border-bottom: 1px solid #f0f2f5;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* === PREMIUM MEMBER DIRECTORY STYLES (FLOATING CARDS) === */

/* 1. Table Reset for Floating Look */
#tableMember {
    border-collapse: separate !important;
    border-spacing: 0 15px !important; /* কার্ডগুলোর মাঝে ফাঁকা জায়গা */
    background: transparent !important;
}

#tableMember thead th {
    border: none !important;
    background: transparent !important;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #94a3b8;
    padding-bottom: 5px;
    font-weight: 700;
}

/* 2. Floating Row Card Design */
.member-row-card {
    background: #ffffff;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03); /* খুব হালকা শ্যাডো */
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 16px;
}

.member-row-card td {
    border: none !important; /* ডিফল্ট বর্ডার রিমুভ */
    background: #ffffff;
    padding: 20px !important;
    vertical-align: middle;
}

/* রাউন্ডেড কর্নার ফিক্স (প্রথম ও শেষ কলামের জন্য) */
.member-row-card td:first-child { border-top-left-radius: 16px; border-bottom-left-radius: 16px; }
.member-row-card td:last-child { border-top-right-radius: 16px; border-bottom-right-radius: 16px; }

/* 3. Hover Effect (Float Up) */
.member-row-card:hover {
    transform: translateY(-5px); /* উপরে ভেসে উঠবে */
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08); /* শ্যাডো বাড়বে */
    z-index: 10;
    position: relative;
}

/* 4. Gradient Avatars */
.avatar-premium {
    width: 50px;
    height: 50px;
    border-radius: 14px; /* গোল না করে একটু স্কয়ার */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 800;
    color: #fff;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
    margin-right: 15px;
}
.grad-insta { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.grad-blue { background: linear-gradient(135deg, #00c6ff 0%, #0072ff 100%); }
.grad-emerald { background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%); }
.grad-royal { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); }
.grad-sunset { background: linear-gradient(135deg, #ff0844 0%, #ffb199 100%); }

/* 5. Typography & Badges */
.mem-name { font-size: 1rem; font-weight: 700; color: #1e293b; display: block; margin-bottom: 2px; }
.mem-role { font-size: 0.75rem; font-weight: 600; color: #64748b; background: #f1f5f9; padding: 2px 8px; border-radius: 6px; }

.badge-soft-active {
    background: #dcfce7; color: #166534; 
    padding: 6px 12px; border-radius: 30px; font-weight: 700; font-size: 0.7rem;
    display: inline-flex; align-items: center; gap: 6px;
}
.badge-soft-active::before { content: ''; width: 6px; height: 6px; background: #166534; border-radius: 50%; animation: pulse 2s infinite; }

.badge-soft-inactive {
    background: #fee2e2; color: #991b1b;
    padding: 6px 12px; border-radius: 30px; font-weight: 700; font-size: 0.7rem;
}

@keyframes pulse { 0% { opacity: 1; } 50% { opacity: 0.4; } 100% { opacity: 1; } }

/* 6. Action Buttons (Hidden by default, show on hover) */
.action-group { opacity: 0.4; transition: 0.3s; display: flex; gap: 8px; justify-content: flex-end; }
.member-row-card:hover .action-group { opacity: 1; }

.btn-quick {
    width: 35px; height: 35px; border-radius: 10px; border: none;
    display: flex; align-items: center; justify-content: center;
    transition: 0.2s; color: white; cursor: pointer;
}
.btn-wa { background: #25D366; } .btn-wa:hover { background: #128C7E; transform: scale(1.1); }
.btn-call { background: #3b82f6; } .btn-call:hover { background: #2563eb; transform: scale(1.1); }
.btn-edit { background: #f59e0b; } .btn-edit:hover { background: #d97706; transform: scale(1.1); }

.deposit-hero { font-size: 1.1rem; font-weight: 800; color: #059669; letter-spacing: -0.5px; }

/* Action Buttons Styling */
.btn-action {
    width: 32px;
    height: 32px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: 0.2s;
    border: none;
    margin-left: 5px;
}
.btn-action-view { background: #e3f2fd; color: #1976d2; }
.btn-action-view:hover { background: #1976d2; color: #fff; }

.btn-action-edit { background: #fff3e0; color: #f57c00; }
.btn-action-edit:hover { background: #f57c00; color: #fff; }

.btn-action-delete { background: #ffebee; color: #d32f2f; }
.btn-action-delete:hover { background: #d32f2f; color: #fff; }

.btn-action-check { background: #e8f5e9; color: #2e7d32; }
.btn-action-check:hover { background: #2e7d32; color: #fff; }

/* Status Badge */
.status-pill {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}
.status-pill.confirmed { background: #e6fffa; color: #00b894; border: 1px solid #b2f5ea; }
.status-pill.pending { background: #fffbea; color: #d69e2e; border: 1px solid #fefcbf; }


/* --- Premium Member Directory Styles --- */
.member-card-wrapper {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid #f0f2f5;
    overflow: hidden;
}

.table-header-premium {
    padding: 20px 25px;
    background: #ffffff;
    border-bottom: 1px solid #f0f2f5;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.avatar-circle {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    margin-right: 15px;
    box-shadow: 0 4px 10px rgba(118, 75, 162, 0.3);
}

/* নামের জন্য আলাদা গ্রেডিয়েন্ট */
.avatar-bg-1 { background: linear-gradient(135deg, #0093E9 0%, #80D0C7 100%); }
.avatar-bg-2 { background: linear-gradient(135deg, #85FFBD 0%, #FFFB7D 100%); color: #333; }
.avatar-bg-3 { background: linear-gradient(135deg, #FBAB7E 0%, #F7CE68 100%); }
.avatar-bg-4 { background: linear-gradient(135deg, #FF9A9E 0%, #FECFEF 100%); }

.member-name-text {
    font-size: 0.95rem;
    font-weight: 700;
    color: #2d3748;
    display: block;
    text-decoration: none;
}

.member-role-text {
    font-size: 0.75rem;
    color: #718096;
    font-weight: 500;
}

/* Soft Badge Styles */
.badge-soft {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: capitalize;
}
.badge-soft-success { background-color: #def7ec; color: #03543f; }
.badge-soft-danger { background-color: #fde8e8; color: #9b1c1c; }
.badge-soft-primary { background-color: #ebf8ff; color: #2c5282; }
.badge-soft-warning { background-color: #fffaf0; color: #9c4221; }

.deposit-amount {
    font-weight: 800;
    color: #047857; /* Emerald Green */
    font-size: 1rem;
}

.table-premium thead th {
    background-color: #f8fafc;
    color: #64748b;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    border-bottom: 2px solid #e2e8f0;
    padding: 15px 20px;
}

.table-premium tbody td {
    padding: 15px 20px;
    vertical-align: middle;
    border-bottom: 1px solid #f1f5f9;
}

.table-premium tbody tr:hover {
    background-color: #f8fafc;
    transition: all 0.2s;
}

.btn-icon-soft {
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    border: none;
    transition: all 0.2s;
}
.btn-edit-soft { background: #ebf8ff; color: #3182ce; }
.btn-edit-soft:hover { background: #3182ce; color: white; transform: translateY(-2px); }

///////////////
/* --- Defaulter Card Premium Styles --- */
.defaulter-card {
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid #f0f2f5;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    overflow: hidden;
    position: relative;
}

.defaulter-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    border-color: #ffcccc; /* হালকা লাল বর্ডার হোভারে */
}

/* নামের পাশে লাল বার */
.defaulter-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 15%;
    bottom: 15%;
    width: 4px;
    background: linear-gradient(to bottom, #ff416c, #ff4b2b);
    border-radius: 0 4px 4px 0;
}

.def-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #fdfbfb 0%, #ebedee 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: bold;
    color: #ff4b2b;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    border: 2px solid #fff;
}

.def-amount-box {
    background: #fff5f5;
    color: #c0392b;
    padding: 8px 15px;
    border-radius: 12px;
    font-weight: 800;
    font-size: 1.1rem;
    display: inline-block;
    border: 1px dashed #e74c3c;
}

.btn-action-round {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s;
    border: none;
    margin-left: 5px;
    color: white;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.btn-whatsapp { background: linear-gradient(135deg, #25D366, #128C7E); }
.btn-call { background: linear-gradient(135deg, #34495e, #2c3e50); }
.btn-notify { background: linear-gradient(135deg, #007bff, #0056b3); }

.btn-action-round:hover { transform: scale(1.1); filter: brightness(1.1); }

/* --- Premium Video Modal Styles --- */
.premium-glass-modal {
    background: rgba(15, 23, 42, 0.85); /* Dark Transparent Background */
    backdrop-filter: blur(20px);         /* Glass Blur Effect */
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5), 0 0 30px rgba(255, 65, 108, 0.15); /* Soft Red Glow */
    border-radius: 24px;
    overflow: hidden;
}

.modal-header-premium {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-title-gradient {
    background: linear-gradient(to right, #ff416c, #ff4b2b); /* Gradient Text */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.btn-close-custom {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-close-custom:hover {
    background: #ff416c;
    transform: rotate(90deg);
    box-shadow: 0 0 15px rgba(255, 65, 108, 0.5);
}

.video-wrapper {
    padding: 10px;
    background: rgba(0,0,0,0.3);
}

.rounded-video {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.premium-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.premium-table thead th {
    background-color: #f8f9fa;
    color: #5e6e82;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
    padding: 15px 25px;
    border-bottom: 2px solid #eef2f6;
}

.premium-table tbody tr {
    transition: all 0.2s ease;
}

.premium-table tbody tr:hover {
    background-color: #f8faff;
    transform: scale(1.002);
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    z-index: 2;
    position: relative;
}

.premium-table tbody td {
    padding: 16px 25px;
    vertical-align: middle;
    border-bottom: 1px solid #f0f2f5;
    color: #333;
    font-size: 0.9rem;
}


/////agrementmodal//
    .form-control:focus {
        box-shadow: none;
        border: 1px solid #007bff;
        background: #fff !important;
    }
    .hover-elevate { transition: 0.3s; }
    .hover-elevate:hover { transform: translateY(-2px); box-shadow: 0 10px 20px rgba(0,123,255,0.3) !important; }
    
    /* Scrollbar Style */
    .custom-scrollbar::-webkit-scrollbar { width: 5px; }
    .custom-scrollbar::-webkit-scrollbar-track { background: #f1f1f1; }
    .custom-scrollbar::-webkit-scrollbar-thumb { background: #c1c1c1; border-radius: 10px; }
    .custom-scrollbar::-webkit-scrollbar-thumb:hover { background: #a8a8a8; }

/* === SMART DEFAULTER CARD UI === */
.def-grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
    padding-bottom: 100px; /* ফ্লোটিং বারের জন্য জায়গা */
}

/* স্মার্ট কার্ড */
.def-smart-card {
    background: #fff;
    border: 2px solid #f0f2f5;
    border-radius: 16px;
    padding: 16px;
    position: relative;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.def-smart-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.06);
    border-color: #e2e8f0;
}

/* সিলেক্টেড অবস্থা (লাল বর্ডার) */
.def-smart-card.selected {
    border-color: #ff4d4d;
    background-color: #fff5f5;
    box-shadow: 0 8px 20px rgba(255, 77, 77, 0.15);
}

.def-smart-card.selected::before {
    content: ''; position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 5px; background: #ff4d4d;
}

/* গোল চেকবক্স */
.card-select-check {
    position: absolute; top: 15px; right: 15px;
    width: 26px; height: 26px;
    border-radius: 50%; border: 2px solid #cbd5e1;
    background: #fff;
    display: flex; align-items: center; justify-content: center;
    color: transparent; transition: 0.2s; z-index: 2;
}

.def-smart-card.selected .card-select-check {
    background: #ff4d4d; border-color: #ff4d4d;
    color: #fff; transform: scale(1.1);
}

/* ফ্লোটিং অ্যাকশন বার (ম্যাজিক বার) */
.floating-bar {
    position: fixed; bottom: 30px; left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: #1a1a1a; color: white;
    padding: 10px 25px; border-radius: 50px;
    display: flex; align-items: center; gap: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.4);
    z-index: 9999;
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    opacity: 0;
}

.floating-bar.active {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.fab-btn {
    border: none; padding: 8px 20px; border-radius: 30px;
    font-weight: 700; font-size: 0.9rem; cursor: pointer;
    display: flex; align-items: center; gap: 8px; transition: 0.2s;
}
.btn-fab-wa { background: #25D366; color: white; }
.btn-fab-wa:hover { background: #1ebc57; transform: scale(1.05); }

.btn-fab-mail { background: #FFD700; color: #1a1a1a; }
.btn-fab-mail:hover { background: #ffcc00; transform: scale(1.05); }

/* Bulk Receipt Premium Styles */
.bulk-header-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    padding: 30px;
    color: white;
    box-shadow: 0 10px 30px rgba(118, 75, 162, 0.2);
    margin-bottom: 20px;
}

.bulk-list-container {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    overflow: hidden;
    border: 1px solid #f0f2f5;
}

.bulk-item-row {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid #f1f5f9;
    transition: all 0.2s;
}
.bulk-item-row:hover {
    background-color: #f8fafc;
}
.bulk-item-row.selected {
    background-color: #f0f9ff;
    border-left: 4px solid #00c6ff;
}

.bulk-avatar {
    width: 45px; height: 45px;
    border-radius: 12px;
    background: #e0e7ff;
    color: #4f46e5;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 1.2rem;
    margin-right: 15px;
}

.bulk-checkbox {
    width: 20px; height: 20px;
    cursor: pointer;
    accent-color: #764ba2;
    margin-right: 20px;
}

.status-badge-soft {
    padding: 5px 12px; border-radius: 50px;
    font-size: 0.75rem; font-weight: 700;
}
.st-pending { background: #fff7ed; color: #c2410c; }
.st-success { background: #f0fdf4; color: #15803d; }
.st-failed { background: #fef2f2; color: #b91c1c; }

/* Sticky Action Footer */
.bulk-footer-bar {
    position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%);
    background: #1e293b; color: white;
    padding: 12px 30px; border-radius: 50px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
    display: flex; align-items: center; gap: 20px;
    z-index: 1000;
    opacity: 0; transition: 0.3s; pointer-events: none;
}
.bulk-footer-bar.active { opacity: 1; pointer-events: all; bottom: 30px; }

/* === SCREENSHOT-PROOF MODAL CSS === */
#modalSuccessReceipt .modal-dialog {
    margin: 0; /* চারপাশের মার্জিন জিরো */
    max-width: 100%; /* পুরো স্ক্রিন নেবে */
    height: 100vh; /* স্ক্রিনের হাইট সমান হবে */
    display: flex;
    align-items: center;
    justify-content: center;
}

#modalSuccessReceipt .modal-content {
    min-height: 100vh; /* মডালটা পুরো স্ক্রিন জুড়ে থাকবে */
    width: 100vw;
    border-radius: 0 !important; /* চারপাশের গোল ভাব বাদ */
    background: #eef2f5 !important; /* সলিড ব্যাকগ্রাউন্ড (পেছনের সাইট দেখা যাবে না) */
    border: none;
}

/* রিসিটের নিচের মেসেজটা আপডেট */
.screenshot-valid-msg {
    text-align: center;
    margin-top: 20px;
    font-size: 0.8rem;
    color: #64748b;
    font-weight: 600;
}

  

/* --------------------------------------- */


@media (max-width: 768px) {
    /* Reduce global paddings */
    .p-5 { padding: 1.5rem !important; }
    .p-4 { padding: 1rem !important; }
    .login-right { padding: 20px !important; }
    .deposit-right { padding: 15px !important; }
    .container-fluid { padding-left: 10px !important; padding-right: 10px !important; }
    
    /* Make typography mobile friendly */
    h1, .h1 { font-size: 1.8rem !important; }
    h2, .h2 { font-size: 1.5rem !important; }
    h3, .h3 { font-size: 1.3rem !important; }
    h4, .h4 { font-size: 1.1rem !important; }
    
    /* Optimize buttons & inputs */
    .btn { padding: 8px 12px !important; font-size: 0.9rem !important; }
    .form-control, .form-select { font-size: 0.9rem !important; }
    
    /* Optimize cards */
    .stat-card, .glass-card, .premium-card { padding: 15px !important; margin-bottom: 15px !important; }
    .card-body { padding: 1rem !important; }
    
    /* Chart responsiveness */
    .chart-container { height: 250px !important; }

    /* Fix table wrappers */
    .table-responsive { border: 0 !important; margin-bottom: 1rem !important; overflow-x: auto; -webkit-overflow-scrolling: touch; }
    
    /* SweetAlert mobile fix */
    .swal2-popup { width: 95% !important; padding: 1rem !important; font-size: 0.9rem !important; }
    
    /* Sidebar mobile fix */
    .offcanvas { max-width: 80% !important; }
}

/* Forced table responsiveness */
table.dataTable { width: 100% !important; }


/* --------------------------------------- */


            /* Background & Font */
            .premium-bg { background: #f8f9fd; font-family: 'Poppins', sans-serif; padding-bottom: 50px; }
            
            /* Glass Header Effect */
            .glass-header {
                background: rgba(255, 255, 255, 0.85);
                backdrop-filter: blur(12px);
                border-bottom: 1px solid rgba(0,0,0,0.05);
                padding: 20px 25px; 
                margin: -20px -25px 30px -25px;
                position: sticky; top: 0; z-index: 100;
                box-shadow: 0 4px 20px rgba(0,0,0,0.03);
            }

            /* Pro Stats Card */
            .stat-card-pro {
                background: #ffffff;
                border-radius: 20px;
                padding: 25px;
                box-shadow: 0 10px 30px -10px rgba(0,0,0,0.05);
                border: 1px solid #eff2f7;
                transition: all 0.3s ease;
                height: 100%;
                position: relative;
                overflow: hidden;
                cursor: pointer;
            }
            .stat-card-pro:hover { transform: translateY(-5px); box-shadow: 0 20px 40px -10px rgba(0,0,0,0.1); }
            
            /* Icon Glow Effect */
            .icon-box-pro { width: 50px; height: 50px; border-radius: 15px; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; margin-bottom: 15px; }
            .icon-orange { background: rgba(255, 152, 0, 0.1); color: #ff9800; }  
            .icon-green { background: rgba(0, 200, 83, 0.1); color: #00c853; }   
            .icon-red { background: rgba(255, 65, 108, 0.1); color: #ff416c; }     
            .icon-blue { background: rgba(0, 114, 255, 0.1); color: #0072ff; }    
            .icon-teal { background: rgba(32, 201, 151, 0.1); color: #20c997; }   
            .icon-purple { background: rgba(137, 33, 107, 0.1); color: #8e44ad; } 

            /* Chart Cards */
            .chart-card-pro {
                background: #ffffff;
                border-radius: 24px;
                padding: 30px;
                box-shadow: 0 15px 40px -10px rgba(0,0,0,0.05);
                border: 1px solid #eff2f7;
                height: 100%;
            }
            
            /* Quick Action Dock */
            .quick-dock {
                display: flex; gap: 12px; overflow-x: auto; padding: 5px 2px;
                scrollbar-width: none;
            }
            .dock-item {
                background: white; border: 1px solid #eff2f7;
                padding: 10px 20px; border-radius: 50px;
                font-weight: 600; font-size: 0.85rem; color: #555;
                white-space: nowrap; cursor: pointer; transition: 0.2s;
                box-shadow: 0 4px 10px rgba(0,0,0,0.02);
                display: flex; align-items: center;
            }
            .dock-item:hover { background: #0056b3; color: white; border-color: #0056b3; transform: scale(1.05); }
            .dock-item i { margin-right: 8px; }

            /* Table Styles */
            .table-head-modern th {
                font-weight: 600; text-transform: uppercase; font-size: 0.75rem; 
                letter-spacing: 0.5px; color: #888; padding: 15px; border-bottom: 2px solid #f0f2f5;
            }
        

/* --------------------------------------- */


        .active-tab { background: #dc3545; color: white !important; }
    

/* --------------------------------------- */


       .active-toggle { background: #fff; color: #0d6efd; box-shadow: 0 2px 5px rgba(0,0,0,0.1); }
       .progress-thick { height: 8px; border-radius: 10px; background-color: #e9ecef; }
       .hover-card { transition: all 0.2s; cursor: pointer; border: 1px solid #f0f2f5; }
       .hover-card:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(0,0,0,0.05); border-color: #cce5ff; background: #f8fbff; }
       .status-dot { height: 10px; width: 10px; border-radius: 50%; display: inline-block; margin-right: 5px; }
    

/* --------------------------------------- */


        .log-card { background: #fff; border-radius: 20px; box-shadow: 0 10px 40px rgba(0,0,0,0.05); overflow: hidden; border: 1px solid #e2e8f0; }
        .log-header { background: #1e293b; color: #94a3b8; text-transform: uppercase; font-size: 0.75rem; letter-spacing: 1px; }
        .log-header th { padding: 18px 25px !important; border: none; }
        .log-row td { padding: 15px 25px !important; border-bottom: 1px solid #f1f5f9; color: #334155; font-family: 'Roboto', sans-serif; font-size: 0.9rem; }
        .log-row:hover { background-color: #f8fafc; }
        .log-time { font-family: 'Courier New', monospace; font-weight: 700; color: #64748b; background: #f1f5f9; padding: 4px 8px; border-radius: 4px; font-size: 0.8rem; }
        .action-pill { padding: 4px 10px; border-radius: 6px; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; background: #e0f2fe; color: #0284c7; }
    

/* --------------------------------------- */


        .log-card { background: #fff; border-radius: 20px; box-shadow: 0 10px 40px rgba(0,0,0,0.05); overflow: hidden; border: 1px solid #e2e8f0; }
        .log-header { background: #1e293b; color: #94a3b8; text-transform: uppercase; font-size: 0.75rem; letter-spacing: 1px; }
        .log-header th { padding: 18px 25px !important; border: none; }
        .log-row td { padding: 15px 25px !important; border-bottom: 1px solid #f1f5f9; vertical-align: middle; color: #334155; font-family: 'Roboto', sans-serif; font-size: 0.9rem; }
        .log-row:hover { background-color: #f8fafc; }
        .log-time { font-family: 'Courier New', monospace; font-weight: 700; color: #64748b; background: #f1f5f9; padding: 4px 8px; border-radius: 4px; font-size: 0.8rem; }
        
        /* Status Badges (Pill Style) */
        .status-badge { padding: 5px 12px; border-radius: 6px; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; display: inline-flex; align-items: center; gap: 6px; }
        .status-success { background: #dcfce7; color: #166534; border: 1px solid #bbf7d0; }
        .status-fail { background: #fee2e2; color: #991b1b; border: 1px solid #fecaca; }
    

/* --------------------------------------- */


            .premium-bg { background: #f8f9fd; font-family: 'Poppins', sans-serif; padding-bottom: 50px; }
            .glass-header { background: rgba(255, 255, 255, 0.85); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(0,0,0,0.05); padding: 20px 25px; margin: -20px -25px 30px -25px; position: sticky; top: 0; z-index: 100; box-shadow: 0 4px 20px rgba(0,0,0,0.03); }
            .stat-card-pro { background: #ffffff; border-radius: 20px; padding: 25px; box-shadow: 0 10px 30px -10px rgba(0,0,0,0.05); border: 1px solid #eff2f7; transition: all 0.3s ease; height: 100%; position: relative; overflow: hidden; cursor: pointer; }
            .stat-card-pro:hover { transform: translateY(-5px); box-shadow: 0 20px 40px -10px rgba(0,0,0,0.1); }
            .icon-box-pro { width: 50px; height: 50px; border-radius: 15px; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; margin-bottom: 15px; }
            .icon-orange { background: rgba(255, 152, 0, 0.1); color: #ff9800; }  
            .icon-green { background: rgba(0, 200, 83, 0.1); color: #00c853; }   
            .icon-red { background: rgba(255, 65, 108, 0.1); color: #ff416c; }     
            .icon-blue { background: rgba(0, 114, 255, 0.1); color: #0072ff; }    
            .icon-teal { background: rgba(32, 201, 151, 0.1); color: #20c997; }   
            .icon-purple { background: rgba(137, 33, 107, 0.1); color: #8e44ad; } 
            .chart-card-pro { background: #ffffff; border-radius: 24px; padding: 30px; box-shadow: 0 15px 40px -10px rgba(0,0,0,0.05); border: 1px solid #eff2f7; height: 100%; }
            .quick-dock { display: flex; gap: 12px; overflow-x: auto; padding: 5px 2px; scrollbar-width: none; }
            .dock-item { background: white; border: 1px solid #eff2f7; padding: 10px 20px; border-radius: 50px; font-weight: 600; font-size: 0.85rem; color: #555; white-space: nowrap; cursor: pointer; transition: 0.2s; box-shadow: 0 4px 10px rgba(0,0,0,0.02); display: flex; align-items: center; }
            .dock-item:hover { background: #0056b3; color: white; border-color: #0056b3; transform: scale(1.05); }
            .dock-item i { margin-right: 8px; }
            .table-head-modern th { font-weight: 600; text-transform: uppercase; font-size: 0.75rem; letter-spacing: 0.5px; color: #888; padding: 15px; border-bottom: 2px solid #f0f2f5; }
        

/* --------------------------------------- */


        /* Card Container */
        .exp-table-card {
            background: #ffffff;
            border-radius: 24px;
            box-shadow: 0 10px 40px rgba(0,0,0,0.05);
            border: 1px solid #f1f5f9;
            overflow: hidden;
        }

        /* Header Style */
        .exp-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 20px;
        }

        /* Table Head Styling */
        .exp-thead th {
            background: #fff1f2; /* Soft Red Background */
            color: #9f1239;       /* Deep Red Text */
            font-size: 0.75rem;
            text-transform: uppercase;
            letter-spacing: 1px;
            font-weight: 800;
            padding: 18px 25px !important;
            border-bottom: 2px solid #fecdd3;
        }

        /* Row Styling */
        .exp-row {
            transition: all 0.25s ease;
            border-bottom: 1px solid #f8fafc;
        }
        .exp-row:hover {
            background-color: #fff5f5; /* Light Red Tint on Hover */
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(220, 38, 38, 0.05);
            z-index: 5;
            position: relative;
        }
        .exp-row td {
            padding: 20px 25px !important;
            vertical-align: middle;
            color: #334155;
        }

        /* Date Badge (Calendar Style) */
        .date-box {
            background: #ffffff;
            color: #e11d48;
            border: 1px solid #fda4af;
            border-radius: 12px;
            padding: 6px 12px;
            text-align: center;
            min-width: 85px;
            box-shadow: 0 2px 5px rgba(225, 29, 72, 0.05);
        }
        .date-day { font-weight: 800; font-size: 1.2rem; line-height: 1; display: block; }
        .date-mon { font-size: 0.7rem; text-transform: uppercase; font-weight: 700; letter-spacing: 1px; }

        /* Content Styling */
        .purpose-text { font-weight: 700; font-size: 1rem; color: #1e293b; display: block; margin-bottom: 3px; }
        .remarks-text { font-size: 0.8rem; color: #64748b; font-style: italic; display: flex; align-items: center; gap: 5px; }
        
        /* Amount Badge */
        .amt-badge { 
            font-size: 1rem; font-weight: 800; color: #be123c; 
            background: #fff1f2; border: 1px dashed #f43f5e;
            padding: 8px 16px; border-radius: 50px;
            display: inline-block;
        }

        /* Soft Action Buttons */
        .btn-soft-action {
            width: 35px; height: 35px;
            border-radius: 10px;
            display: inline-flex; align-items: center; justify-content: center;
            border: none; transition: 0.2s; cursor: pointer;
        }
        .btn-soft-edit { background: #eff6ff; color: #3b82f6; }
        .btn-soft-edit:hover { background: #3b82f6; color: #fff; transform: scale(1.1); }
        .btn-soft-del { background: #fef2f2; color: #ef4444; }
        .btn-soft-del:hover { background: #ef4444; color: #fff; transform: scale(1.1); }
        .btn-soft-dl { background: #ecfdf5; color: #10b981; }
        .btn-soft-dl:hover { background: #10b981; color: #fff; transform: scale(1.1); }
    

/* --------------------------------------- */


        :root {
            --wa-green: #25D366;
            --wa-dark: #075E54;
            --arc-purple: #6c5ce7;
        }

        /* Hero Section */
        .hub-hero {
            background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
            border-radius: 24px; padding: 40px; color: white;
            position: relative; overflow: hidden;
            box-shadow: 0 15px 40px rgba(17, 153, 142, 0.3); margin-bottom: 30px;
        }
        .hub-hero::after {
            content: ''; position: absolute; right: -50px; bottom: -50px;
            width: 250px; height: 250px; background: rgba(255,255,255,0.15); border-radius: 50%;
        }

        /* Tabs */
        .hub-tabs {
            display: flex; gap: 15px; margin-bottom: 30px;
            background: #f1f2f6; padding: 5px; border-radius: 50px;
            width: fit-content; margin-left: auto; margin-right: auto;
        }
        .hub-tab-btn {
            padding: 10px 30px; border-radius: 40px; border: none;
            font-weight: 700; color: #636e72; background: transparent; transition: 0.3s;
        }
        .hub-tab-btn.active {
            background: white; color: #2d3436; box-shadow: 0 5px 15px rgba(0,0,0,0.05);
        }

        /* WhatsApp Card */
        .wa-card {
            background: #fff; border-radius: 20px; border: 1px solid #e2e8f0;
            overflow: hidden; height: 100%; box-shadow: 0 10px 30px rgba(0,0,0,0.03);
        }
        
        /* Internal Toggle (Bulk/Single) */
        .wa-mode-switch {
            background: #f0fdf4; padding: 15px 20px; border-bottom: 1px solid #dcfce7;
            display: flex; gap: 10px;
        }
        .mode-btn {
            flex: 1; border: 1px solid #dcfce7; background: white; color: #166534;
            padding: 8px; border-radius: 10px; font-weight: 700; font-size: 0.85rem;
            transition: 0.2s;
        }
        .mode-btn.active {
            background: #166534; color: white; border-color: #166534;
            box-shadow: 0 4px 10px rgba(22, 101, 52, 0.2);
        }

        /* Magic Loop Animation */
        .loop-status {
            background: #1e293b; color: white; border-radius: 16px;
            padding: 20px; margin-top: 20px; display: none;
            animation: slideUp 0.3s ease;
        }
        @keyframes slideUp { from{transform:translateY(20px);opacity:0;} to{transform:translateY(0);opacity:1;} }

        /* Archive Styles */
        .file-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; }
        .file-card {
            background: white; border-radius: 16px; padding: 20px;
            border: 1px solid #f1f5f9; transition: 0.3s; position: relative; overflow: hidden;
        }
        .file-card:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0,0,0,0.08); border-color: var(--arc-purple); }
        .file-cat-badge {
            position: absolute; top: 15px; right: 15px; font-size: 0.65rem;
            background: #f3e8ff; color: #7e22ce; padding: 4px 10px; border-radius: 20px; font-weight: 700;
        }
        .upload-box {
            border: 2px dashed #cbd5e1; border-radius: 20px; padding: 40px; text-align: center;
            cursor: pointer; transition: 0.3s; background: #f8fafc;
        }
        .upload-box:hover { border-color: var(--arc-purple); background: #fcfaff; }
    

/* --------------------------------------- */


        .bin-card { background: #fff; border-radius: 20px; box-shadow: 0 10px 30px rgba(0,0,0,0.05); border: 1px solid #e2e8f0; overflow: hidden; }
        .bin-header { background: #f8fafc; padding: 20px 25px; border-bottom: 2px solid #cbd5e1; color: #475569; text-transform: uppercase; font-size: 0.75rem; letter-spacing: 1px; font-weight: 800; }
        .bin-row td { padding: 18px 25px !important; vertical-align: middle; color: #334155; font-size: 0.9rem; }
        .bin-row:hover { background-color: #fff1f2; }
        .source-badge { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; padding: 5px 12px; border-radius: 6px; }
        .badge-deposit { background: #ecfdf5; color: #047857; border: 1px solid #a7f3d0; }
        .badge-expense { background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; }
        .badge-member { background: #eff6ff; color: #1d4ed8; border: 1px solid #bfdbfe; }
    

/* --------------------------------------- */


      /* কার্ড কন্টেইনার ডিজাইন */
      .stat-card-modern {
        border-radius: 24px;
        padding: 30px;
        color: #ffffff; /* টেক্সট সাদা */
        position: relative;
        overflow: hidden;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        transition: all 0.3s ease;
        border: 1px solid rgba(255,255,255,0.1);
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
      }
      
      /* হোভার ইফেক্ট */
      .stat-card-modern:hover {
        transform: translateY(-8px);
        box-shadow: 0 20px 40px rgba(0,0,0,0.2);
      }

      /* ৪টি ভিন্ন রঙের গ্রেডিয়েন্ট */
      .card-deposit { background: linear-gradient(135deg, #10b981 0%, #059669 100%); } /* Emerald Green */
      .card-expense { background: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%); } /* Red */
      .card-fund { background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%); }    /* Royal Blue */
      .card-cash { background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%); }    /* Golden/Amber */

      /* বড় ফন্ট স্টাইল */
      .stat-val-big {
        font-size: 2.2rem;
        font-weight: 800;
        margin-top: 10px;
        letter-spacing: -0.5px;
        text-shadow: 0 2px 4px rgba(0,0,0,0.1);
      }

      /* লেবেল স্টাইল */
      .stat-lbl-small {
        font-size: 0.85rem;
        text-transform: uppercase;
        letter-spacing: 2px;
        opacity: 0.9;
        font-weight: 700;
      }

      /* ব্যাকগ্রাউন্ড আইকন (ওয়াটারমার্ক) */
      .bg-icon-overlay {
        position: absolute;
        right: -20px;
        bottom: -20px;
        font-size: 8rem;
        opacity: 0.15;
        transform: rotate(-15deg);
        pointer-events: none;
      }
    

/* --------------------------------------- */


      .report-container { animation: fadeIn 0.6s ease-out; }
      @keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

      /* Action Bar - Filter Section */
      .action-card { 
        background: #ffffff; 
        border-radius: 20px; 
        border: 1px solid #e2e8f0; 
        box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
        margin-bottom: 25px;
        padding: 12px !important;
      }
      
      /* Summary Header Card */
      .summary-card-main { 
        background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%); 
        border-radius: 24px; 
        border: 1px solid rgba(255,255,255,0.08); 
        box-shadow: 0 20px 25px -5px rgba(0,0,0,0.2);
        padding: 32px !important;
        margin-bottom: 30px;
      }

      /* Glass Stat Cards */
      .glass-stat { 
        background: rgba(255, 255, 255, 0.05); 
        backdrop-filter: blur(12px); 
        border: 1px solid rgba(255,255,255,0.12); 
        border-radius: 20px; 
        padding: 24px;
        transition: all 0.3s ease;
      }
      .stat-label-premium { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 1.2px; color: #94a3b8; font-weight: 700; margin-bottom: 8px; display: block; }
      .stat-value-premium { font-size: 1.6rem; font-weight: 800; color: #ffffff !important; }
      
      .potential-box { 
        background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%); 
        border-radius: 20px; padding: 24px; text-align: center;
        box-shadow: 0 10px 15px -3px rgba(245,158,11,0.3);
      }
      .potential-box .stat-value-premium { color: #0f172a !important; }
      .potential-box .stat-label-premium { color: rgba(15, 23, 42, 0.6); }

      /* List Cards */
      .list-card-premium { border-radius: 22px; border: none; box-shadow: 0 10px 15px -3px rgba(0,0,0,0.04); background: #fff; }
      .list-header { padding: 20px 25px; border-bottom: 1px solid #f1f5f9; display: flex; justify-content: space-between; align-items: center; }
      
      /* === UPDATED SCROLL HEIGHT (10 items visible) === */
      .list-scroll { 
          max-height: 800px; /* হাইট বাড়ানো হয়েছে */
          overflow-y: auto; 
          padding: 20px; 
      }
      /* Custom Scrollbar Logic */
      .list-scroll::-webkit-scrollbar { width: 6px; }
      .list-scroll::-webkit-scrollbar-track { background: #f9f9f9; border-radius: 10px; }
      .list-scroll::-webkit-scrollbar-thumb { background: #cfd8dc; border-radius: 10px; }
      .list-scroll::-webkit-scrollbar-thumb:hover { background: #b0bec5; }
      /* ============================================== */
      
      .member-item { 
        display: flex; justify-content: space-between; align-items: center; 
        padding: 14px 18px; margin-bottom: 12px; border-radius: 14px;
        background: #f8fafc; border: 1px solid #f1f5f9; transition: 0.2s;
      }
      .member-item:hover { background: #f1f5f9; transform: scale(1.01); }
      .member-name { font-weight: 700; color: #1e293b; font-size: 0.95rem; }
      .member-amt { font-weight: 800; }
    

/* --------------------------------------- */


        /* --- Super Premium Launch Pad Design --- */
        
        /* Background Ambient Glow */
        .launch-wrapper {
            position: relative;
            min-height: 75vh;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 40px 20px;
            overflow: hidden;
            font-family: 'Plus Jakarta Sans', sans-serif;
        }

        /* Glowing Orbs */
        .glow-orb-1 {
            position: absolute;
            width: 500px; height: 500px;
            background: radial-gradient(circle, rgba(224, 40, 46, 0.15) 0%, rgba(255,255,255,0) 70%);
            border-radius: 50%;
            top: -100px; left: -100px;
            animation: orb-float 12s infinite alternate ease-in-out;
            z-index: 0;
            pointer-events: none;
        }
        .glow-orb-2 {
            position: absolute;
            width: 400px; height: 400px;
            background: radial-gradient(circle, rgba(59, 130, 246, 0.12) 0%, rgba(255,255,255,0) 70%);
            border-radius: 50%;
            bottom: -50px; right: -50px;
            animation: orb-float 15s infinite alternate-reverse ease-in-out;
            z-index: 0;
            pointer-events: none;
        }

        @keyframes orb-float {
            0% { transform: translate(0, 0) scale(1); }
            100% { transform: translate(50px, 50px) scale(1.1); }
        }

        /* Floating Premium Card */
        .ultimate-card {
            background: rgba(255, 255, 255, 0.9);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            border: 1px solid rgba(255, 255, 255, 1);
            border-radius: 32px;
            padding: 60px 40px;
            max-width: 850px;
            width: 100%;
            text-align: center;
            position: relative;
            z-index: 10;
            box-shadow: 0 30px 60px rgba(0, 0, 0, 0.05), inset 0 0 0 1px rgba(255, 255, 255, 0.5);
            animation: floatCard 6s ease-in-out infinite;
        }

        @keyframes floatCard {
            0%, 100% { transform: translateY(0px); box-shadow: 0 30px 60px rgba(0, 0, 0, 0.05); }
            50% { transform: translateY(-12px); box-shadow: 0 40px 70px rgba(224, 40, 46, 0.08); }
        }

        /* Animated Icon */
        .hero-icon-box {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 90px; height: 90px;
            background: linear-gradient(135deg, #FFEBEC 0%, #ffffff 100%);
            border-radius: 24px;
            box-shadow: 0 15px 30px rgba(224, 40, 46, 0.15), inset 0 2px 0 rgba(255,255,255,1);
            margin-bottom: 25px;
            font-size: 40px;
            color: #E0282E;
            position: relative;
            animation: iconBreathe 4s infinite ease-in-out;
        }

        @keyframes iconBreathe {
            0%, 100% { transform: scale(1); }
            50% { transform: scale(1.05) rotate(5deg); }
        }

        /* Gradient Text */
        .text-gradient {
            background: linear-gradient(135deg, #0F172A 0%, #334155 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            font-weight: 800;
            font-size: 48px;
            letter-spacing: -1.5px;
            margin-bottom: 15px;
        }

        /* Staggered Feature Pills */
        .feature-grid {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 15px;
            margin: 40px 0;
            perspective: 1000px;
        }

        .feature-pill {
            background: #F8FAFC;
            border: 1px solid #E2E8F0;
            padding: 12px 24px;
            border-radius: 50px;
            font-size: 15px;
            font-weight: 700;
            color: #475569;
            display: flex;
            align-items: center;
            gap: 10px;
            box-shadow: 0 4px 10px rgba(0,0,0,0.02);
            transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            opacity: 0;
            transform: translateY(20px) rotateX(10deg);
            animation: popIn 0.6s forwards ease-out;
        }

        /* Stagger Delays */
        .feature-pill:nth-child(1) { animation-delay: 0.1s; }
        .feature-pill:nth-child(2) { animation-delay: 0.2s; }
        .feature-pill:nth-child(3) { animation-delay: 0.3s; }
        .feature-pill:nth-child(4) { animation-delay: 0.4s; }
        .feature-pill:nth-child(5) { animation-delay: 0.5s; }
        .feature-pill:nth-child(6) { animation-delay: 0.6s; }

        @keyframes popIn {
            to { opacity: 1; transform: translateY(0) rotateX(0); }
        }

        .feature-pill:hover {
            background: #FFEBEC;
            border-color: #ffb3ba;
            color: #E0282E;
            transform: translateY(-5px) scale(1.05);
            box-shadow: 0 10px 20px rgba(224, 40, 46, 0.15);
        }

        .feature-pill i {
            color: #E0282E;
            font-size: 1.1rem;
        }

        /* Shining Master Button */
        .btn-shine-master {
            background: linear-gradient(135deg, #E0282E 0%, #FF4757 100%);
            color: white;
            border: none;
            padding: 20px 50px;
            border-radius: 50px;
            font-weight: 800;
            font-size: 1.25rem;
            cursor: pointer;
            position: relative;
            overflow: hidden;
            display: inline-flex;
            align-items: center;
            gap: 12px;
            box-shadow: 0 15px 35px rgba(224, 40, 46, 0.35);
            transition: all 0.3s ease;
            text-decoration: none;
        }

        .btn-shine-master:hover {
            transform: translateY(-5px);
            box-shadow: 0 25px 45px rgba(224, 40, 46, 0.5);
            color: white;
        }

        /* The Shimmer Effect */
        .btn-shine-master::after {
            content: '';
            position: absolute;
            top: 0; left: -100%;
            width: 50%; height: 100%;
            background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.4) 50%, rgba(255,255,255,0) 100%);
            transform: skewX(-25deg);
            animation: shimmer 3s infinite;
        }

        @keyframes shimmer {
            0% { left: -100%; }
            20% { left: 200%; }
            100% { left: 200%; }
        }

        /* Decorative Top Badge */
        .pro-badge {
            background: #FFEBEC;
            color: #E0282E;
            padding: 8px 20px;
            border-radius: 50px;
            font-weight: 800;
            font-size: 13px;
            border: 1px solid rgba(224, 40, 46, 0.2);
            display: inline-flex;
            align-items: center;
            gap: 6px;
            margin-bottom: 20px;
            box-shadow: 0 4px 10px rgba(224, 40, 46, 0.05);
        }
    

/* --------------------------------------- */


        :root {
            --primary-dark: #0f172a;
            --accent-blue: #3b82f6;
            --bg-light: #f8fafc;
        }

        /* Hero Header */
        .agreement-hero { 
            background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
            border-radius: 24px; padding: 40px; color: white; 
            box-shadow: 0 15px 35px rgba(15, 23, 42, 0.2); 
            position: relative; overflow: hidden; margin-bottom: 30px; 
        }
        .agreement-hero::before {
            content: ''; position: absolute; right: -50px; top: -50px;
            width: 250px; height: 250px; background: radial-gradient(circle, rgba(59, 130, 246, 0.2) 0%, transparent 70%);
            border-radius: 50%;
        }

        /* Action Bar */
        .action-bar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 25px; flex-wrap: wrap; gap: 15px; }
        .search-container { flex-grow: 1; max-width: 450px; position: relative; }
        .search-input { width: 100%; border: 2px solid #e2e8f0; border-radius: 50px; padding: 14px 20px 14px 50px; font-weight: 600; color: #334155; transition: 0.3s; background: white; box-shadow: 0 4px 10px rgba(0,0,0,0.02); }
        .search-input:focus { outline: none; border-color: var(--accent-blue); box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.15); }
        .search-icon { position: absolute; left: 20px; top: 50%; transform: translateY(-50%); color: #94a3b8; font-size: 1.1rem; }
        
        /* Premium Card Styles */
        .agreement-grid { display: grid; gap: 20px; }
        .agreement-card { 
            background: white; border-radius: 20px; padding: 25px; 
            border: 1px solid #f1f5f9; box-shadow: 0 5px 15px rgba(0,0,0,0.03); 
            display: flex; align-items: center; justify-content: space-between; 
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); 
            position: relative; overflow: hidden; 
        }
        .agreement-card:hover { 
            transform: translateY(-5px); 
            box-shadow: 0 20px 40px rgba(0,0,0,0.08); 
            border-color: #cbd5e1; 
            z-index: 10; 
        }
        
        /* Card Gradient Border Left */
        .agreement-card::before {
            content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 5px;
            background: linear-gradient(to bottom, #3b82f6, #06b6d4); transition: 0.3s;
        }
        .agreement-card:hover::before { width: 8px; }

        /* User Info Section */
        .user-info { display: flex; align-items: center; gap: 20px; flex: 2; }
        .user-avatar { 
            width: 55px; height: 55px; border-radius: 16px; 
            background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%); 
            color: #2563eb; font-weight: 800; font-size: 1.4rem; 
            display: flex; align-items: center; justify-content: center; 
            box-shadow: 0 5px 15px rgba(59, 130, 246, 0.15); border: 2px solid white;
        }
        
        .meta-info { flex: 1.5; display: flex; flex-direction: column; gap: 6px; }
        .status-container { flex: 1; display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }

        /* Fancy Badges */
        .badge-pro { 
            padding: 6px 14px; border-radius: 30px; font-size: 0.75rem; font-weight: 700; 
            display: inline-flex; align-items: center; gap: 6px; border: 1px solid transparent;
        }
        .badge-success { background: #f0fdf4; color: #16a34a; border-color: #bbf7d0; }
        .badge-warning { background: #fffbeb; color: #d97706; border-color: #fde68a; }
        .badge-primary { background: #eff6ff; color: #2563eb; border-color: #bfdbfe; }
        .badge-danger { background: #fef2f2; color: #dc2626; border-color: #fecaca; }

        /* Action Buttons */
        .actions { display: flex; gap: 10px; }
        .btn-icon-soft { 
            width: 42px; height: 42px; border-radius: 12px; display: flex; align-items: center; justify-content: center; 
            border: none; cursor: pointer; transition: 0.2s; box-shadow: 0 2px 5px rgba(0,0,0,0.02);
        }
        .btn-print { background: #f8fafc; color: #334155; border: 1px solid #e2e8f0; } 
        .btn-print:hover { background: #334155; color: white; transform: scale(1.1); box-shadow: 0 5px 15px rgba(51,65,85,0.2); }
        
        .btn-mark-print { background: #fffbeb; color: #d97706; border: 1px solid #fef3c7; } 
        .btn-mark-print:hover { background: #d97706; color: white; transform: scale(1.1); box-shadow: 0 5px 15px rgba(217,119,6,0.2); }
        
        .btn-mark-delv { background: #f0fdf4; color: #16a34a; border: 1px solid #dcfce7; } 
        .btn-mark-delv:hover { background: #16a34a; color: white; transform: scale(1.1); box-shadow: 0 5px 15px rgba(22,163,74,0.2); }

        .btn-delete { background: #fef2f2; color: #dc2626; border: 1px solid #fee2e2; }
        .btn-delete:hover { background: #dc2626; color: white; transform: scale(1.1) rotate(10deg); box-shadow: 0 5px 15px rgba(220,38,38,0.2); }

        @media (max-width: 768px) {
            .agreement-card { flex-direction: column; align-items: flex-start; gap: 15px; }
            .user-info, .meta-info, .status-container, .actions { width: 100%; }
            .actions { justify-content: flex-end; border-top: 1px solid #f1f5f9; padding-top: 15px; margin-top: 5px; }
        }
    

/* --------------------------------------- */


        :root {
            --primary-grad: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            --glass-bg: rgba(255, 255, 255, 0.95);
            --shadow-soft: 0 10px 40px rgba(0,0,0,0.08);
            --shadow-hover: 0 20px 50px rgba(0,0,0,0.12);
        }

        /* Container Animation */
        .animate-up { animation: fadeInUp 0.5s ease-out forwards; opacity: 0; transform: translateY(20px); }
        @keyframes fadeInUp { to { opacity: 1; transform: translateY(0); } }

        /* 1. HERO HEADER CARD */
        .bulk-hero {
            background: var(--primary-grad);
            border-radius: 24px;
            padding: 40px 30px 80px 30px; 
            color: white;
            position: relative;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(118, 75, 162, 0.3);
        }
        .bulk-hero::before {
            content: ''; position: absolute; top: -50%; right: -10%; width: 300px; height: 300px;
            background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, transparent 70%);
            border-radius: 50%;
        }

        /* 2. FILTER BAR (Floating) */
        .filter-float-card {
            background: var(--glass-bg);
            backdrop-filter: blur(10px);
            border-radius: 20px;
            padding: 20px;
            margin-top: -50px; 
            margin-bottom: 30px;
            box-shadow: var(--shadow-soft);
            border: 1px solid rgba(255,255,255,0.5);
            position: relative;
            z-index: 10;
        }

        /* 3. INFO STATS CARDS */
        .stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; margin-bottom: 30px; }
        .info-card {
            background: #fff; border-radius: 16px; padding: 20px;
            border: 1px solid #f0f2f5; box-shadow: 0 5px 15px rgba(0,0,0,0.03);
            transition: 0.3s;
        }
        .info-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-soft); border-color: #e0e7ff; }
        .ic-icon { width: 45px; height: 45px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; margin-bottom: 10px; }
        
        /* 4. PREMIUM LIST */
        .bulk-list-wrapper {
            background: #fff; border-radius: 24px;
            box-shadow: var(--shadow-soft); border: 1px solid #f0f2f5;
            overflow: hidden; min-height: 300px;
        }
        .list-row {
            display: flex; align-items: center; padding: 18px 25px;
            border-bottom: 1px solid #f1f5f9; transition: all 0.2s ease;
            cursor: pointer; position: relative;
        }
        .list-row:hover { background-color: #f8fafc; }
        .list-row.selected { background-color: #f0fdf4; }
        .list-row.selected::before {
            content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: #22c55e;
        }
        
        .custom-check-box {
            width: 22px; height: 22px; border: 2px solid #cbd5e1; border-radius: 6px;
            display: flex; align-items: center; justify-content: center; color: transparent;
            transition: 0.2s; margin-right: 20px;
        }
        .list-row.selected .custom-check-box { background: #22c55e; border-color: #22c55e; color: white; }
        
        .av-box {
            width: 48px; height: 48px; border-radius: 14px;
            background: linear-gradient(135deg, #e0e7ff 0%, #c7d2fe 100%);
            color: #4338ca; font-weight: 800; font-size: 1.2rem;
            display: flex; align-items: center; justify-content: center; margin-right: 15px;
        }

        /* 5. FLOATING BOTTOM BAR */
        .float-action-bar {
            position: fixed; bottom: 30px; left: 50%; transform: translateX(-50%) translateY(150%);
            background: #1e293b; color: white; padding: 10px 10px 10px 25px;
            border-radius: 60px; display: flex; align-items: center; gap: 20px;
            box-shadow: 0 20px 60px rgba(0,0,0,0.4); z-index: 1000;
            transition: 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            opacity: 0;
        }
        .float-action-bar.active { transform: translateX(-50%) translateY(0); opacity: 1; }
        
        .btn-send-pulse {
            background: #22c55e; color: white; border: none;
            padding: 12px 30px; border-radius: 50px; font-weight: 700;
            box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
            animation: pulse-green 2s infinite; transition: 0.3s;
        }
        .btn-send-pulse:hover { background: #16a34a; transform: scale(1.05); }
        @keyframes pulse-green {
            0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
            70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(34, 197, 94, 0); }
            100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
        }

        /* Select Input Style */
        .glass-input {
            border: 2px solid #e2e8f0; background: #f8fafc;
            border-radius: 12px; padding: 12px; font-weight: 600; color: #334155;
            transition: 0.3s; cursor: pointer;
        }
        .glass-input:focus { border-color: #764ba2; outline: none; background: white; box-shadow: 0 0 0 4px rgba(118, 75, 162, 0.1); }
        .glass-btn {
            background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
            color: white; border: none; border-radius: 12px; font-weight: 700;
            transition: 0.3s;
        }
        .glass-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 20px rgba(118, 75, 162, 0.3); }
        
        .quota-badge {
            background: #f3e8ff; color: #7e22ce; border: 1px solid #d8b4fe;
            padding: 8px 15px; border-radius: 50px; font-size: 0.8rem; font-weight: 700;
            display: inline-flex; align-items: center; gap: 5px; margin-top: 10px;
        }

    

/* --------------------------------------- */


        .res-container { font-family: 'Hind Siliguri', sans-serif; padding-bottom: 100px; }
        
        /* কার্ড ফিক্স: হাইট অটোমেটিক বাড়বে */
        .res-paper { 
            background: #fff; 
            border-radius: 12px; 
            box-shadow: 0 5px 20px rgba(0,0,0,0.05); 
            border: 1px solid #e2e8f0; 
            height: auto !important; 
            min-height: 100%;
            padding: 25px;
        }

        .section-header { 
            font-size: 1rem; font-weight: 700; color: #1e293b; 
            margin: 25px 0 15px 0; border-bottom: 2px solid #e2e8f0; 
            padding-bottom: 8px; display: flex; justify-content: space-between; align-items: center; 
        }
        
        /* Attendance List */
        .att-grid { 
            display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); 
            gap: 10px; max-height: 400px; overflow-y: auto; padding: 10px; 
            background: #f8fafc; border-radius: 8px; border: 1px solid #e2e8f0; 
        }
        .att-item { 
            display: flex; align-items: center; gap: 8px; padding: 10px; 
            border-radius: 6px; background: #fff; border: 1px solid #cbd5e1; 
            cursor: pointer; transition: 0.2s; 
        }
        .att-item:hover { transform: translateY(-2px); border-color: #3b82f6; }
        .att-item.checked { background: #eff6ff; border-color: #3b82f6; }
        .att-item.checked span { font-weight: 700; color: #1d4ed8; }

        /* ACTION PLAN TABLE FIXED */
        .action-table-wrapper {
            background: #fff;
            border: 1px solid #cbd5e1;
            border-radius: 8px;
            overflow-x: auto; 
            margin-bottom: 20px;
        }
        .action-table { width: 100%; min-width: 600px; border-collapse: separate; border-spacing: 0; }
        
        .action-table th { 
            background: #f1f5f9; color: #475569; padding: 15px; 
            font-size: 0.85rem; font-weight: 700; text-transform: uppercase;
            border-bottom: 2px solid #cbd5e1;
        }
        .action-table td { padding: 12px; vertical-align: top; border-bottom: 1px solid #f1f5f9; }
        
        .ap-input { 
            border: 1px solid #cbd5e1 !important; 
            background-color: #fff !important; 
            border-radius: 6px; 
            padding: 10px;
            height: 42px; 
            font-weight: 600; color: #334155; font-size: 0.95rem;
            width: 100%;
        }
        .ap-input:focus {
            border-color: #3b82f6 !important;
            box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
        }

        /* Voting Section */
        .vote-row { display: flex; justify-content: space-between; align-items: center; padding: 10px 15px; background: #fff; border-bottom: 1px solid #f1f5f9; }
        .vote-options { display: flex; gap: 20px; }
        
        /* TinyMCE Box Border */
        .tox-tinymce { border-radius: 8px !important; border: 1px solid #cbd5e1 !important; }
    

/* --------------------------------------- */


            .nav-notice-btn { border: 1px solid #e2e8f0; background: #f8fafc; color: #475569; padding: 10px 25px; border-radius: 50px; font-weight: 700; transition: 0.3s; }
            .nav-notice-btn.active { background: #0d6efd; color: white; border-color: #0d6efd; box-shadow: 0 5px 15px rgba(13, 110, 253, 0.3); }
            .tox-tinymce { border-radius: 12px !important; border: 1px solid #cbd5e1 !important; box-shadow: 0 4px 6px rgba(0,0,0,0.02); }
            .notice-row { transition: 0.2s; }
            .notice-row:hover { background-color: #f0fdf4 !important; transform: translateY(-2px); box-shadow: 0 4px 10px rgba(0,0,0,0.05); }
            
            /* Checkbox Styles */
            .sig-check-box { background: #f8fafc; border: 1px solid #e2e8f0; padding: 10px 15px; border-radius: 10px; cursor: pointer; transition: 0.2s; }
            .sig-check-box:hover { background: #eff6ff; border-color: #bfdbfe; }
            .sig-check-box input:checked + label { color: #0d6efd; font-weight: bold; }
        

/* --------------------------------------- */


        .rule-card { background: #fff; border-radius: 16px; padding: 20px; border: 1px solid #f1f5f9; box-shadow: 0 4px 10px rgba(0,0,0,0.02); transition: 0.3s; display: flex; gap: 15px; margin-bottom: 15px; }
        .rule-card:hover { transform: translateY(-2px); box-shadow: 0 10px 20px rgba(0,0,0,0.06); border-color: #cbd5e1; }
        .rule-number { width: 45px; height: 45px; border-radius: 50%; background: #eff6ff; color: #2563eb; font-weight: 800; font-size: 1.2rem; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
        .rule-text { font-size: 1rem; color: #334155; line-height: 1.6; font-weight: 500; text-align: justify; flex-grow: 1; }
        .rule-actions { display: flex; flex-direction: column; gap: 8px; flex-shrink: 0; }
        .btn-rule-action { width: 35px; height: 35px; border-radius: 10px; border: none; display: flex; align-items: center; justify-content: center; transition: 0.2s; }
        .btn-edit-rule { background: #fffbeb; color: #d97706; } .btn-edit-rule:hover { background: #d97706; color: white; transform: scale(1.1); }
        .btn-del-rule { background: #fef2f2; color: #dc2626; } .btn-del-rule:hover { background: #dc2626; color: white; transform: scale(1.1); }
    

/* --------------------------------------- */


        .perf-hero {
            background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
            border-radius: 24px; padding: 40px; color: white;
            box-shadow: 0 15px 35px rgba(15, 23, 42, 0.2);
            position: relative; overflow: hidden; margin-bottom: 30px;
        }
        .perf-hero::after {
            content: '\\f091'; font-family: 'Font Awesome 5 Free'; font-weight: 900;
            position: absolute; right: -20px; top: -30px; font-size: 15rem; color: rgba(255,255,255,0.05);
        }
        
        .medal-card {
            border-radius: 20px; padding: 25px; text-align: center;
            border: 1px solid #f1f5f9; box-shadow: 0 10px 20px rgba(0,0,0,0.03);
            position: relative; overflow: hidden; transition: 0.3s; height: 100%;
        }
        .medal-card:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0,0,0,0.08); }
        
        .medal-platinum { background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%); border-bottom: 4px solid #94a3b8; }
        .medal-gold { background: linear-gradient(135deg, #fffbeb 0%, #fef08a 100%); border-bottom: 4px solid #f59e0b; }
        .medal-silver { background: linear-gradient(135deg, #f1f5f9 0%, #cbd5e1 100%); border-bottom: 4px solid #64748b; }
        
        .medal-icon { font-size: 3.5rem; margin-bottom: 15px; }
        .medal-platinum .medal-icon { color: #64748b; text-shadow: 0 5px 15px rgba(100,116,139,0.3); }
        .medal-gold .medal-icon { color: #f59e0b; text-shadow: 0 5px 15px rgba(245,158,11,0.3); }
        .medal-silver .medal-icon { color: #94a3b8; text-shadow: 0 5px 15px rgba(148,163,184,0.3); }
        
        .perf-row {
            background: #fff; border-radius: 16px; padding: 15px 25px;
            margin-bottom: 15px; border: 1px solid #f1f5f9;
            display: flex; align-items: center; justify-content: space-between;
            transition: 0.3s; box-shadow: 0 4px 10px rgba(0,0,0,0.02);
        }
        .perf-row:hover { transform: scale(1.01); border-color: #cbd5e1; }
        
        .score-box {
            background: #f8fafc; border: 2px solid #e2e8f0; border-radius: 12px;
            padding: 8px 15px; font-weight: 800; font-size: 1.2rem; color: #0f172a;
        }
        
        /* 🔥 BUG FIXED: Added missing colors for Regular and Danger badges */
        .badge-platinum { background: #1e293b; color: #fff; border: 1px solid #1e293b; }
        .badge-gold { background: #f59e0b; color: #fff; border: 1px solid #f59e0b; }
        .badge-silver { background: #94a3b8; color: #fff; border: 1px solid #94a3b8; }
        .badge-regular { background: #e0f2fe; color: #0369a1; border: 1px solid #bae6fd; }
        .badge-danger { background: #fee2e2; color: #dc2626; border: 1px solid #fca5a5; }
        
        /* 🌟 NEW: Info Box Styling */
        .info-card-premium {
            background: #fff8f1; border: 1px dashed #f43f5e;
            border-radius: 16px; padding: 25px; margin-bottom: 30px;
            display: flex; align-items: center; gap: 20px;
        }
        .info-icon-wrapper {
            background: #ffe4e6; color: #e11d48; width: 60px; height: 60px;
            border-radius: 50%; display: flex; align-items: center; justify-content: center;
            font-size: 24px; flex-shrink: 0; box-shadow: 0 4px 10px rgba(225, 29, 72, 0.15);
        }
    