/* assets/css/customerportal.css */
/* Customer Portal — Modern, warm, conversion-focused */

/* ============================================
   1. DASHBOARD SHELL
   ============================================ */
.cust-dash {
    max-width: 1280px;
    margin: 0 auto;
    padding: 1.5rem;
}

/* ============================================
   2. HERO / WELCOME SECTION
   ============================================ */
.cust-hero {
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 50%, #1a1a1a 100%);
    border-radius: 24px;
    padding: 2rem 2.5rem;
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    position: relative;
    overflow: hidden;
    flex-wrap: wrap;
}

.cust-hero::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: #f7941e;
    border-radius: 50%;
    filter: blur(150px);
    opacity: 0.25;
    top: -150px;
    right: -100px;
    pointer-events: none;
}

.cust-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 24px 24px;
    pointer-events: none;
}

.cust-hero-content {
    position: relative;
    z-index: 2;
}

.cust-hero-eyebrow {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #f7941e;
    margin-bottom: 0.5rem;
}

.cust-hero-name {
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    color: white;
    margin: 0 0 0.5rem;
    letter-spacing: -0.02em;
}

.cust-hero-name span {
    background: linear-gradient(135deg, #f7941e, #ff8c00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cust-hero-subtitle {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    margin: 0;
    max-width: 500px;
}

/* Hero Stats (right side) */
.cust-hero-stats {
    display: flex;
    align-items: center;
    gap: 2rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 1.5rem 2rem;
    position: relative;
    z-index: 2;
}

.cust-hero-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.cust-hero-stat-value {
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: 1.75rem;
    color: #f7941e;
    line-height: 1;
}

.cust-hero-stat-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.7);
}

.cust-hero-stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.15);
}

/* ============================================
   3. TABS
   ============================================ */
.cust-tabs {
    display: flex;
    gap: 0.5rem;
    background: white;
    padding: 0.5rem;
    border-radius: 16px;
    border: 1px solid #e5e5e5;
    margin-bottom: 1.5rem;
    overflow-x: auto;
    scrollbar-width: none;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.cust-tabs::-webkit-scrollbar { display: none; }

.cust-tab {
    flex: 1;
    min-width: 120px;
    background: transparent;
    border: none;
    padding: 0.85rem 1.25rem;
    border-radius: 12px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    color: #6b6b66;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    white-space: nowrap;
    transition: all 0.25s ease;
}

.cust-tab:hover {
    color: #1a1a1a;
    background: #f5f5f5;
}

.cust-tab.active {
    background: #1a1a1a;
    color: white;
    box-shadow: 0 4px 12px rgba(26, 26, 26, 0.15);
}

.cust-tab i { font-size: 1.1rem; }

.cust-tab-badge {
    background: #f7941e;
    color: #1a1a1a;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 0.15rem 0.5rem;
    border-radius: 10px;
    min-width: 20px;
    text-align: center;
    display: none;
}

.cust-tab-badge.active { display: inline-block; }

.cust-tab.active .cust-tab-badge {
    background: white;
    color: #1a1a1a;
}

/* ============================================
   4. PANELS
   ============================================ */
.cust-panel {
    display: none;
    animation: custFadeIn 0.4s ease;
}

.cust-panel.active { display: block; }

@keyframes custFadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.cust-panel-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.cust-panel-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: #1a1a1a;
    margin: 0 0 0.25rem;
}

.cust-panel-subtitle {
    color: #6b6b66;
    font-size: 0.9rem;
    margin: 0;
}

/* View toggle (grid/list) */
.cust-panel-view-toggle {
    display: flex;
    gap: 0.25rem;
    background: white;
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    padding: 0.25rem;
}

.cust-view-btn {
    background: transparent;
    border: none;
    padding: 0.45rem 0.7rem;
    border-radius: 8px;
    color: #6b6b66;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 1rem;
}

.cust-view-btn.active {
    background: #1a1a1a;
    color: white;
}

/* ============================================
   5. KPI CARDS
   ============================================ */
.cust-kpi-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.cust-kpi-card {
    background: white;
    border: 1px solid #e5e5e5;
    border-radius: 16px;
    padding: 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
}

.cust-kpi-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border-color: #f7941e;
}

.cust-kpi-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}

