/* Global Styles & Reset */
:root {
    --bs-body-font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --bg-main: #f4f6fa;
    --text-primary: #1e293b;
    --text-muted: #64748b;
    --border-color: #e2e8f0;
}

body {
    background-color: var(--bg-main);
    font-family: var(--bs-body-font-family);
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header Navbar */
.header-nav {
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.brand-icon-box {
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(79, 70, 229, 0.25);
}

.brand-title {
    font-size: 1.15rem;
    letter-spacing: -0.3px;
}

.brand-subtitle {
    font-size: 0.62rem;
    letter-spacing: 0.6px;
    color: #94a3b8 !important;
}

/* Search Bar */
.header-search {
    width: 100%;
    max-width: 420px;
}

.search-input {
    background-color: #f1f4f9;
    border: 1px solid transparent;
    font-size: 0.88rem;
    color: #1e293b;
    transition: all 0.2s ease-in-out;
}

.search-input:focus {
    background-color: #ffffff;
    border-color: #818cf8;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}

.search-input::placeholder {
    color: #94a3b8;
    font-size: 0.85rem;
}

.search-icon {
    font-size: 0.9rem;
    pointer-events: none;
}

/* Header Action Buttons */
.btn-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background-color: #f8fafc;
    color: #475569;
    transition: all 0.2s ease;
}

.btn-icon:hover {
    background-color: #e2e8f0;
    color: #0f172a;
}

.custom-badge {
    font-size: 0.65rem;
    padding: 0.25em 0.45em;
    transform: translate(-30%, -30%) !important;
}

.avatar-box {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    box-shadow: 0 2px 6px rgba(37, 99, 235, 0.25);
}

/* Welcome Section */
.welcome-text {
    font-size: 1.5rem;
    letter-spacing: -0.4px;
}

.sub-welcome-text {
    font-size: 0.9rem;
}

/* Stat Cards */
.stat-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06) !important;
}

.stat-icon-box {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
}

.bg-purple-subtle {
    background-color: #f3e8ff !important;
}

.text-purple {
    color: #9333ea !important;
}

.bg-orange-subtle {
    background-color: #ffedd5 !important;
}

.text-orange {
    color: #ea580c !important;
}

/* Module Cards */
.modules-section h5 {
    font-size: 1.05rem;
}

.module-card {
    background-color: #ffffff;
    transition: all 0.22s ease-in-out;
    border: 1px solid rgba(241, 245, 249, 0.8) !important;
}

.module-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.07) !important;
}

.module-card:hover .card-arrow {
    transform: translateX(4px);
    color: #2563eb !important;
}

.card-arrow {
    transition: transform 0.2s ease, color 0.2s ease;
    font-size: 0.85rem;
}

