/* /Pages/Coupon/Coupons.razor.rz.scp.css */
/* ===========================
   Admin Coupons — Desktop-friendly
   =========================== */

.cw-page[b-9iptfvz9zi] {
    background: #f7f8fa;
    color: #1a1a2e;
    padding: 20px 16px 40px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 720px;
    margin: 0 auto;
    font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.cw-header[b-9iptfvz9zi] { display: flex; justify-content: center; padding: 8px 0; }
.cw-header-logged[b-9iptfvz9zi] { justify-content: space-between; align-items: center; }
.cw-logo[b-9iptfvz9zi] { max-width: 160px; }

.cw-hero[b-9iptfvz9zi] { padding: 4px 0 0; }
.cw-title-lg[b-9iptfvz9zi] { margin: 0; font-size: 26px; font-weight: 800; color: #1a1a2e; letter-spacing: -0.02em; }
.cw-subtitle[b-9iptfvz9zi] { margin: 4px 0 0; font-size: 14px; color: #6b7280; font-weight: 500; }

/* ===========================
   Company Selector
   =========================== */
.cw-company-selector[b-9iptfvz9zi] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 16px;
}

.cw-company-selector .cw-form-label[b-9iptfvz9zi] {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 700;
    color: #374151;
}

.cw-company-selector .cw-form-label i[b-9iptfvz9zi] {
    color: #6b7280;
}

.cw-selected-company-badge[b-9iptfvz9zi] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 10px;
    font-size: 13px;
    color: #1e40af;
}

.cw-selected-company-badge i[b-9iptfvz9zi] {
    font-size: 16px;
}

/* ===========================
   Tabs
   =========================== */
.cw-tabs[b-9iptfvz9zi] {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.cw-tabs[b-9iptfvz9zi]::-webkit-scrollbar { display: none; }

.cw-tab[b-9iptfvz9zi] {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 10px 8px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    color: #6b7280;
    cursor: pointer;
    transition: all 0.15s ease;
    white-space: nowrap;
}
.cw-tab i[b-9iptfvz9zi] { font-size: 18px; }
.cw-tab:hover[b-9iptfvz9zi] { border-color: #d1d5db; }
.cw-tab.active[b-9iptfvz9zi] {
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    border-color: #3b82f6;
    color: #1d4ed8;
}

/* ===========================
   Alerts
   =========================== */
.cw-alert[b-9iptfvz9zi] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 600;
}
.cw-alert-success[b-9iptfvz9zi] { background: #f0fdf4; color: #166534; border: 1px solid #bbf7d0; }
.cw-alert-danger[b-9iptfvz9zi] { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }

/* ===========================
   Buttons
   =========================== */
.cw-btn-primary[b-9iptfvz9zi] {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 14px 24px; border-radius: 14px; font-weight: 700; font-size: 15px;
    text-decoration: none; color: #ffffff;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    box-shadow: 0 4px 14px rgba(59, 130, 246, 0.25);
    transition: all 0.2s ease; border: none; cursor: pointer;
}
.cw-btn-primary:hover[b-9iptfvz9zi] { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(59, 130, 246, 0.35); color: #ffffff; }
.cw-btn-primary:disabled[b-9iptfvz9zi] { opacity: 0.6; cursor: not-allowed; transform: none; }

.cw-btn-full[b-9iptfvz9zi] { width: 100%; justify-content: center; }

.cw-btn-link[b-9iptfvz9zi] {
    background: none; border: none; color: #2563eb; font-size: 13px;
    font-weight: 600; cursor: pointer; padding: 4px 8px;
    text-decoration: underline; transition: color 0.15s;
}
.cw-btn-link:hover[b-9iptfvz9zi] { color: #1d4ed8; }

.cw-btn-spinner[b-9iptfvz9zi] {
    width: 16px; height: 16px;
    border: 2px solid rgba(255,255,255,0.3); border-top-color: #ffffff;
    border-radius: 50%; animation: spin-b-9iptfvz9zi 0.6s linear infinite;
}

@keyframes spin-b-9iptfvz9zi { to { transform: rotate(360deg); } }

/* ===========================
   Forms
   =========================== */
.cw-form-card[b-9iptfvz9zi] {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 20px 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cw-section-head[b-9iptfvz9zi] { padding: 0; }
.cw-h2[b-9iptfvz9zi] { margin: 0; font-size: 18px; font-weight: 800; color: #1a1a2e; }

.cw-form-group[b-9iptfvz9zi] { display: flex; flex-direction: column; gap: 4px; }

.cw-form-label[b-9iptfvz9zi] { font-size: 13px; font-weight: 700; color: #374151; }

.cw-form-input[b-9iptfvz9zi] {
    padding: 12px 14px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    font-size: 15px;
    color: #1a1a2e;
    background: #ffffff;
    transition: border-color 0.15s, box-shadow 0.15s;
    width: 100%;
    box-sizing: border-box;
    font-family: inherit;
}
.cw-form-input:focus[b-9iptfvz9zi] { outline: none; border-color: #3b82f6; box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.12); }
.cw-form-input[b-9iptfvz9zi]::placeholder { color: #9ca3af; }

/* Select dropdown */
select.cw-form-input[b-9iptfvz9zi] {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236b7280' d='M6 8.825a.5.5 0 0 1-.354-.146L2.146 5.18a.5.5 0 1 1 .708-.708L6 7.617l3.146-3.146a.5.5 0 1 1 .708.708L6.354 8.68A.5.5 0 0 1 6 8.825z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 14px;
    padding-right: 38px;
    cursor: pointer;
    line-height: 1.5;
}
select.cw-form-input:focus[b-9iptfvz9zi] { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%233b82f6' d='M6 8.825a.5.5 0 0 1-.354-.146L2.146 5.18a.5.5 0 1 1 .708-.708L6 7.617l3.146-3.146a.5.5 0 1 1 .708.708L6.354 8.68A.5.5 0 0 1 6 8.825z'/%3E%3C/svg%3E"); }

/* Textarea */
textarea.cw-form-input[b-9iptfvz9zi] {
    resize: vertical;
    min-height: 72px;
    line-height: 1.5;
    font-family: inherit;
}

/* Date inputs */
input[type="date"].cw-form-input[b-9iptfvz9zi],
input[type="datetime-local"].cw-form-input[b-9iptfvz9zi] {
    appearance: none;
    -webkit-appearance: none;
    font-family: inherit;
    min-height: 46px;
    line-height: 1.5;
}

input[type="date"].cw-form-input[b-9iptfvz9zi]::-webkit-calendar-picker-indicator,
input[type="datetime-local"].cw-form-input[b-9iptfvz9zi]::-webkit-calendar-picker-indicator {
    opacity: 0.5;
    cursor: pointer;
    padding: 4px;
    margin-left: 4px;
    border-radius: 4px;
    transition: opacity 0.15s;
}

input[type="date"].cw-form-input[b-9iptfvz9zi]::-webkit-calendar-picker-indicator:hover,
input[type="datetime-local"].cw-form-input[b-9iptfvz9zi]::-webkit-calendar-picker-indicator:hover {
    opacity: 0.8;
    background: #eff6ff;
}

/* Number inputs — remove native spinners */
input[type="number"].cw-form-input[b-9iptfvz9zi] {
    -moz-appearance: textfield;
    font-family: inherit;
}

input[type="number"].cw-form-input[b-9iptfvz9zi]::-webkit-inner-spin-button,
input[type="number"].cw-form-input[b-9iptfvz9zi]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.cw-form-hint[b-9iptfvz9zi] { font-size: 11px; color: #9ca3af; }
.cw-form-error[b-9iptfvz9zi] { font-size: 12px; color: #dc2626; }

.cw-form-row[b-9iptfvz9zi] { display: flex; gap: 12px; }
.cw-form-half[b-9iptfvz9zi] { flex: 1; min-width: 0; }

/* ===========================
   Info Banner
   =========================== */
.cw-info-banner[b-9iptfvz9zi] {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 10px;
    padding: 12px 14px;
    font-size: 13px;
    color: #1e40af;
    line-height: 1.4;
}
.cw-info-banner i[b-9iptfvz9zi] { font-size: 18px; color: #3b82f6; flex-shrink: 0; margin-top: 1px; }
.cw-info-banner p[b-9iptfvz9zi] { margin: 0; }

/* ===========================
   Preview
   =========================== */
.cw-preview[b-9iptfvz9zi] {
    background: #f9fafb;
    border: 1px dashed #d1d5db;
    border-radius: 12px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cw-preview-label[b-9iptfvz9zi] {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #9ca3af;
}

.cw-preview-coupon[b-9iptfvz9zi] {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 12px;
}

.cw-preview-badge[b-9iptfvz9zi] {
    width: 40px; height: 40px; border-radius: 10px;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    display: flex; align-items: center; justify-content: center;
    color: #ffffff; font-size: 18px; flex-shrink: 0;
}

.cw-preview-body[b-9iptfvz9zi] {
    display: flex; flex-direction: column; gap: 2px;
}
.cw-preview-body strong[b-9iptfvz9zi] { font-size: 15px; color: #1a1a2e; }
.cw-preview-body span[b-9iptfvz9zi] { font-size: 12px; color: #6b7280; }

/* ===========================
   Coupon Cards
   =========================== */
.cw-coupon-card[b-9iptfvz9zi] {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
    transition: box-shadow 0.15s;
}
.cw-coupon-card:hover[b-9iptfvz9zi] { box-shadow: 0 4px 12px rgba(0,0,0,0.08); }

.cw-coupon-inactive[b-9iptfvz9zi] { opacity: 0.6; }

.cw-coupon-top[b-9iptfvz9zi] {
    display: flex;
    align-items: stretch;
}

.cw-coupon-left[b-9iptfvz9zi] {
    width: 48px;
    background: linear-gradient(180deg, #3b82f6, #2563eb);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.cw-coupon-badge[b-9iptfvz9zi] { color: #ffffff; font-size: 20px; }

.cw-coupon-body[b-9iptfvz9zi] {
    flex: 1;
    padding: 12px 14px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.cw-coupon-header[b-9iptfvz9zi] { display: flex; align-items: center; gap: 8px; }
.cw-coupon-title[b-9iptfvz9zi] { margin: 0; font-size: 15px; font-weight: 800; color: #1a1a2e; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cw-coupon-desc[b-9iptfvz9zi] { margin: 0; font-size: 12px; color: #6b7280; line-height: 1.3; }

.cw-coupon-meta[b-9iptfvz9zi] {
    display: flex;
    gap: 14px;
    margin-top: 4px;
    font-size: 11px;
    color: #9ca3af;
}
.cw-coupon-meta i[b-9iptfvz9zi] { font-size: 12px; margin-right: 2px; }

/* Action buttons */
.cw-coupon-actions[b-9iptfvz9zi] {
    display: flex;
    border-top: 1px solid #f3f4f6;
}

.cw-action-btn[b-9iptfvz9zi] {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    padding: 10px 4px;
    background: none;
    border: none;
    cursor: pointer;
    transition: all 0.15s ease;
    font-family: inherit;
}
.cw-action-btn i[b-9iptfvz9zi] { font-size: 17px; line-height: 1; }
.cw-action-btn span[b-9iptfvz9zi] { font-size: 10px; font-weight: 700; letter-spacing: 0.01em; }
.cw-action-btn + .cw-action-btn[b-9iptfvz9zi] { border-left: 1px solid #f3f4f6; }

.cw-action-share[b-9iptfvz9zi] { color: #2563eb; }
.cw-action-share:hover[b-9iptfvz9zi] { background: #eff6ff; color: #1d4ed8; }

.cw-action-edit[b-9iptfvz9zi] { color: #d97706; }
.cw-action-edit:hover[b-9iptfvz9zi] { background: #fffbeb; color: #b45309; }

.cw-action-claims[b-9iptfvz9zi] { color: #059669; }
.cw-action-claims:hover[b-9iptfvz9zi] { background: #ecfdf5; color: #047857; }

.cw-action-delete[b-9iptfvz9zi] { color: #dc2626; }
.cw-action-delete:hover[b-9iptfvz9zi] { background: #fef2f2; color: #b91c1c; }

/* ===========================
   Tags / Badges
   =========================== */
.cw-tag[b-9iptfvz9zi] {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 700;
    white-space: nowrap;
    flex-shrink: 0;
}
.cw-tag-preview[b-9iptfvz9zi] { background: #faf5ff; color: #7c3aed; }
.cw-tag-active[b-9iptfvz9zi] { background: #f0fdf4; color: #166534; }
.cw-tag-inactive[b-9iptfvz9zi] { background: #f3f4f6; color: #6b7280; }
.cw-tag-expired[b-9iptfvz9zi] { background: #fef2f2; color: #991b1b; }
.cw-tag-scheduled[b-9iptfvz9zi] { background: #eff6ff; color: #1d4ed8; }
.cw-tag-claimed[b-9iptfvz9zi] { background: #fffbeb; color: #92400e; }
.cw-tag-used[b-9iptfvz9zi] { background: #f0fdf4; color: #166534; }
.cw-tag-private[b-9iptfvz9zi] { background: #fef3c7; color: #92400e; gap: 3px; display: inline-flex; align-items: center; }

/* ===========================
   Empty State
   =========================== */
.cw-empty-state[b-9iptfvz9zi] {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 40px 20px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    gap: 10px;
}

.cw-empty-icon-wrap[b-9iptfvz9zi] {
    width: 56px; height: 56px; border-radius: 50%;
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    display: flex; align-items: center; justify-content: center;
    font-size: 24px; color: #3b82f6;
}

.cw-empty-state h3[b-9iptfvz9zi] { margin: 0; font-size: 17px; font-weight: 800; color: #1a1a2e; }
.cw-empty-state p[b-9iptfvz9zi] { margin: 0; font-size: 13px; color: #6b7280; max-width: 260px; }

/* ===========================
   Redemption Cards
   =========================== */
.cw-redemption-card[b-9iptfvz9zi] {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 12px 14px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.cw-redemption-avatar[b-9iptfvz9zi] {
    width: 40px; height: 40px; border-radius: 50%;
    background: #f3f4f6;
    display: flex; align-items: center; justify-content: center;
    font-size: 18px; color: #9ca3af; flex-shrink: 0;
}

.cw-redemption-info[b-9iptfvz9zi] {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1px;
    min-width: 0;
}
.cw-redemption-info strong[b-9iptfvz9zi] { font-size: 14px; color: #1a1a2e; }
.cw-redemption-email[b-9iptfvz9zi] { font-size: 12px; color: #6b7280; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cw-redemption-coupon[b-9iptfvz9zi] { font-size: 11px; color: #9ca3af; }
.cw-redemption-coupon i[b-9iptfvz9zi] { margin-right: 3px; }
.cw-redemption-date[b-9iptfvz9zi] { font-size: 11px; color: #9ca3af; }

.cw-redemption-status[b-9iptfvz9zi] { flex-shrink: 0; }

/* ===========================
   Filter Bar
   =========================== */
.cw-filter-bar[b-9iptfvz9zi] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    background: #eef6ff;
    border: 1px solid #bfdbfe;
    border-radius: 10px;
    font-size: 13px;
    color: #1e40af;
}
.cw-filter-text[b-9iptfvz9zi] { display: flex; align-items: center; gap: 6px; }
.cw-filter-text i[b-9iptfvz9zi] { font-size: 14px; }

/* ===========================
   Image Upload
   =========================== */
.cw-upload-area[b-9iptfvz9zi] {
    border-radius: 12px;
    overflow: hidden;
}

.cw-upload-dropzone[b-9iptfvz9zi] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 28px 16px;
    border: 2px dashed #d1d5db;
    border-radius: 12px;
    background: #f9fafb;
    cursor: pointer;
    transition: all 0.15s ease;
    text-align: center;
}
.cw-upload-dropzone:hover[b-9iptfvz9zi] { border-color: #3b82f6; background: #eff6ff; }
.cw-upload-dropzone i[b-9iptfvz9zi] { font-size: 32px; color: #3b82f6; }
.cw-upload-dropzone span[b-9iptfvz9zi] { font-size: 13px; font-weight: 600; color: #374151; }
.cw-upload-dropzone small[b-9iptfvz9zi] { font-size: 11px; color: #9ca3af; }
.cw-upload-dropzone input[type="file"][b-9iptfvz9zi] { display: none; }

.cw-upload-preview[b-9iptfvz9zi] {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
}
.cw-upload-preview img[b-9iptfvz9zi] {
    width: 100%;
    max-height: 220px;
    object-fit: cover;
    display: block;
}
.cw-upload-preview video[b-9iptfvz9zi],
.cw-upload-preview-media[b-9iptfvz9zi] {
    width: 100%;
    max-height: 220px;
    object-fit: cover;
    display: block;
}
.cw-upload-remove[b-9iptfvz9zi] {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: rgba(0, 0, 0, 0.55);
    color: #ffffff;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s;
}
.cw-upload-remove:hover[b-9iptfvz9zi] { background: rgba(220, 38, 38, 0.85); }

.cw-preview-image[b-9iptfvz9zi] {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    object-fit: cover;
    flex-shrink: 0;
}

video.cw-preview-image[b-9iptfvz9zi] {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    object-fit: cover;
    flex-shrink: 0;
}

/* ===========================
   Tab Badge
   =========================== */
.cw-tab-badge[b-9iptfvz9zi] {
    background: #dc2626;
    color: #ffffff;
    font-size: 10px;
    font-weight: 800;
    padding: 1px 6px;
    border-radius: 10px;
    min-width: 18px;
    text-align: center;
    line-height: 16px;
}

.cw-tab.active .cw-tab-badge[b-9iptfvz9zi] {
    background: #ffffff;
    color: #1d4ed8;
}

/* ===========================
   Pending Coupon Redeems
   =========================== */
.cw-pending-list[b-9iptfvz9zi] {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cw-pending-card[b-9iptfvz9zi] {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.cw-pending-header[b-9iptfvz9zi] {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cw-pending-avatar[b-9iptfvz9zi] {
    width: 40px; height: 40px; border-radius: 50%;
    background: #f3f4f6; color: #6b7280;
    display: flex; align-items: center; justify-content: center;
    font-size: 18px; flex-shrink: 0;
}

.cw-pending-info[b-9iptfvz9zi] {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}
.cw-pending-info strong[b-9iptfvz9zi] {
    font-size: 14px; font-weight: 600; color: #1a1a2e;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.cw-pending-info small[b-9iptfvz9zi] { font-size: 12px; color: #9ca3af; }

.cw-pending-badge[b-9iptfvz9zi] {
    font-size: 10px; font-weight: 700;
    padding: 3px 10px; border-radius: 8px;
    text-transform: uppercase; letter-spacing: 0.5px;
    flex-shrink: 0;
}
.cw-badge-claimed[b-9iptfvz9zi] { background: #eff6ff; color: #2563eb; border: 1px solid #bfdbfe; }
.cw-badge-pending[b-9iptfvz9zi] { background: #fffbeb; color: #d97706; border: 1px solid #fde68a; }

.cw-pending-coupon-body[b-9iptfvz9zi] {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 12px;
    background: #f9fafb;
    border-radius: 10px;
}

.cw-pending-coupon-img[b-9iptfvz9zi] {
    width: 68px; height: 68px;
    border-radius: 10px; object-fit: cover;
    border: 1px solid #e5e7eb; flex-shrink: 0;
}
video.cw-pending-coupon-img[b-9iptfvz9zi] { background: #000; }

.cw-pending-coupon-info[b-9iptfvz9zi] { flex: 1; min-width: 0; }
.cw-pending-coupon-title[b-9iptfvz9zi] { margin: 0 0 4px; font-size: 15px; font-weight: 700; color: #1a1a2e; line-height: 1.3; }
.cw-pending-coupon-desc[b-9iptfvz9zi] {
    margin: 0 0 8px; font-size: 13px; color: #6b7280; line-height: 1.4;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

.cw-pending-coupon-meta[b-9iptfvz9zi] { display: flex; flex-wrap: wrap; gap: 12px; }
.cw-pending-coupon-meta span[b-9iptfvz9zi] { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 600; color: #9ca3af; }
.cw-pending-coupon-meta i[b-9iptfvz9zi] { font-size: 12px; }

.cw-pending-actions[b-9iptfvz9zi] { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }

.cw-pending-btn[b-9iptfvz9zi] {
    display: flex; align-items: center; justify-content: center; gap: 6px;
    padding: 12px 14px; border-radius: 12px; font-size: 14px; font-weight: 700;
    cursor: pointer; transition: all 0.15s ease; border: none;
}
.cw-pending-btn:disabled[b-9iptfvz9zi] { opacity: 0.5; cursor: not-allowed; }

.cw-pending-approve[b-9iptfvz9zi] { background: #059669; color: #ffffff; }
.cw-pending-approve:hover:not(:disabled)[b-9iptfvz9zi] { background: #047857; }

.cw-pending-reject[b-9iptfvz9zi] { background: #ffffff; color: #dc2626; border: 1px solid #fecaca; }
.cw-pending-reject:hover:not(:disabled)[b-9iptfvz9zi] { background: #fef2f2; }

/* ===========================
   Share Modal
   =========================== */
.cw-modal-sm[b-9iptfvz9zi] { max-width: 380px; }

.cw-share-label[b-9iptfvz9zi] { margin: 0; font-size: 13px; color: #6b7280; }

.cw-share-code-row[b-9iptfvz9zi] {
    display: flex; align-items: center; gap: 8px;
    background: #f9fafb; border: 1px solid #e5e7eb;
    border-radius: 10px; padding: 10px 12px;
}

.cw-share-code[b-9iptfvz9zi] {
    flex: 1; font-size: 12px; font-weight: 600; color: #1a1a2e;
    word-break: break-all; line-height: 1.4;
}

.cw-share-btn[b-9iptfvz9zi] {
    width: 36px; height: 36px; border-radius: 8px;
    border: 1px solid #e5e7eb; background: #ffffff; color: #374151;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; font-size: 16px; flex-shrink: 0; transition: all 0.15s;
}
.cw-share-btn:hover[b-9iptfvz9zi] { background: #f3f4f6; color: #1a1a2e; }

.cw-share-whatsapp[b-9iptfvz9zi] { color: #25d366; border-color: #25d366; }
.cw-share-whatsapp:hover[b-9iptfvz9zi] { background: #25d366; color: #ffffff; }

.cw-share-copied[b-9iptfvz9zi] {
    margin: 0; font-size: 12px; font-weight: 600; color: #166534;
    display: flex; align-items: center; gap: 4px;
}

/* ===========================
   Edit Modal
   =========================== */
.cw-modal-overlay[b-9iptfvz9zi] {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9000;
    padding: 16px;
    animation: cw-fade-in-b-9iptfvz9zi 0.2s ease;
}

.cw-modal[b-9iptfvz9zi] {
    background: #ffffff;
    border-radius: 18px;
    padding: 20px 16px 24px;
    width: 100%;
    max-width: 520px;
    max-height: 90vh;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
    animation: cw-slide-up-b-9iptfvz9zi 0.25s ease;
}

.cw-modal-header[b-9iptfvz9zi] {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cw-modal-close[b-9iptfvz9zi] {
    width: 34px; height: 34px; border-radius: 10px;
    border: 1px solid #e5e7eb; background: #ffffff; color: #6b7280;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; font-size: 14px; transition: all 0.15s;
}
.cw-modal-close:hover[b-9iptfvz9zi] { background: #f3f4f6; color: #1a1a2e; }

@keyframes cw-fade-in-b-9iptfvz9zi {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes cw-slide-up-b-9iptfvz9zi {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
/* /Pages/Customer/Customers.razor.rz.scp.css */
/* ===========================
   Header Actions
   =========================== */
[b-ijkb6eb5p6] .page-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.page-header-actions[b-ijkb6eb5p6] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

/* ===========================
   Customers — Recent Strip
   =========================== */
.cust-recent[b-ijkb6eb5p6] {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 1.25rem;
    box-shadow: 0 1px 3px rgba(0,0,0,.04);
}

.cust-recent-head[b-ijkb6eb5p6] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #6b7280;
    border-bottom: 1px solid #f3f4f6;
}

.cust-recent-head i[b-ijkb6eb5p6] {
    font-size: 14px;
    color: #9ca3af;
}

.cust-recent-list[b-ijkb6eb5p6] {
    display: flex;
    flex-direction: column;
}

.cust-recent-item[b-ijkb6eb5p6] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    border-bottom: 1px solid #f3f4f6;
    transition: background 0.1s;
}

.cust-recent-item:last-child[b-ijkb6eb5p6] {
    border-bottom: none;
}

.cust-recent-item:hover[b-ijkb6eb5p6] {
    background: #fafbfc;
}

.cust-recent-avatar[b-ijkb6eb5p6] {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: linear-gradient(135deg, #164272, #1a5a9e);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    flex-shrink: 0;
    text-transform: uppercase;
}

.cust-recent-info[b-ijkb6eb5p6] {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
}

.cust-recent-name[b-ijkb6eb5p6] {
    font-size: 0.85rem;
    font-weight: 600;
    color: #1a1a2e;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cust-recent-time[b-ijkb6eb5p6] {
    font-size: 0.7rem;
    color: #9ca3af;
    font-weight: 500;
}

.cust-recent-badge[b-ijkb6eb5p6] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 10px;
    border-radius: 8px;
    font-size: 0.7rem;
    font-weight: 700;
    flex-shrink: 0;
}

.cust-badge-claimed[b-ijkb6eb5p6] {
    background: #ecfdf5;
    color: #059669;
}

.cust-badge-none[b-ijkb6eb5p6] {
    background: #f3f4f6;
    color: #9ca3af;
}

.cust-recent-right[b-ijkb6eb5p6] {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 3px;
    flex-shrink: 0;
    max-width: 50%;
}

.cust-recent-company[b-ijkb6eb5p6] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.68rem;
    font-weight: 600;
    color: #164272;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.cust-recent-company i[b-ijkb6eb5p6] {
    font-size: 10px;
    color: #95c11f;
    flex-shrink: 0;
}

/* ===========================
   Responsive — Desktop table / Mobile cards
   =========================== */
.cust-cards-mobile[b-ijkb6eb5p6] {
    display: none;
}

@media (max-width: 768px) {
    .cust-table-desktop[b-ijkb6eb5p6] {
        display: none;
    }

    .cust-cards-mobile[b-ijkb6eb5p6] {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
}

/* ===========================
   Mobile Customer Card
   =========================== */
.cust-card[b-ijkb6eb5p6] {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 14px 16px;
    box-shadow: 0 1px 3px rgba(0,0,0,.04);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cust-card-top[b-ijkb6eb5p6] {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cust-card-avatar[b-ijkb6eb5p6] {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: linear-gradient(135deg, #164272, #1a5a9e);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    font-weight: 700;
    flex-shrink: 0;
    text-transform: uppercase;
}

.cust-card-main[b-ijkb6eb5p6] {
    display: flex;
    flex-direction: column;
    min-width: 0;
    flex: 1;
}

.cust-card-name[b-ijkb6eb5p6] {
    font-size: 0.9rem;
    font-weight: 700;
    color: #1a1a2e;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cust-card-email[b-ijkb6eb5p6] {
    font-size: 0.78rem;
    color: #6b7280;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cust-card-details[b-ijkb6eb5p6] {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding-left: 50px;
}

.cust-card-detail[b-ijkb6eb5p6] {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.78rem;
    color: #6b7280;
}

.cust-card-detail i[b-ijkb6eb5p6] {
    font-size: 12px;
    color: #9ca3af;
}

.cust-card-actions[b-ijkb6eb5p6] {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
    padding-top: 4px;
    border-top: 1px solid #f3f4f6;
}
/* /Pages/Dashboard/CompanyDashboard.razor.rz.scp.css */
/* ===========================
   Company Dashboard — WebAdmin
   Desktop-optimized layout
   =========================== */

/* Company Selector */
.cd-selector-card[b-yxuy64q31m] {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 16px 20px;
    margin-bottom: 20px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    display: flex;
    align-items: center;
    gap: 16px;
}

.cd-selector-header[b-yxuy64q31m] {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
    color: #1a1a2e;
    white-space: nowrap;
}

.cd-selector-header i[b-yxuy64q31m] {
    font-size: 18px;
    color: #164272;
}

.cd-select[b-yxuy64q31m] {
    flex: 1;
    max-width: 400px;
    padding: 10px 14px;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    color: #374151;
    background: #f9fafb;
    outline: none;
    cursor: pointer;
    transition: all 0.15s ease;
}

.cd-select:focus[b-yxuy64q31m] {
    border-color: #7aa31a;
    box-shadow: 0 0 0 3px rgba(122, 163, 26, 0.15);
    background: #ffffff;
}

/* Loading */
.cd-loading[b-yxuy64q31m] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 60px 20px;
}

.cd-loading p[b-yxuy64q31m] {
    font-size: 14px;
    color: #6b7280;
    margin: 0;
}

.cd-spinner[b-yxuy64q31m] {
    width: 40px;
    height: 40px;
    border: 4px solid #e5e7eb;
    border-top-color: #95c11f;
    border-radius: 50%;
    animation: cdSpin-b-yxuy64q31m 0.8s linear infinite;
}

@keyframes cdSpin-b-yxuy64q31m {
    to { transform: rotate(360deg); }
}

/* Empty Prompt */
.cd-empty-prompt[b-yxuy64q31m] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 60px 20px;
    text-align: center;
}

.cd-empty-prompt i[b-yxuy64q31m] {
    font-size: 48px;
    color: #d1d5db;
}

.cd-empty-prompt p[b-yxuy64q31m] {
    margin: 0;
    font-size: 14px;
    color: #6b7280;
    font-weight: 500;
}

/* Dashboard Container */
.cd-dashboard[b-yxuy64q31m] {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Company Badge */
.cd-company-badge[b-yxuy64q31m] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #164272, #0f2d4f);
    color: #ffffff;
    padding: 8px 16px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
    width: fit-content;
}

.cd-company-badge i[b-yxuy64q31m] {
    font-size: 15px;
    opacity: 0.85;
}

/* Recent Activity Banner */
.cd-recent-banner[b-yxuy64q31m] {
    display: flex;
    gap: 12px;
}

.cd-recent-item[b-yxuy64q31m] {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    font-size: 13px;
    color: #374151;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.cd-recent-item i[b-yxuy64q31m] {
    font-size: 18px;
    color: #95c11f;
    flex-shrink: 0;
}

.cd-recent-item strong[b-yxuy64q31m] {
    font-weight: 800;
    color: #1a1a2e;
}

/* Stats Grid */
.cd-stats-grid[b-yxuy64q31m] {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.cd-stat-card[b-yxuy64q31m] {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.cd-stat-icon[b-yxuy64q31m] {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.cd-stat-icon-blue[b-yxuy64q31m] {
    background: #e3f2fd;
    color: #1976d2;
}

.cd-stat-icon-green[b-yxuy64q31m] {
    background: #f0f7e0;
    color: #95c11f;
}

.cd-stat-icon-gray[b-yxuy64q31m] {
    background: #f3f4f6;
    color: #9ca3af;
}

.cd-stat-icon-purple[b-yxuy64q31m] {
    background: #f3e8ff;
    color: #7c3aed;
}

.cd-stat-info[b-yxuy64q31m] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.cd-stat-value[b-yxuy64q31m] {
    font-size: 22px;
    font-weight: 800;
    color: #1a1a2e;
    letter-spacing: -0.02em;
    line-height: 1;
}

.cd-stat-label[b-yxuy64q31m] {
    font-size: 11px;
    font-weight: 600;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

/* Wide Stat Cards (Claimed / Redeemed) */
.cd-wide-grid[b-yxuy64q31m] {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.cd-wide-card[b-yxuy64q31m] {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 18px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.cd-wide-header[b-yxuy64q31m] {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

.cd-wide-icon[b-yxuy64q31m] {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
}

.cd-wide-orange .cd-wide-icon[b-yxuy64q31m] {
    background: #fff7ed;
    color: #ea580c;
}

.cd-wide-green .cd-wide-icon[b-yxuy64q31m] {
    background: #f0f7e0;
    color: #95c11f;
}

.cd-wide-title[b-yxuy64q31m] {
    font-size: 15px;
    font-weight: 700;
    color: #1a1a2e;
}

.cd-wide-body[b-yxuy64q31m] {
    display: flex;
    align-items: center;
}

.cd-wide-metric[b-yxuy64q31m] {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.cd-wide-value[b-yxuy64q31m] {
    font-size: 26px;
    font-weight: 800;
    color: #1a1a2e;
    letter-spacing: -0.02em;
    line-height: 1;
}

.cd-wide-desc[b-yxuy64q31m] {
    font-size: 11px;
    font-weight: 600;
    color: #9ca3af;
}

.cd-wide-divider[b-yxuy64q31m] {
    width: 1px;
    height: 40px;
    background: #e5e7eb;
    flex-shrink: 0;
}

/* Quantity Overview */
.cd-quantity-card[b-yxuy64q31m] {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 18px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.cd-quantity-header[b-yxuy64q31m] {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    font-size: 14px;
    font-weight: 700;
    color: #1a1a2e;
}

.cd-quantity-header i[b-yxuy64q31m] {
    color: #95c11f;
    font-size: 16px;
}

.cd-quantity-bar-wrap[b-yxuy64q31m] {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.cd-quantity-bar-bg[b-yxuy64q31m] {
    width: 100%;
    height: 12px;
    background: #f3f4f6;
    border-radius: 6px;
    overflow: hidden;
}

.cd-quantity-bar-fill[b-yxuy64q31m] {
    height: 100%;
    background: linear-gradient(90deg, #95c11f, #7aa31a);
    border-radius: 6px;
    transition: width 0.5s ease;
    min-width: 0;
}

.cd-quantity-labels[b-yxuy64q31m] {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    font-weight: 600;
    color: #9ca3af;
}

/* Most / Least Attractive */
.cd-attractive-grid[b-yxuy64q31m] {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.cd-attractive-card[b-yxuy64q31m] {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.cd-attractive-badge[b-yxuy64q31m] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 4px 10px;
    border-radius: 6px;
    width: fit-content;
}

.cd-attractive-top .cd-attractive-badge[b-yxuy64q31m] {
    background: #fef3c7;
    color: #b45309;
}

.cd-attractive-low .cd-attractive-badge[b-yxuy64q31m] {
    background: #f3f4f6;
    color: #6b7280;
}

.cd-attractive-title[b-yxuy64q31m] {
    font-size: 14px;
    font-weight: 700;
    color: #1a1a2e;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.cd-attractive-meta[b-yxuy64q31m] {
    font-size: 12px;
    font-weight: 600;
    color: #9ca3af;
}

/* Responsive */
@media (max-width: 900px) {
    .cd-stats-grid[b-yxuy64q31m] {
        grid-template-columns: repeat(2, 1fr);
    }

    .cd-wide-grid[b-yxuy64q31m] {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .cd-selector-card[b-yxuy64q31m] {
        flex-direction: column;
        align-items: stretch;
    }

    .cd-select[b-yxuy64q31m] {
        max-width: 100%;
    }

    .cd-recent-banner[b-yxuy64q31m] {
        flex-direction: column;
    }

    .cd-stats-grid[b-yxuy64q31m] {
        grid-template-columns: 1fr 1fr;
    }

    .cd-attractive-grid[b-yxuy64q31m] {
        grid-template-columns: 1fr;
    }
}
/* /Pages/Dashboard/CustomerDashboard.razor.rz.scp.css */
/* ===========================
   Customer Dashboard — WebAdmin
   =========================== */

.cdb-loading[b-msf0jbfuxk] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 60px 20px;
}

.cdb-loading p[b-msf0jbfuxk] { font-size: 14px; color: #6b7280; margin: 0; }

.cdb-spinner[b-msf0jbfuxk] {
    width: 40px;
    height: 40px;
    border: 4px solid #e5e7eb;
    border-top-color: #164272;
    border-radius: 50%;
    animation: cdbSpin-b-msf0jbfuxk 0.8s linear infinite;
}

@keyframes cdbSpin-b-msf0jbfuxk { to { transform: rotate(360deg); } }

.cdb-empty[b-msf0jbfuxk] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 60px 20px;
    text-align: center;
}

.cdb-empty i[b-msf0jbfuxk] { font-size: 48px; color: #d1d5db; }
.cdb-empty p[b-msf0jbfuxk] { margin: 0; font-size: 14px; color: #6b7280; }

.cdb-dashboard[b-msf0jbfuxk] {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Recent Banner */
.cdb-recent-banner[b-msf0jbfuxk] {
    display: flex;
    gap: 12px;
}

.cdb-recent-item[b-msf0jbfuxk] {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    font-size: 13px;
    color: #374151;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.cdb-recent-item i[b-msf0jbfuxk] { font-size: 18px; color: #164272; flex-shrink: 0; }
.cdb-recent-item strong[b-msf0jbfuxk] { font-weight: 800; color: #1a1a2e; }

.cdb-recent-bounced[b-msf0jbfuxk] { border-color: #fecaca; }
.cdb-recent-bounced i[b-msf0jbfuxk] { color: #dc2626; }

/* Section Title */
.cdb-section-title[b-msf0jbfuxk] {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
    color: #1a1a2e;
    margin-top: 4px;
}

.cdb-section-title i[b-msf0jbfuxk] { font-size: 16px; color: #164272; }

/* Stats Grid */
.cdb-stats-grid[b-msf0jbfuxk] {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.cdb-coupon-grid[b-msf0jbfuxk] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.cdb-stat-card[b-msf0jbfuxk] {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.cdb-stat-icon[b-msf0jbfuxk] {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.cdb-icon-blue[b-msf0jbfuxk] { background: #e3f2fd; color: #1976d2; }
.cdb-icon-green[b-msf0jbfuxk] { background: #f0f7e0; color: #4caf50; }
.cdb-icon-purple[b-msf0jbfuxk] { background: #f3e8ff; color: #7c3aed; }
.cdb-icon-red[b-msf0jbfuxk] { background: #fef2f2; color: #dc2626; }
.cdb-icon-amber[b-msf0jbfuxk] { background: #fef3c7; color: #d97706; }
.cdb-icon-gray[b-msf0jbfuxk] { background: #f3f4f6; color: #9ca3af; }
.cdb-icon-teal[b-msf0jbfuxk] { background: #e0f2f1; color: #00897b; }
.cdb-icon-indigo[b-msf0jbfuxk] { background: #e8eaf6; color: #3f51b5; }

.cdb-stat-info[b-msf0jbfuxk] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.cdb-stat-value[b-msf0jbfuxk] {
    font-size: 22px;
    font-weight: 800;
    color: #1a1a2e;
    letter-spacing: -0.02em;
    line-height: 1;
}

.cdb-stat-label[b-msf0jbfuxk] {
    font-size: 11px;
    font-weight: 600;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.cdb-stat-pct[b-msf0jbfuxk] {
    font-size: 11px;
    font-weight: 700;
    color: #6b7280;
}

/* Wide Cards */
.cdb-wide-grid[b-msf0jbfuxk] {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.cdb-wide-card[b-msf0jbfuxk] {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 18px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.cdb-wide-header[b-msf0jbfuxk] {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    color: #374151;
    margin-bottom: 10px;
}

.cdb-wide-icon-amber[b-msf0jbfuxk] { color: #d97706; }
.cdb-wide-icon-teal[b-msf0jbfuxk] { color: #00897b; }
.cdb-wide-icon-blue[b-msf0jbfuxk] { color: #1976d2; }
.cdb-wide-icon-green[b-msf0jbfuxk] { color: #4caf50; }
.cdb-wide-icon-purple[b-msf0jbfuxk] { color: #7c3aed; }

.cdb-wide-value[b-msf0jbfuxk] {
    font-size: 28px;
    font-weight: 800;
    color: #1a1a2e;
    line-height: 1;
    margin-bottom: 4px;
}

.cdb-wide-sub[b-msf0jbfuxk] {
    font-size: 12px;
    color: #9ca3af;
    margin-bottom: 10px;
}

.cdb-wide-pct[b-msf0jbfuxk] {
    font-size: 11px;
    color: #6b7280;
    margin-top: 6px;
}

.cdb-progress[b-msf0jbfuxk] {
    height: 6px;
    background: #f3f4f6;
    border-radius: 3px;
    overflow: hidden;
}

.cdb-progress-bar[b-msf0jbfuxk] {
    height: 100%;
    border-radius: 3px;
    transition: width 0.6s ease;
}

.cdb-bar-amber[b-msf0jbfuxk] { background: #f59e0b; }
.cdb-bar-teal[b-msf0jbfuxk] { background: #14b8a6; }
.cdb-bar-blue[b-msf0jbfuxk] { background: #3b82f6; }
.cdb-bar-green[b-msf0jbfuxk] { background: #22c55e; }
.cdb-bar-purple[b-msf0jbfuxk] { background: #8b5cf6; }

/* Two Columns Layout */
.cdb-two-cols[b-msf0jbfuxk] {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

/* Three Columns (Data Completeness) */
.cdb-data-grid[b-msf0jbfuxk] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

/* List Cards (Regions, Companies) */
.cdb-list-card[b-msf0jbfuxk] {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.cdb-list-header[b-msf0jbfuxk] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 18px;
    font-size: 13px;
    font-weight: 700;
    color: #1a1a2e;
    border-bottom: 1px solid #f3f4f6;
}

.cdb-list-header i[b-msf0jbfuxk] { font-size: 16px; color: #164272; }

.cdb-list-body[b-msf0jbfuxk] {
    padding: 8px 18px 14px;
    max-height: 380px;
    overflow-y: auto;
}

.cdb-list-empty[b-msf0jbfuxk] {
    padding: 24px;
    text-align: center;
    font-size: 13px;
    color: #9ca3af;
}

.cdb-list-row[b-msf0jbfuxk] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    border-bottom: 1px solid #f9fafb;
}

.cdb-list-row:last-child[b-msf0jbfuxk] { border-bottom: none; }

.cdb-list-name[b-msf0jbfuxk] {
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    min-width: 140px;
    white-space: nowrap;
}

.cdb-list-bar-wrap[b-msf0jbfuxk] {
    flex: 1;
    height: 6px;
    background: #f3f4f6;
    border-radius: 3px;
    overflow: hidden;
}

.cdb-list-bar[b-msf0jbfuxk] {
    height: 100%;
    background: #164272;
    border-radius: 3px;
    transition: width 0.5s ease;
}

.cdb-list-bar.cdb-bar-purple[b-msf0jbfuxk] { background: #7c3aed; }

.cdb-list-count[b-msf0jbfuxk] {
    font-size: 13px;
    font-weight: 800;
    color: #1a1a2e;
    min-width: 36px;
    text-align: right;
}

/* Monthly Trend (Bar Chart) */
.cdb-trend-grid[b-msf0jbfuxk] {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    padding: 16px 18px 14px;
    height: 200px;
}

.cdb-trend-col[b-msf0jbfuxk] {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    height: 100%;
}

.cdb-trend-value[b-msf0jbfuxk] {
    font-size: 12px;
    font-weight: 800;
    color: #1a1a2e;
}

.cdb-trend-bar-wrap[b-msf0jbfuxk] {
    flex: 1;
    width: 100%;
    max-width: 48px;
    display: flex;
    align-items: flex-end;
}

.cdb-trend-bar[b-msf0jbfuxk] {
    width: 100%;
    background: #164272;
    border-radius: 6px 6px 0 0;
    min-height: 4px;
    transition: height 0.5s ease;
}

.cdb-trend-label[b-msf0jbfuxk] {
    font-size: 11px;
    font-weight: 600;
    color: #9ca3af;
    text-transform: uppercase;
}

/* Responsive */
@media (max-width: 1024px) {
    .cdb-stats-grid[b-msf0jbfuxk] { grid-template-columns: repeat(2, 1fr); }
    .cdb-coupon-grid[b-msf0jbfuxk] { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .cdb-recent-banner[b-msf0jbfuxk] { flex-direction: column; }
    .cdb-stats-grid[b-msf0jbfuxk] { grid-template-columns: 1fr; }
    .cdb-coupon-grid[b-msf0jbfuxk] { grid-template-columns: 1fr; }
    .cdb-wide-grid[b-msf0jbfuxk] { grid-template-columns: 1fr; }
    .cdb-data-grid[b-msf0jbfuxk] { grid-template-columns: 1fr; }
    .cdb-two-cols[b-msf0jbfuxk] { grid-template-columns: 1fr; }
}
/* /Pages/Index.razor.rz.scp.css */
.dashboard[b-2uylu6u7ji] {
    max-width: 1400px;
    margin: 0 auto;
}

.dashboard-header[b-2uylu6u7ji] {
    margin-bottom: 2rem;
}

.dashboard-header h1[b-2uylu6u7ji] {
    font-size: 2rem;
    color: #2d3748;
    margin: 0 0 0.5rem 0;
}

.dashboard-header p[b-2uylu6u7ji] {
    color: #718096;
    font-size: 1rem;
    margin: 0;
}

.dashboard-grid[b-2uylu6u7ji] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.stat-card[b-2uylu6u7ji] {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    gap: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    border: 1px solid #e9ecef;
    transition: all 0.3s;
    animation: slideUp-b-2uylu6u7ji 0.4s ease-out;
}

.stat-card:hover[b-2uylu6u7ji] {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

@keyframes slideUp-b-2uylu6u7ji {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.stat-icon[b-2uylu6u7ji] {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stat-icon.purple[b-2uylu6u7ji] {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.stat-icon.blue[b-2uylu6u7ji] {
    background: linear-gradient(135deg, #4299e1 0%, #3182ce 100%);
    color: white;
}

.stat-icon.green[b-2uylu6u7ji] {
    background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
    color: white;
}

.stat-icon.orange[b-2uylu6u7ji] {
    background: linear-gradient(135deg, #ed8936 0%, #dd6b20 100%);
    color: white;
}

.stat-content[b-2uylu6u7ji] {
    flex: 1;
}

.stat-label[b-2uylu6u7ji] {
    font-size: 0.875rem;
    color: #718096;
    margin: 0 0 0.5rem 0;
    font-weight: 500;
}

.stat-value[b-2uylu6u7ji] {
    font-size: 2rem;
    font-weight: 700;
    color: #2d3748;
    margin: 0;
}

.quick-actions[b-2uylu6u7ji] {
    margin-top: 3rem;
}

.quick-actions h3[b-2uylu6u7ji] {
    font-size: 1.5rem;
    color: #2d3748;
    margin: 0 0 1.5rem 0;
}

.action-grid[b-2uylu6u7ji] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.action-card[b-2uylu6u7ji] {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    border: 1px solid #e9ecef;
    text-decoration: none;
    transition: all 0.3s;
}

.action-card:hover[b-2uylu6u7ji] {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    border-color: #667eea;
}

.action-icon[b-2uylu6u7ji] {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.action-card h4[b-2uylu6u7ji] {
    font-size: 1.125rem;
    color: #2d3748;
    margin: 0;
    font-weight: 600;
}

.action-card p[b-2uylu6u7ji] {
    color: #718096;
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Responsive */
@media (max-width: 768px) {
    .dashboard-header h1[b-2uylu6u7ji] {
        font-size: 1.5rem;
    }

    .dashboard-grid[b-2uylu6u7ji] {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .action-grid[b-2uylu6u7ji] {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .stat-value[b-2uylu6u7ji] {
        font-size: 1.75rem;
    }
}
/* /Pages/Login.razor.rz.scp.css */
.login-page[b-awprolcat9] {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f7f8fa 0%, #e8f5e9 100%);
    padding: 1rem;
}

.login-card[b-awprolcat9] {
    background: #ffffff;
    border-radius: 16px;
    padding: 2.5rem;
    width: 100%;
    max-width: 420px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.08);
    border: 1px solid #e5e7eb;
}

.login-header[b-awprolcat9] {
    text-align: center;
    margin-bottom: 2rem;
}

.login-logo[b-awprolcat9] {
    max-width: 180px;
    margin-bottom: 0.5rem;
}

.login-subtitle[b-awprolcat9] {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #6b7280;
}

.login-form[b-awprolcat9] {
    display: flex;
    flex-direction: column;
    gap: 0;
}
/* /Shared/MainLayout.razor.rz.scp.css */
/* ===========================
   WebAdmin — Header + Slide Menu Layout
   Matches Company/Customer WebAdmin pattern
   =========================== */

/* App Layout */
.app-layout[b-oedkh2gj7m] {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background: #f7f8fa;
    font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* ===========================
   Header
   =========================== */
.app-header[b-oedkh2gj7m] {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    color: white;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container[b-oedkh2gj7m] {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-logo[b-oedkh2gj7m] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-img[b-oedkh2gj7m] {
    height: 36px;
    border-radius: 8px;
}

.logo-badge[b-oedkh2gj7m] {
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    background: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.85);
    padding: 3px 8px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.header-right[b-oedkh2gj7m] {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-user[b-oedkh2gj7m] {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.user-info[b-oedkh2gj7m] {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
}

.user-name[b-oedkh2gj7m] {
    font-weight: 600;
    font-size: 0.9rem;
}

/* ===========================
   Hamburger Button
   =========================== */
.hamburger-btn[b-oedkh2gj7m] {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    color: #ffffff;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.hamburger-btn:hover[b-oedkh2gj7m] {
    background: rgba(255, 255, 255, 0.2);
}

/* ===========================
   Slide Menu
   =========================== */
.menu-overlay[b-oedkh2gj7m] {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 200;
    animation: menuFadeIn-b-oedkh2gj7m 0.2s ease;
}

@keyframes menuFadeIn-b-oedkh2gj7m {
    from { opacity: 0; }
    to { opacity: 1; }
}

.slide-menu[b-oedkh2gj7m] {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 300px;
    max-width: 85vw;
    background: #ffffff;
    z-index: 201;
    display: flex;
    flex-direction: column;
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.12);
    animation: menuSlideIn-b-oedkh2gj7m 0.25s ease;
    overflow-y: auto;
}

@keyframes menuSlideIn-b-oedkh2gj7m {
    from { transform: translateX(100%); }
    to { transform: translateX(0); }
}

/* ===========================
   Main Content
   =========================== */
.app-main[b-oedkh2gj7m] {
    flex: 1;
}

.main-container[b-oedkh2gj7m] {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
}

/* ===========================
   Responsive
   =========================== */
@media (max-width: 640px) {
    .header-user[b-oedkh2gj7m] {
        display: none;
    }

    .main-container[b-oedkh2gj7m] {
        padding: 1.5rem 1rem;
    }
}

/* Scrollbar */
.slide-menu[b-oedkh2gj7m]::-webkit-scrollbar {
    width: 4px;
}

.slide-menu[b-oedkh2gj7m]::-webkit-scrollbar-track {
    background: transparent;
}

.slide-menu[b-oedkh2gj7m]::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 2px;
}

/* /Shared/NavMenu.razor.rz.scp.css */
/* ===========================
   WebAdmin - NavMenu
   Slide-menu navigation items
   =========================== */

/* User Card */
.menu-user-card[b-wxxd4f3l7v] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px 20px 16px;
    border-bottom: 1px solid #f3f4f6;
    background: #f9fafb;
}

.menu-user-avatar[b-wxxd4f3l7v] {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: #1e293b;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.menu-user-info[b-wxxd4f3l7v] {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.menu-user-name[b-wxxd4f3l7v] {
    font-size: 14px;
    font-weight: 700;
    color: #1a1a2e;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.menu-user-email[b-wxxd4f3l7v] {
    font-size: 12px;
    color: #6b7280;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Menu Sections */
.menu-section[b-wxxd4f3l7v] {
    padding: 8px 12px;
}

.menu-section-label[b-wxxd4f3l7v] {
    display: block;
    font-size: 10px;
    font-weight: 800;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 8px 12px 4px;
}

.menu-section-bottom[b-wxxd4f3l7v] {
    margin-top: auto;
    border-top: 1px solid #f3f4f6;
    padding-top: 8px;
    padding-bottom: 16px;
}

/* Menu Items */
.menu-item[b-wxxd4f3l7v] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 12px;
    border-radius: 10px;
    text-decoration: none;
    color: #374151;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.15s ease;
    border: none;
    background: none;
    width: 100%;
    cursor: pointer;
    font-family: inherit;
}

.menu-item:hover[b-wxxd4f3l7v] {
    background: #f3f4f6;
    color: #1a1a2e;
}

.menu-item.active[b-wxxd4f3l7v] {
    background: #eff6ff;
    color: #2563eb;
}

.menu-item.active i[b-wxxd4f3l7v] {
    color: #2563eb;
}

.menu-item i[b-wxxd4f3l7v] {
    font-size: 18px;
    color: #6b7280;
    width: 20px;
    text-align: center;
    flex-shrink: 0;
}

.menu-item span[b-wxxd4f3l7v] {
    flex: 1;
}

.menu-item-logout[b-wxxd4f3l7v] {
    color: #dc2626;
}

.menu-item-logout i[b-wxxd4f3l7v] {
    color: #dc2626;
}

.menu-item-logout:hover[b-wxxd4f3l7v] {
    background: #fef2f2;
    color: #b91c1c;
}