.cust-kpi-icon--coupons { background: #fff3e1; color: #c9720f; }
.cust-kpi-icon--packages { background: #e8f4fd; color: #2980b9; }
.cust-kpi-icon--redeemed { background: #e5f3e8; color: #2e7d46; }
.cust-kpi-icon--saved { background: #f3e8fd; color: #8e44ad; }

.cust-kpi-body {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.cust-kpi-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: #6b6b66;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.cust-kpi-value {
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: 1.75rem;
    color: #1a1a1a;
    line-height: 1.1;
    margin: 0.25rem 0;
}

.cust-kpi-hint {
    font-size: 0.75rem;
    color: #b3b0a8;
}

/* ============================================
   6. QUICK ACTIONS
   ============================================ */
.cust-actions-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.cust-action-card {
    background: white;
    border: 1px solid #e5e5e5;
    border-radius: 16px;
    padding: 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    cursor: pointer;
    font-family: inherit;
    text-align: left;
}

.cust-action-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(247, 148, 30, 0.12);
    border-color: #f7941e;
    color: inherit;
}

.cust-action-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, #f7941e, #ff8c00);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    flex-shrink: 0;
}

.cust-action-body { flex: 1; min-width: 0; }

.cust-action-body h4 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    margin: 0 0 0.2rem;
    color: #1a1a1a;
}

.cust-action-body p {
    font-size: 0.8rem;
    color: #6b6b66;
    margin: 0;
}

.cust-action-arrow {
    color: #b3b0a8;
    transition: all 0.3s ease;
}

.cust-action-card:hover .cust-action-arrow {
    color: #f7941e;
    transform: translateX(4px);
}

/* ============================================
   7. OVERVIEW GRID (Expiring + Activity)
   ============================================ */
.cust-overview-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.cust-overview-card {
    background: white;
    border: 1px solid #e5e5e5;
    border-radius: 16px;
    padding: 1.5rem;
}

.cust-overview-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px dashed #e5e5e5;
}

.cust-overview-header h3 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #1a1a1a;
}

.cust-overview-header h3 i { color: #f7941e; }

.cust-link-btn {
    background: transparent;
    border: none;
    color: #f7941e;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.cust-link-btn:hover {
    background: #fff3e1;
    color: #c9720f;
}

.cust-overview-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    min-height: 200px;
    max-height: 400px;
    overflow-y: auto;
}

.cust-list-loading {
    display: flex;
    justify-content: center;
    padding: 2rem;
}

/* ============================================
   8. COUPON CARD (NO IMAGE)
   ============================================ */
.cust-coupons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.cust-coupon-card {
    background: white;
    border: 1.5px solid #e5e5e5;
    border-radius: 16px;
    padding: 1.25rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    animation: custFadeIn 0.4s ease;
}

.cust-coupon-card:hover {
    border-color: #f7941e;
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(247, 148, 30, 0.15);
}

/* Decorative corner */
.cust-coupon-card::before {
    content: '';
    position: absolute;
    top: -40px;
    right: -40px;
    width: 120px;
    height: 120px;
    background: #fff3e1;
    border-radius: 50%;
    opacity: 0.5;
    z-index: 0;
}

.cust-coupon-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.cust-coupon-merchant {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex: 1;
    min-width: 0;
}

.cust-coupon-merchant-logo {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: #1a1a1a;
    font-family: 'Poppins', sans-serif;
    flex-shrink: 0;
    overflow: hidden;
}

.cust-coupon-merchant-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cust-coupon-merchant-info {
    flex: 1;
    min-width: 0;
}

.cust-coupon-merchant-name {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    color: #1a1a1a;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cust-coupon-merchant-city {
    font-size: 0.75rem;
    color: #6b6b66;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.cust-coupon-saving {
    background: #1a1a1a;
    color: #f7941e;
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: 0.95rem;
    padding: 0.45rem 0.85rem;
    border-radius: 10px;
    white-space: nowrap;
    flex-shrink: 0;
}

.cust-coupon-body {
    position: relative;
    z-index: 1;
    margin-bottom: 1rem;
}

.cust-coupon-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1.05rem;
    color: #1a1a1a;
    margin: 0 0 0.5rem;
    line-height: 1.3;
}

.cust-coupon-meta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    font-size: 0.78rem;
    color: #6b6b66;
}

.cust-coupon-meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.cust-coupon-meta i { color: #f7941e; }

/* Progress bar (remaining quantity) */
.cust-coupon-progress {
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.cust-coupon-progress-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.35rem;
    font-size: 0.75rem;
}

.cust-coupon-progress-label {
    color: #6b6b66;
    font-weight: 600;
}

.cust-coupon-progress-count {
    color: #1a1a1a;
    font-weight: 700;
}

.cust-coupon-progress-bar {
    height: 6px;
    background: #f1f0ee;
    border-radius: 10px;
    overflow: hidden;
}

.cust-coupon-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #f7941e, #ff8c00);
    border-radius: 10px;
    transition: width 0.5s ease;
}

