/* =======================================================
   EK SANATAN - WALLET & TRANSACTIONS STYLESHEET
   Modern Vedic Aesthetics & Responsiveness
======================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: var(--bg-gradient);
    background-attachment: fixed;
    color: var(--text-main);
    font-family: var(--font-sans);
    overflow-x: hidden;
}

.dashboard-wrapper {
    display: flex;
    min-height: 100vh;
}

/* Sacred Temple Atmosphere Backdrop */
.temple-backdrop-art {
    position: absolute;
    top: 0;
    right: 0;
    width: 680px;
    max-width: 55vw;
    height: 340px;
    background-image: url('../assets/home_background.svg');
    background-repeat: no-repeat;
    background-position: top right;
    background-size: contain;
    pointer-events: none;
    z-index: 0;
    mix-blend-mode: multiply;
    -webkit-mask-image: radial-gradient(ellipse at 100% 0%, rgba(0, 0, 0, 1) 45%, rgba(0, 0, 0, 0) 85%);
    mask-image: radial-gradient(ellipse at 100% 0%, rgba(0, 0, 0, 1) 45%, rgba(0, 0, 0, 0) 85%);
}

.main-content {
    position: relative;
    background-color: transparent !important;
    background-image: none !important;
    flex: 1;
    margin-left: 235px;
    min-height: 100vh;
    padding: 24px 32px 60px 32px;
    width: calc(100% - 235px);
}

.top-header,
.wallet-hero-card,
.wallet-stats-grid,
.transaction-section {
    position: relative;
    z-index: 1;
}

/* ================= WALLET HERO CARD ================= */
.wallet-hero-card {
    background: linear-gradient(135deg, #6B0A18 0%, #8B1324 50%, #5E0815 100%);
    border-radius: 22px;
    padding: 24px 28px;
    color: #FFFFFF;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(107, 10, 24, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(229, 195, 101, 0.35);
    margin-bottom: 24px;
}

.wallet-hero-card::after {
    content: "ॐ";
    position: absolute;
    right: 20px;
    bottom: -30px;
    font-size: 160px;
    color: rgba(255, 255, 255, 0.05);
    font-family: var(--font-header);
    pointer-events: none;
    line-height: 1;
}

.wallet-hero-badges {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.wallet-hero-pill {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50px;
    padding: 4px 14px;
    font-size: 13px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    backdrop-filter: blur(8px);
}

.points-live-pill {
    background: rgba(229, 195, 101, 0.25);
    border-color: rgba(229, 195, 101, 0.5);
    color: #FFF3D6;
}

.wallet-hero-content-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.wallet-hero-info {
    flex: 1;
    min-width: 280px;
}

.wallet-hero-title {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 6px;
    font-family: var(--font-header);
    letter-spacing: -0.01em;
    color: #FFFDF9;
}

.wallet-hero-sub {
    font-size: 14.5px;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
    line-height: 1.5;
}

.wallet-explore-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 22px;
    border-radius: 12px;
    background: linear-gradient(135deg, #E5C365 0%, #D4AF37 100%);
    color: #5E0815;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(229, 195, 101, 0.35);
    transition: all 0.25s ease;
    white-space: nowrap;
}

.wallet-explore-btn:hover {
    background: linear-gradient(135deg, #F0D588 0%, #E5C365 100%);
    color: #4A040F;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(229, 195, 101, 0.45);
}

/* ================= STATS OVERVIEW GRID ================= */
.wallet-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 26px;
}

.wallet-stat-card {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1.5px solid #EFE8DE;
    border-radius: 20px;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    box-shadow: 0 4px 20px rgba(141, 13, 31, 0.04);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.wallet-stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 28px rgba(141, 13, 31, 0.08);
    border-color: #E2D5C3;
}

.stat-points-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 249, 238, 0.92) 100%);
    border-color: rgba(229, 195, 101, 0.6);
    box-shadow: 0 6px 24px rgba(212, 175, 55, 0.12);
}

.stat-card-left {
    display: flex;
    flex-direction: column;
}

.stat-card-label {
    font-size: 13px;
    font-weight: 600;
    color: #78716C;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-card-number {
    font-size: 30px;
    font-weight: 700;
    color: #8B1324;
    font-family: var(--font-header);
    margin: 0 0 4px 0;
    line-height: 1.1;
}

.points-gold {
    color: #B45309;
    text-shadow: 0 1px 2px rgba(217, 119, 6, 0.15);
}