.module-icon-box {
    width: 46px;
    height: 46px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Line clamp helper */
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Custom Module Color Themes */
.bg-blue-theme {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
}

.bg-green-theme {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
}

.bg-purple-theme {
    background: linear-gradient(135deg, #a855f7 0%, #9333ea 100%);
}

.bg-orange-theme {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
}

.bg-teal-theme {
    background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
}

.bg-indigo-theme {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
}

.bg-pink-theme {
    background: linear-gradient(135deg, #ec4899 0%, #db2777 100%);
}

.bg-cyan-theme {
    background: linear-gradient(135deg, #38bdf8 0%, #0284c7 100%);
}

.bg-amber-theme {
    background: linear-gradient(135deg, #fbbf24 0%, #d97706 100%);
}

.bg-violet-theme {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
}

.bg-emerald-theme {
    background: linear-gradient(135deg, #14b8a6 0%, #0d9488 100%);
}

.bg-lightgreen-theme {
    background: linear-gradient(135deg, #4ade80 0%, #16a34a 100%);
}

.bg-deeporange-theme {
    background: linear-gradient(135deg, #ff7849 0%, #ea580c 100%);
}

.bg-lightblue-theme {
    background: linear-gradient(135deg, #60a5fa 0%, #2563eb 100%);
}

.bg-darkpurple-theme {
    background: linear-gradient(135deg, #c084fc 0%, #9333ea 100%);
}

.bg-yellow-theme {
    background: linear-gradient(135deg, #facc15 0%, #ca8a04 100%);
}

.bg-darkteal-theme {
    background: linear-gradient(135deg, #22d3ee 0%, #0891b2 100%);
}

.bg-rose-theme {
    background: linear-gradient(135deg, #fb7185 0%, #e11d48 100%);
}

.bg-slate-theme {
    background: linear-gradient(135deg, #94a3b8 0%, #475569 100%);
}

.bg-royal-theme {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
}

/* Solid Colored Icon Circles (Matching User Screenshot) */
.nav-circle-icon {
    width: 38px !important;
    height: 38px !important;
    border-radius: 50% !important;
    margin: 0 auto 4px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.25);
}

.module-icon-solid {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    margin: 0 auto 12px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.module-icon-solid i {
    font-size: 1.85rem;
}

.bg-solid-cyan { background-color: #00c0ff !important; }
.bg-solid-yellow { background-color: #ffc107 !important; }
.bg-solid-green { background-color: #198754 !important; }
.bg-solid-red { background-color: #ea2b49 !important; }
.bg-solid-blue { background-color: #0066ff !important; }
.bg-solid-pink { background-color: #ec4899 !important; }
.bg-solid-dark { background-color: #212529 !important; }

/* NEW Badge */
.new-badge {
    background-color: #22c55e;
    color: #ffffff;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    border-radius: 20px;
    box-shadow: 0 2px 6px rgba(34, 197, 94, 0.4);
}

/* ==========================================================================
   Mobile App Specific Layout Styles (Matching UI Screenshot)
   ========================================================================== */

.mobile-app-header {
    background-color: #ffffff;
    border-bottom: 1px solid #f1f5f9;
}

.mobile-brand-title {
    font-size: 1.3rem;
    font-weight: 800;
    color: #0284c7;
    letter-spacing: -0.5px;
}

.mobile-chat-btn {
    color: #1e293b;
    font-weight: 600;
    font-size: 0.95rem;
}

/* Primary Top 3 Quick Actions */
.primary-action-card {
    background: transparent;
    border: none;
    text-decoration: none;
    transition: transform 0.2s ease;
}

.primary-action-card:hover {
    transform: translateY(-2px);
}

.primary-action-icon-box {
    width: 64px;
    height: 64px;
    margin: 0 auto 6px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
}

.primary-action-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: #1e293b;
}

/* App Tile Grid (White Rounded Square Tiles) */
.app-grid-container {
    background-color: #f1f5f9;
    border-radius: 1.5rem;
    padding: 1.25rem 0.85rem;
}

.app-tile-card {
    background-color: #ffffff;
    border-radius: 1.25rem !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03) !important;
    border: 1px solid rgba(226, 232, 240, 0.7) !important;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
    padding: 0.9rem 0.25rem !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
    min-height: 95px;
}

.app-tile-card:hover, .app-tile-card:active {
    transform: scale(0.96);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08) !important;
}

.app-tile-icon-box {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    margin-bottom: 4px;
}

.app-tile-label {
    font-size: 0.73rem;
    font-weight: 700;
    color: #334155;
    line-height: 1.2;
    text-align: center;
}

/* Carousel Custom Dots */
.custom-carousel-dots .carousel-indicators {
    margin-bottom: -1.5rem;
}

.custom-carousel-dots .carousel-indicators [data-bs-target] {
    width: 24px;
    height: 6px;
    border-radius: 10px;
    background-color: #cbd5e1;
    margin: 0 3px;
    border: none;
    opacity: 0.6;
}

.custom-carousel-dots .carousel-indicators .active {
    background-color: #334155;
    width: 32px;
    opacity: 1;
}

/* Floating Action Button (FAB) */
.fab-btn {
    position: fixed;
    bottom: 72px;
    right: 20px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: #0f172a;
    color: #ffffff;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.4) !important;
    border: none;
    z-index: 1050;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.fab-btn:hover, .fab-btn:active {
    transform: scale(1.08);
    background-color: #1e293b;
    color: #ffffff;
}

/* Fixed Bottom Navigation Bar */
.bottom-mobile-nav {
    background-color: #ffffff;
    border-top: 1px solid #e2e8f0;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.05);
    z-index: 1040;
    height: 60px;
}

.bottom-nav-link {
    color: #64748b;
    font-size: 0.75rem;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
}

.bottom-nav-link.active {
    color: #0f172a;
    font-weight: 700;
}

@media (max-width: 767.98px) {
    body {
        padding-bottom: 70px !important;
    }
}

/* Desktop Responsive App Layout Enhancements */
@media (min-width: 768px) {
    .primary-action-icon-box {
        width: 76px;
        height: 76px;
        border-radius: 24px;
    }
    
    .primary-action-title {
        font-size: 0.95rem;
    }

    .app-tile-card {
        min-height: 115px;
        padding: 1.25rem 0.5rem !important;
        border-radius: 1.5rem !important;
    }

    .app-tile-icon-box {
        width: 52px;
        height: 52px;
        border-radius: 16px;
        margin-bottom: 8px;
    }

    .app-tile-label {
        font-size: 0.82rem;
    }

    .app-grid-container {
        padding: 1.75rem 1.5rem;
        border-radius: 2rem;
    }

    .fab-btn {
        bottom: 30px;
        right: 30px;
        width: 64px;
        height: 64px;
    }
}

.hover-lift {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hover-lift:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08) !important;
}

/* Hero Welcome & Global Search Header */
.hero-welcome-card {
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 50%, #312e81 100%);
    border-radius: 1.25rem;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-search-input {
    background: rgba(255, 255, 255, 0.98);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50rem;
    padding-left: 2.8rem;
    padding-top: 0.65rem;
    padding-bottom: 0.65rem;
    font-size: 0.92rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.25s ease;
}

.hero-search-input:focus {
    background: #ffffff;
    border-color: #818cf8;
    box-shadow: 0 0 0 4px rgba(129, 140, 248, 0.3);
}

.hero-search-icon {
    left: 1.1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #4f46e5;
    font-size: 1.15rem;
    pointer-events: none;
}

/* Module Category Filter Pills */
.category-filter-pills .nav-link {
    font-size: 0.85rem;
    font-weight: 600;
    color: #475569;
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 50rem;
    padding: 0.45rem 1.1rem;
    transition: all 0.2s ease-in-out;
}

.category-filter-pills .nav-link:hover {
    background-color: #f8fafc;
    color: #0f172a;
    border-color: #cbd5e1;
}

.category-filter-pills .nav-link.active {
    background: linear-gradient(135deg, #4f46e5 0%, #3730a3 100%);
    color: #ffffff !important;
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
}

.module-search-box {
    max-width: 280px;
}

.module-search-box .form-control {
    border-radius: 50rem;
    font-size: 0.85rem;
    border: 1px solid #cbd5e1;
}

.module-search-box .form-control:focus {
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

/* Enhanced Module Card */
.module-card {
    background-color: #ffffff;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid rgba(226, 232, 240, 0.9) !important;
    border-radius: 1.1rem !important;
}

.module-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08) !important;
    border-color: rgba(99, 102, 241, 0.35) !important;
}

.module-card .card-body {
    padding: 1.15rem 1.25rem !important;
}

.module-icon-box {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

/* Dynamic dropdown link on navbar */
.dark-top-navbar .dropdown-menu {
    background-color: #171435;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.dark-top-navbar .dropdown-item {
    color: #e2e8f0;
    font-size: 0.85rem;
    padding: 0.5rem 1rem;
    transition: all 0.15s ease;
}

.dark-top-navbar .dropdown-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

/* Footer */
.footer {
    margin-top: auto;
    border-top: 1px solid #e2e8f0;
    background-color: #ffffff;
}

/* Responsive Grid Adjustments */
@media (min-width: 1400px) {
    .row-cols-xl-5>* {
        flex: 0 0 auto;
        width: 20%;
    }
}

/* ==========================================================================
   Teacher Page Specific Styles
   ========================================================================== */

/* Dark Top Navigation Bar (Teacher Page) */
.dark-top-navbar {
    background-color: #0f0c29;
    background: linear-gradient(90deg, #0e0c24 0%, #171435 100%);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.dark-top-navbar .nav-link {
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.dark-top-navbar .nav-link:hover {
    opacity: 1 !important;
    background-color: rgba(255, 255, 255, 0.1);
}

.active-nav-pill {
    background-color: #312e81 !important;
    background: linear-gradient(135deg, #4338ca 0%, #312e81 100%) !important;
    opacity: 1 !important;
    font-weight: 600 !important;
    box-shadow: 0 2px 8px rgba(67, 56, 202, 0.4);
}

/* Page Header & Buttons */
.page-title {
    font-size: 1.75rem;
    letter-spacing: -0.5px;
}

.page-subtitle {
    font-size: 0.9rem;
}

.btn-add-teacher {
    background: linear-gradient(135deg, #4f46e5 0%, #3730a3 100%);
    border: none;
    transition: all 0.2s ease;
}

.btn-add-teacher:hover {
    background: linear-gradient(135deg, #4338ca 0%, #312e81 100%);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(79, 70, 229, 0.35) !important;
}

.no-arrow::after {
    display: none !important;
}

/* Teacher Tabs */
.teacher-tabs {
    flex-wrap: nowrap !important;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
}

.teacher-tabs::-webkit-scrollbar {
    display: none;
}

.teacher-tabs .nav-link {
    white-space: nowrap;
    border: none;
    border-bottom: 3px solid transparent;
    color: #64748b;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    transition: all 0.2s ease;
}

.teacher-tabs .nav-link:hover {
    color: #1e293b;
}

.teacher-tabs .nav-link.active {
    background-color: transparent;
    border-bottom-color: #4f46e5;
    color: #4f46e5 !important;
}

/* Custom Teacher Table */
.custom-teacher-table th {
    font-size: 0.82rem;
    font-weight: 700;
    color: #1e293b;
    padding: 1rem 0.75rem;
    background-color: #f8fafc;
    border-bottom: 2px solid #e2e8f0;
}

.custom-teacher-table td {
    padding: 0.9rem 0.75rem;
    font-size: 0.88rem;
}

.custom-teacher-table tbody tr:hover {
    background-color: #f8fafc;
}

/* Avatar Circles in Table */
.avatar-circle {
    width: 38px;
    height: 38px;
    border-radius: 50%;
}

.text-pink {
    color: #ec4899 !important;
}

.bottom-page-footer {
    margin-top: auto;
    font-size: 0.85rem;
}

/* Add Teacher Modal Custom Layout */
.section-tab-badge {
    border-radius: 8px 8px 0 0;
    font-size: 0.8rem;
    letter-spacing: 0.3px;
}

.class-fees-table-container {
    max-height: 480px;
    overflow-y: auto;
}

.class-fees-table th {
    font-size: 0.8rem;
    letter-spacing: 0.2px;
}

.class-fees-table td {
    padding: 0.3rem 0.2rem;
}

.btn-save-now {
    background-color: #000000 !important;
    border-color: #000000 !important;
    letter-spacing: 1px;
    transition: all 0.2s ease;
}

.btn-save-now:hover {
    background-color: #1a1a1a !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25) !important;
}

.btn-delete-teacher {
    background-color: #f43f5e !important;
    background: linear-gradient(135deg, #f43f5e 0%, #e11d48 100%) !important;
    border: none !important;
    color: #ffffff !important;
    font-size: 0.88rem;
    letter-spacing: 0.5px;
    transition: all 0.2s ease;
}

.btn-delete-teacher:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(225, 29, 72, 0.35) !important;
}

.btn-show-logs {
    background-color: #16a34a !important;
    border: none !important;
    color: #ffffff !important;
    font-size: 0.82rem;
    transition: all 0.2s ease;
}

.btn-show-logs:hover {
    background-color: #15803d !important;
}

.btn-save-student {
    background-color: #f43f5e !important;
    background: linear-gradient(135deg, #f43f5e 0%, #e11d48 100%) !important;
    border: none !important;
    color: #ffffff !important;
    font-size: 1rem;
    letter-spacing: 0.5px;
    transition: all 0.2s ease;
}

.btn-save-student:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(244, 63, 94, 0.35) !important;
}

/* Reports Hub Hover Card Styles */
.report-hover-card {
    transition: all 0.22s ease-in-out;
    border: 1px solid rgba(226, 232, 240, 0.9) !important;
}

.report-hover-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08) !important;
    border-color: rgba(99, 102, 241, 0.4) !important;
}

.report-hover-card:hover i.bi-arrow-right-short {
    transform: translateX(4px);
}

.btn-emerald-pay {
    background-color: #10b981 !important;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
    border: none !important;
    letter-spacing: 0.5px;
    transition: all 0.2s ease;
}

.btn-emerald-pay:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(16, 185, 129, 0.35) !important;
}

.active-month-ring {
    box-shadow: 0 0 0 3px rgba(244, 63, 94, 0.3) !important;
}

/* Payment Checkout Gold Panel Styling */
.checkout-gold-card {
    background: linear-gradient(145deg, #fef08a 0%, #fde047 50%, #eab308 100%) !important;
    border: 1px solid #facc15 !important;
}

.amount-display-box {
    background: linear-gradient(135deg, #f43f5e 0%, #e11d48 100%) !important;
}

.btn-add-payment {
    background: linear-gradient(135deg, #f43f5e 0%, #be123c 100%) !important;
    border: none !important;
    font-size: 1.75rem !important;
    letter-spacing: 1px;
    transition: all 0.2s ease;
}

.btn-add-payment:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(225, 29, 72, 0.4) !important;
}

.btn-paying-idcard {
    background: linear-gradient(135deg, #facc15 0%, #ca8a04 100%) !important;
    border: none !important;
    font-size: 1.25rem !important;
    letter-spacing: 0.5px;
    transition: all 0.2s ease;
}

.btn-paying-idcard:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(202, 138, 4, 0.4) !important;
}

/* Accounts Module Card Hover Animation */
.account-module-card {
    transition: all 0.25s ease;
    border: 1px solid rgba(226, 232, 240, 0.9) !important;
}

.account-module-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08) !important;
}

/* Configuration Pill Tabs Styling */
.config-pill-tabs .nav-link {
    background-color: #f1f5f9;
    color: #475569;
    border: 1px solid #e2e8f0;
    transition: all 0.2s ease;
}

.config-pill-tabs .nav-link:hover {
    background-color: #e2e8f0;
    color: #0f172a;
}

.config-pill-tabs .nav-link.active {
    background-color: #0e0c24 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(14, 12, 36, 0.25) !important;
}

/* Payment Row Item Mobile Responsiveness & Badges Fix */
.payment-row-item {
    transition: all 0.2s ease;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.payment-row-item .badge {
    white-space: normal !important;
    word-break: break-word;
    text-align: left;
    display: inline-block;
    max-width: 100%;
}

.mw-100 {
    max-width: 100% !important;
}

@media (max-width: 575.98px) {
    .payment-row-item {
        padding: 0.85rem !important;
    }
    
    .checkout-gold-card {
        padding: 1.25rem 1rem !important;
    }

    .btn-add-payment {
        font-size: 1.35rem !important;
        padding-top: 0.8rem !important;
        padding-bottom: 0.8rem !important;
    }

    .btn-paying-idcard {
        font-size: 1rem !important;
        padding-top: 0.75rem !important;
        padding-bottom: 0.75rem !important;
    }
}

/* Financial Accounts Mobile Responsiveness */
.stat-widget-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

@media (max-width: 575.98px) {
    .stat-widget-card {
        padding: 0.75rem !important;
    }
    
    .stat-widget-icon {
        width: 38px !important;
        height: 38px !important;
        padding: 0 !important;
        flex-shrink: 0;
    }
    
    .stat-widget-icon i {
        font-size: 1.1rem !important;
    }
    
    .stat-widget-title {
        font-size: 0.7rem !important;
        line-height: 1.2;
    }
    
    .stat-widget-amount {
        font-size: 0.92rem !important;
        letter-spacing: -0.3px;
    }
    
    .account-module-card {
        padding: 1.1rem !important;
    }
}