/* Footer */
.cust-coupon-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px dashed #e5e5e5;
    position: relative;
    z-index: 1;
}

.cust-coupon-expiry {
    font-size: 0.75rem;
    color: #6b6b66;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.cust-coupon-expiry.warning { color: #c9720f; font-weight: 600; }
.cust-coupon-expiry.danger { color: #c0392b; font-weight: 600; }

/* List view */
.cust-coupons-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1rem;
}

.cust-coupon-list-item {
    background: white;
    border: 1.5px solid #e5e5e5;
    border-radius: 12px;
    padding: 1rem 1.25rem;
    display: grid;
    grid-template-columns: auto 1fr auto auto auto;
    gap: 1.5rem;
    align-items: center;
    transition: all 0.25s ease;
}

.cust-coupon-list-item:hover {
    border-color: #f7941e;
    box-shadow: 0 6px 20px rgba(247, 148, 30, 0.1);
}

/* ============================================
   9. FILTERS
   ============================================ */
.cust-filters {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    align-items: center;
}

.cust-filter-search {
    position: relative;
    flex: 1;
    min-width: 220px;
    max-width: 320px;
}

.cust-filter-search i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #b3b0a8;
    pointer-events: none;
    transition: color 0.2s ease;
}

.cust-filter-search input {
    width: 100%;
    padding: 0.65rem 1rem 0.65rem 2.4rem;
    border: 1.5px solid #e5e5e5;
    border-radius: 50px;
    font-size: 0.875rem;
    outline: none;
    transition: all 0.2s ease;
    background: white;
}

.cust-filter-search:focus-within i { color: #f7941e; }

.cust-filter-search input:focus {
    border-color: #f7941e;
    box-shadow: 0 0 0 3px #ffe2b8;
}

.cust-filter-select,
.cust-filter-date,
.cust-page-size {
    padding: 0.65rem 1rem;
    border: 1.5px solid #e5e5e5;
    border-radius: 50px;
    font-size: 0.875rem;
    outline: none;
    background: white;
    cursor: pointer;
    transition: border-color 0.2s ease;
}

.cust-filter-select:focus,
.cust-filter-date:focus,
.cust-page-size:focus {
    border-color: #f7941e;
    box-shadow: 0 0 0 3px #ffe2b8;
}

/* ============================================
   10. RESULTS INFO
   ============================================ */
.cust-results-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    color: #6b6b66;
    flex-wrap: wrap;
}

.cust-results-info strong { color: #c9720f; }

/* ============================================
   11. BUTTONS
   ============================================ */
.cust-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.25s ease;
    border: 1.5px solid transparent;
    text-decoration: none;
}

.cust-btn--primary {
    background: #f7941e;
    color: #1a1a1a;
    border-color: #f7941e;
}

.cust-btn--primary:hover {
    background: #c9720f;
    border-color: #c9720f;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(247, 148, 30, 0.3);
}

.cust-btn--ghost {
    background: transparent;
    color: #33322e;
    border-color: #e5e5e5;
}

.cust-btn--ghost:hover {
    border-color: #1a1a1a;
    background: #1a1a1a;
    color: #f7941e;
}

.cust-btn--sm {
    padding: 0.45rem 0.9rem;
    font-size: 0.8rem;
}

.cust-btn--redeem {
    background: #1a1a1a;
    color: #f7941e;
    border-color: #1a1a1a;
}

.cust-btn--redeem:hover {
    background: #f7941e;
    color: #1a1a1a;
    border-color: #f7941e;
    transform: translateY(-1px);
}

/* ============================================
   12. LOADING & EMPTY STATES
   ============================================ */
.cust-loading,
.cust-empty {
    text-align: center;
    padding: 3rem 1rem;
    color: #6b6b66;
    background: white;
    border: 1px dashed #e5e5e5;
    border-radius: 16px;
    margin-top: 1rem;
}

.cust-loading p, .cust-empty p { margin: 0.75rem 0 1rem; font-size: 0.9rem; }
.cust-empty i { font-size: 3.5rem; color: #d8d6d1; display: block; }
.cust-empty h4 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0.75rem 0 0.5rem;
}