.stat-card-sub {
    font-size: 12px;
    color: #A8A29E;
}

.wallet-stat-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.wallet-stat-icon img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.icon-booking {
    background: #FFF0F2;
    border: 1px solid #FCD2D8;
}

.icon-points {
    background: #FFF8EB;
    border: 1px solid #FDE6B0;
}

.icon-security {
    background: #EDFBF4;
    border: 1px solid #B8EED2;
    color: #16A34A;
    font-size: 24px;
}

/* ================= TRANSACTION SECTION ================= */
.transaction-section {
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1.5px solid #EFE8DE;
    border-radius: 22px;
    padding: 24px 26px;
    box-shadow: 0 4px 20px rgba(141, 13, 31, 0.04);
}

.section-badge-header {
    display: flex;
    align-items: center;
    gap: 14px;
}

.badge-icon-box {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: #8B1324;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 19px;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(139, 19, 36, 0.25);
}

.badge-heading {
    font-size: 19px;
    font-weight: 700;
    color: #8B1324;
    margin: 0;
    font-family: var(--font-header);
    letter-spacing: -0.01em;
}

.badge-subtext {
    font-size: 12.5px;
    color: #78716C;
}

/* SEARCH & FILTER TOOLBAR */
.transaction-top {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 18px 0 20px 0;
    flex-wrap: wrap;
}

.search-box {
    flex: 1;
    min-width: 240px;
    position: relative;
    height: 46px;
    border: 1.5px solid #E5DCD1;
    border-radius: 12px;
    display: flex;
    align-items: center;
    padding: 0 16px;
    background: #FFFFFF;
    transition: all 0.2s ease;
}

.search-box:focus-within {
    border-color: #D4AF37;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.18);
}

.search-box i {
    color: #A8A29E;
    font-size: 16px;
    margin-right: 12px;
}

.search-box input {
    width: 100%;
    border: none;
    outline: none;
    background: transparent;
    font-size: 14px;
    color: #201A18;
}

.filter-btn {
    height: 46px;
    padding: 0 22px;
    border-radius: 12px;
    background: #FFF7ED;
    border: 1.5px solid #FCD89C;
    color: #92400E;
    font-weight: 700;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter-btn:hover {
    background: #FFEDD5;
    border-color: #FBBF24;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.18);
}

/* ================= TRANSACTION TABLE ================= */
.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 14px;
    border: 1px solid #F0E8DD;
}

.transaction-table {
    min-width: 860px;
    margin-bottom: 0;
    background: #FFFFFF;
}

.transaction-table thead tr {
    background: #FDF9F3;
    border-bottom: 1.5px solid #EFE4D6;
}

.transaction-table th {
    font-size: 12px;
    font-weight: 700;
    color: #8B1324;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    padding: 14px 16px;
    border: none;
    white-space: nowrap;
}

.transaction-table tbody tr {
    border-bottom: 1px solid #F5EFEB;
    transition: background-color 0.15s ease;
}

.transaction-table tbody tr:hover {
    background-color: #FFFDF9;
}

.transaction-table td {
    padding: 14px 16px;
    font-size: 13.5px;
    color: #44403C;
    border: none;
}

/* Status Badges */
.badge-status-success {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    background: #DCFCE7;
    color: #15803D;
    border: 1px solid #B8EED2;
}

.badge-status-failed {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    background: #FEE2E2;
    color: #B91C1C;
    border: 1px solid #FCA5A5;
}

.badge-status-pending {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    background: #FEF3C7;
    color: #B45309;
    border: 1px solid #FDE68A;
}

/* Action Buttons */
.action-invoice-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 12.5px;
    font-weight: 600;
    background: #FFF5EC;
    color: #8B1324;
    border: 1px solid #F3E0CF;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
}

.action-invoice-btn:hover {
    background: #8B1324;
    color: #FFFFFF;
    border-color: #8B1324;
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(139, 19, 36, 0.2);
}

/* ================= TABLE FOOTER ================= */
.table-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    margin-top: 8px;
    border-top: 1px solid #F5EFEB;
    flex-wrap: wrap;
    gap: 12px;
}

.records-text {
    font-size: 13px;
    color: #78716C;
    font-weight: 500;
}

.pagination-wrap {
    display: flex;
    align-items: center;
    gap: 14px;
}

.page-info {
    font-size: 13px;
    font-weight: 600;
    color: #44403C;
}