/* ============================================
   13. PAGINATION
   ============================================ */
.cust-pagination {
    display: flex;
    justify-content: center;
    gap: 0.4rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.cust-page-btn {
    min-width: 38px;
    height: 38px;
    padding: 0 0.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid #e5e5e5;
    border-radius: 10px;
    background: white;
    color: #33322e;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.cust-page-btn:hover:not(:disabled):not(.active) {
    border-color: #f7941e;
    color: #c9720f;
    background: #fff3e1;
}

.cust-page-btn.active {
    background: #1a1a1a;
    border-color: #1a1a1a;
    color: #f7941e;
}

.cust-page-btn:disabled { opacity: 0.35; cursor: not-allowed; }

/* ============================================
   14. HISTORY LIST
   ============================================ */
.cust-history-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.cust-history-item {
    background: white;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.2s ease;
}

.cust-history-item:hover {
    border-color: #f7941e;
    transform: translateX(4px);
}

.cust-history-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #e5f3e8;
    color: #2e7d46;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.cust-history-body { flex: 1; min-width: 0; }

.cust-history-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    color: #1a1a1a;
    margin: 0 0 0.25rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cust-history-meta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    font-size: 0.78rem;
    color: #6b6b66;
}

.cust-history-meta i { color: #f7941e; margin-right: 0.25rem; }

.cust-history-saving {
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: 1rem;
    color: #2e7d46;
    white-space: nowrap;
    flex-shrink: 0;
}

.cust-history-date {
    font-size: 0.75rem;
    color: #b3b0a8;
    white-space: nowrap;
    flex-shrink: 0;
}

/* ============================================
   15. PACKAGES GRID
   ============================================ */
.cust-packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 1rem;
}

.cust-package-card {
    background: white;
    border: 1.5px solid #e5e5e5;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.cust-package-card:hover {
    border-color: #f7941e;
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(247, 148, 30, 0.12);
}

.cust-package-header {
    background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
    padding: 1.25rem;
    color: white;
    position: relative;
    overflow: hidden;
}

.cust-package-header::before {
    content: '';
    position: absolute;
    width: 150px;
    height: 150px;
    background: #f7941e;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.3;
    top: -50px;
    right: -50px;
}

.cust-package-name {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    margin: 0 0 0.25rem;
    position: relative;
    z-index: 1;
}

.cust-package-code {
    font-size: 0.75rem;
    color: #f7941e;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

.cust-package-body { padding: 1.25rem; }

.cust-package-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.cust-package-stat label {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #6b6b66;
    margin-bottom: 0.25rem;
}

.cust-package-stat span {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    color: #1a1a1a;
}

.cust-package-progress {
    margin-bottom: 1rem;
}

.cust-package-progress-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-size: 0.8rem;
}

.cust-package-progress-label { color: #6b6b66; font-weight: 600; }
.cust-package-progress-value { color: #1a1a1a; font-weight: 700; }

.cust-package-progress-bar {
    height: 8px;
    background: #f1f0ee;
    border-radius: 10px;
    overflow: hidden;
}

.cust-package-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #f7941e, #ff8c00);
    border-radius: 10px;
}

.cust-package-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: #6b6b66;
    padding-top: 1rem;
    border-top: 1px dashed #e5e5e5;
}

/* ============================================
   16. PROFILE
   ============================================ */
.cust-profile-card {
    background: white;
    border: 1px solid #e5e5e5;
    border-radius: 16px;
    padding: 1.75rem;
}

.cust-profile-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px dashed #e5e5e5;
    margin-bottom: 1.5rem;
}

.cust-profile-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f7941e, #ff8c00);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: 2rem;
    box-shadow: 0 8px 24px rgba(247, 148, 30, 0.3);
}

.cust-profile-info h3 {
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
    margin: 0 0 0.25rem;
    color: #1a1a1a;
}

.cust-profile-info p {
    color: #6b6b66;
    margin: 0 0 0.5rem;
    font-size: 0.9rem;
}

.cust-profile-sections {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.cust-profile-section h4 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    margin: 0 0 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #1a1a1a;
}

.cust-profile-section h4 i { color: #f7941e; }

.cust-profile-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cust-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.cust-form-field label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: #33322e;
    margin-bottom: 0.4rem;
}

.cust-form-control {
    width: 100%;
    padding: 0.65rem 1rem;
    border: 1.5px solid #e5e5e5;
    border-radius: 10px;
    font-size: 0.9rem;
    outline: none;
    transition: all 0.2s ease;
    background: white;
}