.pagination-btns {
    display: flex;
    gap: 6px;
}

.pagination-btns button {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    border: 1.5px solid #E5DCD1;
    background: #FFFFFF;
    color: #44403C;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.pagination-btns button:hover:not(:disabled) {
    border-color: #8B1324;
    color: #8B1324;
    background: #FFF5EC;
}

.pagination-btns button:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

/* ================= OFFCANVAS FILTERS ================= */
.filter-canvas {
    border-left: 2px solid #EFE4D6;
    background: #FFFDF9;
    max-width: 340px;
}

.filter-header {
    background: #FDF7EF;
    border-bottom: 1.5px solid #EFE4D6;
    padding: 18px 20px;
}

.filter-header h5 {
    color: #8B1324;
    font-weight: 700;
    margin: 0;
    font-size: 18px;
    font-family: var(--font-header);
}

.filter-block {
    border-bottom: 1px solid #F5EFEB;
}

.filter-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    cursor: pointer;
    user-select: none;
}

.filter-top h6 {
    font-size: 12.5px;
    font-weight: 700;
    color: #78716C;
    letter-spacing: 0.5px;
    margin: 0;
}

.filter-options {
    padding: 0 20px 14px 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.filter-check {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13.5px;
    color: #44403C;
    cursor: pointer;
}

.filter-check input {
    accent-color: #8B1324;
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.reset-filter-wrap {
    padding: 20px;
}

.reset-filter-btn {
    width: 100%;
    padding: 11px;
    border-radius: 12px;
    background: #FFF0F2;
    color: #8B1324;
    border: 1.5px solid #FCD2D8;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.reset-filter-btn:hover {
    background: #8B1324;
    color: #FFFFFF;
    border-color: #8B1324;
}

/* ================= INVOICE MODAL STYLES ================= */
.invoice-modal .modal-content {
    border-radius: 20px;
    border: 1.5px solid #EFE4D6;
    background: #FFFFFF;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
}

.invoice-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 30px;
    border-bottom: 1.5px solid #F0E8DD;
    background: #FDF9F3;
    border-radius: 20px 20px 0 0;
}

.invoice-logo {
    height: 48px;
    width: auto;
}

.business-info {
    text-align: right;
    font-size: 12.5px;
    color: #78716C;
    margin: 0;
}

.invoice-box {
    padding: 26px 30px;
}

.invoice-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

.invoice-grid h6 {
    font-size: 11.5px;
    font-weight: 700;
    color: #8B1324;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.invoice-grid h5,
.invoice-grid h4 {
    font-size: 15px;
    font-weight: 700;
    color: #201A18;
    margin-bottom: 2px;
}

.invoice-price {
    font-size: 28px;
    font-weight: 700;
    color: #8B1324;
    font-family: var(--font-header);
    margin: 0 0 6px 0;
}

.invoice-table-wrap {
    border: 1px solid #EFE4D6;
    border-radius: 12px;
    overflow: hidden;
    margin: 20px 0;
}

.invoice-table {
    margin-bottom: 0;
}

.invoice-table th {
    background: #FDF7EF;
    font-size: 12px;
    color: #8B1324;
    font-weight: 700;
    padding: 10px 14px;
}

.invoice-table td {
    padding: 12px 14px;
    font-size: 13.5px;
}

.invoice-total-wrap {
    display: flex;
    justify-content: flex-end;
}

.invoice-total-box {
    width: 320px;
    background: #FDF9F3;
    border: 1px solid #EFE4D6;
    border-radius: 12px;
    padding: 14px 18px;
}

.invoice-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    font-size: 13.5px;
    color: #57534E;
    margin-bottom: 6px;
}

.total-row {
    border-top: 1.5px solid #E5DCD1;
    padding-top: 8px;
    margin-top: 6px;
    font-size: 16px;
    font-weight: 700;
    color: #8B1324;
}

.invoice-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 30px;
    background: #FDF9F3;
    border-top: 1px solid #F0E8DD;
    font-size: 12.5px;
    color: #78716C;
}

.download-invoice-btn {
    background: #8B1324;
    color: #FFFFFF;
    font-weight: 700;
    font-size: 14px;
    padding: 10px 22px;
    border-radius: 10px;
    border: none;
    transition: all 0.2s ease;
}

.download-invoice-btn:hover {
    background: #6B0A18;
    color: #FFFFFF;
    transform: translateY(-1px);
}

.invoice-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 10;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 991px) {
    .main-content {
        margin-left: 0;
        padding: 16px 16px 40px 16px;
    }

    .temple-backdrop-art {
        width: 480px;
        max-width: 70vw;
        height: 250px;
    }

    .wallet-stats-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .wallet-hero-content-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .wallet-explore-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .main-content {
        padding: 14px 12px 30px 12px;
    }

    .temple-backdrop-art {
        width: 320px;
        max-width: 85vw;
        height: 180px;
    }

    .wallet-hero-card {
        padding: 18px 16px;
        border-radius: 18px;
    }

    .wallet-hero-title {
        font-size: 20px;
    }

    .wallet-hero-sub {
        font-size: 13px;
    }

    .transaction-section {
        padding: 18px 14px;
        border-radius: 18px;
    }

    .invoice-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .invoice-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .business-info {
        text-align: left;
    }
}

/* ================= TABLE ACTION - VIEW INVOICE ================= */
.table-action-btn.view-invoice-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1.5px solid rgba(197, 160, 89, 0.4);
    background: #FBF4ED;
    color: var(--primary-crimson, #8d0d1f);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.table-action-btn.view-invoice-btn:hover {
    background: var(--primary-crimson, #8d0d1f);
    color: #FFFFFF;
    border-color: var(--primary-crimson, #8d0d1f);
    transform: translateY(-2px) scale(1.08);
    box-shadow: 0 4px 12px rgba(141, 13, 31, 0.22);
}

/* ================= PUJA / BOOKING TABS ================= */
.puja-tabs-container {
    display: flex;
    justify-content: center;
    margin: 10px auto 26px auto;
    position: relative;
    z-index: 2;
}

.puja-tabs {
    background: #ffffff;
    border: 1.5px solid #efe8de;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    border-radius: 50px;
    padding: 6px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    max-width: 100%;
    overflow-x: auto;
}

.puja-tabs a {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    border: none;
    background: transparent;
    font-weight: 700;
    border-radius: 40px;
    transition: all 0.25s ease;
    font-size: 15px;
    text-decoration: none;
    text-align: center;
    color: #5e0815;
    white-space: nowrap;
}

.puja-tabs a:hover {
    color: #8b1324;
    background: rgba(139, 19, 36, 0.04);
}

.puja-tabs .active-tab {
    background: linear-gradient(135deg, #e5c365 0%, #d4af37 100%) !important;
    color: #5e0815 !important;
    box-shadow: 0 4px 14px rgba(229, 195, 101, 0.4);
}

/* ================= RELOCATED HOME DASHBOARD STYLES ================= */
.dash-hero-card {
    background: linear-gradient(135deg, #6B0A18 0%, #8B1324 50%, #5E0815 100%);
    border-radius: 22px;
    padding: 24px 28px;
    color: #FFFFFF;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(107, 10, 24, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.15);
    margin-bottom: 24px;
    border: 1px solid rgba(229, 195, 101, 0.35);
}

.dash-hero-card::after {
    content: "ॐ";
    position: absolute;
    right: 20px;
    bottom: -35px;
    font-size: 160px;
    color: rgba(255, 255, 255, 0.05);
    font-family: var(--font-header);
    pointer-events: none;
    line-height: 1;
}

.dash-hero-greeting {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 12px;
    font-size: 15px;
    font-weight: 600;
    color: #FFF3D6;
    letter-spacing: 0.02em;
    background: none;
    border: none;
    padding: 0;
    box-shadow: none;
}

.dash-hero-greeting .om-symbol {
    font-size: 18px;
    color: #E5C365;
    line-height: 1;
}

.dash-hero-badges {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

.dash-hero-pill {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 50px;
    padding: 4px 14px;
    font-size: 13px;
    font-weight: 600;
    color: #FFF8EE;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.dash-hero-live-pill {
    background: rgba(229, 195, 101, 0.22);
    border-color: rgba(229, 195, 101, 0.5);
    color: #FFF3D6;
}

.dash-hero-content-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.dash-hero-info {
    flex: 1;
    min-width: 280px;
}

.dash-hero-name {
    font-size: 26px;
    font-weight: 700;
    color: #FFFFFF;
    margin: 0 0 6px 0;
    font-family: var(--font-header);
    letter-spacing: -0.01em;
}

.dash-hero-sub {
    font-size: 14.5px;
    color: rgba(255, 255, 255, 0.88);
    margin: 0;
    max-width: 540px;
    line-height: 1.5;
}

.dash-explore-btn {
    background: linear-gradient(135deg, #E5C365 0%, #D4AF37 100%);
    color: #5E0815;
    font-size: 14.5px;
    font-weight: 700;
    padding: 12px 24px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 14px rgba(229, 195, 101, 0.35);
    transition: all 0.25s ease;
    white-space: nowrap;
}

.dash-explore-btn:hover {
    background: linear-gradient(135deg, #F0D27B 0%, #E5C365 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(229, 195, 101, 0.45);
    color: #5E0815;
}

/* 3-Card Stats Grid */
.dash-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.dash-stat-box {
    border-radius: 20px;
    padding: 20px 16px;
    text-align: center;
    color: #FFFFFF;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.dash-stat-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.14);
}

.dash-stat-box.stat-maroon {
    background: linear-gradient(135deg, #8B1324 0%, #6E0B1B 100%);
    border: 1px solid rgba(229, 195, 101, 0.3);
}

.dash-stat-box.stat-terracotta {
    background: linear-gradient(135deg, #CB6818 0%, #B4520A 100%);
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.dash-stat-box.stat-ochre {
    background: linear-gradient(135deg, #B58A14 0%, #946F0C 100%);
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.stat-badge-circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #FFFDF8;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.stat-big-num {
    font-size: 32px;
    font-weight: 800;
    line-height: 1;
    margin: 0;
    font-family: var(--font-header);
    color: #FFFFFF;
    letter-spacing: -0.02em;
}

.stat-label-text {
    font-size: 13.5px;
    font-weight: 600;
    color: #FFF3D6;
    margin: 0;
    letter-spacing: 0.02em;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.punya-info-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: rgba(255, 243, 214, 0.85);
    font-size: 13.5px;
    line-height: 1;
    transition: color 0.2s ease, transform 0.2s ease;
    user-select: none;
}

.punya-info-icon:hover,
.punya-info-icon:focus {
    color: #FFFFFF;
    transform: scale(1.18);
    outline: none;
}

.tooltip.punya-custom-tooltip .tooltip-inner {
    background: #201a18;
    color: #FFFDF9;
    border: 1px solid rgba(229, 195, 101, 0.45);
    border-radius: 10px;
    padding: 8px 14px;
    font-size: 12.5px;
    font-weight: 500;
    line-height: 1.45;
    max-width: 250px;
    text-align: center;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
}

.tooltip.punya-custom-tooltip .tooltip-arrow::before {
    border-top-color: #201a18;
}

/* Upcoming Puja Section */
.puja-section {
    background: #FFFFFF;
    border: 1.5px solid #EFE8DE;
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.puja-title {
    font-size: 20px;
    font-weight: 700;
    color: #5E0815;
    font-family: var(--font-header);
    letter-spacing: -0.01em;
}

.puja-item {
    background: #FBF4ED;
    border: 1px solid #EFE8DE;
    border-radius: 14px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
    transition: all 0.25s ease;
}

.puja-item:hover {
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
    border-color: rgba(212, 175, 55, 0.55);
}

.puja-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.puja-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: #FCEBED;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}

.puja-icon img {
    width: 52px;
    height: 52px;
    object-fit: cover;
    border-radius: 10px;
}

.puja-item h4 {
    font-size: 16px;
    font-weight: 700;
    color: #2D1A1E;
    margin-bottom: 4px;
}

.puja-item p {
    color: #777;
    font-size: 13.5px;
    margin: 0;
}

.puja-right-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.view-all a {
    color: #8B1324;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.2s ease;
}

.view-all a:hover {
    color: #BF1028;
}

/* Countdown */
.countdown-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #FFFFFF;
    border: 1px solid rgba(212, 175, 55, 0.35);
    padding: 8px 14px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.time-box {
    text-align: center;
    min-width: 32px;
}

.time-box h4 {
    font-size: 16px;
    font-weight: 800;
    color: #8B1324;
    margin: 0;
    line-height: 1.1;
}

.time-box span {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    color: #888;
    letter-spacing: 0.04em;
}

.countdown-wrapper .dot {
    width: 4px;
    height: 4px;
    background: #D4AF37;
    border-radius: 50%;
}

@media (max-width: 991px) {
    .dash-stats-grid {
        grid-template-columns: 1fr;
    }

    .puja-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }

    .puja-right-actions {
        width: 100%;
        justify-content: space-between;
    }
}