.cust-form-control:focus {
    border-color: #f7941e;
    box-shadow: 0 0 0 3px #ffe2b8;
}

.cust-form-control:disabled {
    background: #fafaf9;
    color: #6b6b66;
}

.cust-form-hint {
    font-size: 0.72rem;
    color: #b3b0a8;
    margin-top: 0.25rem;
    display: block;
}

.cust-form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
    padding-top: 0.5rem;
}

.cust-profile-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.cust-profile-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.cust-info-field {
    background: #fafaf9;
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    padding: 0.85rem 1rem;
}

.cust-info-field label {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #6b6b66;
    margin-bottom: 0.25rem;
}

.cust-info-field span {
    font-size: 0.9rem;
    color: #1a1a1a;
    font-weight: 600;
}

/* ============================================
   17. EXPIRING SOON LIST ITEMS
   ============================================ */
.cust-expiring-item {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.75rem;
    border-radius: 10px;
    transition: all 0.2s ease;
}

.cust-expiring-item:hover {
    background: #fff3e1;
}

.cust-expiring-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: #fff3e1;
    color: #c9720f;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.cust-expiring-body { flex: 1; min-width: 0; }

.cust-expiring-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 0.875rem;
    color: #1a1a1a;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cust-expiring-merchant {
    font-size: 0.75rem;
    color: #6b6b66;
}

.cust-expiring-days {
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
    white-space: nowrap;
}

.cust-expiring-days.warning { background: #fff3cd; color: #856404; }
.cust-expiring-days.danger { background: #fbeae7; color: #c0392b; }

/* Activity items */
.cust-activity-item {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.75rem;
    border-radius: 10px;
    transition: all 0.2s ease;
}

.cust-activity-item:hover { background: #fafaf9; }

.cust-activity-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e5f3e8;
    color: #2e7d46;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.cust-activity-body { flex: 1; min-width: 0; }

.cust-activity-text {
    font-size: 0.85rem;
    color: #1a1a1a;
    margin: 0;
}

.cust-activity-text strong { color: #1a1a1a; }

.cust-activity-time {
    font-size: 0.72rem;
    color: #b3b0a8;
}

/* ============================================
   18. RESPONSIVE
   ============================================ */
@media (max-width: 1199px) {
    .cust-kpi-grid { grid-template-columns: repeat(2, 1fr); }
    .cust-actions-row { grid-template-columns: 1fr; }
    .cust-overview-grid { grid-template-columns: 1fr; }
}

@media (max-width: 767px) {
    .cust-dash { padding: 1rem; }
    
    .cust-hero {
        padding: 1.5rem;
        flex-direction: column;
        align-items: flex-start;
    }
    
    .cust-hero-stats {
        width: 100%;
        justify-content: space-around;
        padding: 1rem;
    }
    
    .cust-hero-stat-divider { height: 30px; }
    .cust-hero-stat-value { font-size: 1.3rem; }
    
    .cust-kpi-grid { grid-template-columns: 1fr 1fr; }
    .cust-actions-row { grid-template-columns: 1fr; }
    
    .cust-tabs {
        padding: 0.25rem;
        gap: 0.25rem;
    }
    
    .cust-tab {
        padding: 0.7rem 0.75rem;
        font-size: 0.8rem;
        min-width: 100px;
    }
    
    .cust-tab span { display: none; }
    
    .cust-filters { flex-direction: column; align-items: stretch; }
    .cust-filter-search { max-width: 100%; }
    
    .cust-coupons-grid { grid-template-columns: 1fr; }
    .cust-packages-grid { grid-template-columns: 1fr; }
    
    .cust-form-row { grid-template-columns: 1fr; }
    .cust-profile-info-grid { grid-template-columns: 1fr; }
    
    .cust-profile-header {
        flex-direction: column;
        text-align: center;
    }
    
    .cust-history-item {
        flex-wrap: wrap;
    }
    
    .cust-coupon-list-item {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .cust-profile-card { padding: 1.25rem; }
    .cust-profile-actions { flex-direction: column; }
    .cust-profile-actions .cust-btn { width: 100%; }
}

@media (max-width: 480px) {
    .cust-kpi-grid { grid-template-columns: 1fr; }
    .cust-hero-stats { flex-direction: column; gap: 1rem; }
    .cust-hero-stat-divider { width: 60px; height: 1px; }
    .cust-tab i { font-size: 1.2rem; }
}