/**
 * Consumer Bureau Core — Frontend Styles
 * Matches brand guidelines: Navy 900, Red 700, square corners, Merriweather + Source Sans 3.
 * All classes prefixed with .cb- to avoid theme conflicts.
 */

/* ============================================================
   CSS CUSTOM PROPERTIES (Design Tokens)
   ============================================================ */
:root {
    --cb-navy-900: #0A2240;
    --cb-navy-700: #173E6A;
    --cb-navy-500: #1B3A5C;
    --cb-red-700: #B91C1C;
    --cb-red-500: #EF4444;
    --cb-gold-500: #D4A017;
    --cb-green-600: #22C55E;
    --cb-green-800: #065F46;
    --cb-amber-500: #F59E0B;
    --cb-blue-700: #1E40AF;
    --cb-gray-900: #1B1B1B;
    --cb-gray-700: #374151;
    --cb-gray-500: #6B7280;
    --cb-gray-400: #ADB5BD;
    --cb-gray-200: #E5E5E5;
    --cb-gray-100: #F7F7F7;
    --cb-gray-50: #F9FAFB;
    --cb-white: #FFFFFF;
    --cb-cream: #FDF8F0;
    --cb-light-blue: #F0F5FA;
    --cb-font-heading: 'Merriweather', Georgia, serif;
    --cb-font-body: 'Source Sans 3', 'Segoe UI', Helvetica, sans-serif;
}

/* ============================================================
   BASE
   ============================================================ */
.cb-form, .cb-reviews-list, .cb-business-profile, .cb-filters,
.cb-pagination, .cb-success-card, .cb-form-card, .cb-info-box,
.cb-warning-box, .cb-empty-state, .cb-error {
    font-family: var(--cb-font-body);
    color: var(--cb-gray-900);
    line-height: 1.55;
    box-sizing: border-box;
}

.cb-form *, .cb-reviews-list *, .cb-business-profile * {
    box-sizing: border-box;
}

/* ============================================================
   FILTER CONTROLS
   ============================================================ */
.cb-filters {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 28px;
}

.cb-filter-select {
    padding: 10px 14px;
    font-size: 15px;
    border: 2px solid var(--cb-gray-400);
    border-radius: 0;
    font-family: var(--cb-font-body);
    outline: none;
    min-width: 160px;
    background: var(--cb-white);
    transition: border-color 0.15s;
}

.cb-filter-select:focus {
    border-color: var(--cb-navy-900);
}

/* ============================================================
   REVIEW CARDS
   ============================================================ */
.cb-reviews-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cb-review-card {
    background: var(--cb-white);
    border: 1px solid var(--cb-gray-200);
    padding: 24px;
    border-radius: 0;
}

.cb-review-card.cb-negative { border-left: 4px solid var(--cb-red-500); }
.cb-review-card.cb-positive { border-left: 4px solid var(--cb-green-600); }
.cb-review-card.cb-neutral  { border-left: 4px solid var(--cb-amber-500); }

.cb-review-top {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 8px;
}

.cb-biz-name {
    font-weight: 700;
    font-size: 17px;
    color: var(--cb-navy-900);
}

.cb-biz-cat {
    font-size: 13px;
    color: var(--cb-gray-500);
    margin-top: 2px;
}

.cb-review-rating-block {
    text-align: right;
}

.cb-review-title {
    font-family: var(--cb-font-body);
    font-weight: 700;
    font-size: 15px;
    color: var(--cb-navy-900);
    margin-bottom: 4px;
}

.cb-review-text {
    font-size: 15px;
    color: var(--cb-gray-700);
    margin: 10px 0;
    line-height: 1.55;
}

.cb-pros-cons {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    margin: 8px 0;
    font-size: 14px;
}

.cb-pros { color: var(--cb-green-800); }
.cb-cons { color: var(--cb-red-700); }

.cb-review-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 13px;
    color: var(--cb-gray-500);
    padding-top: 12px;
    border-top: 1px solid #F3F4F6;
}

.cb-review-actions {
    display: flex;
    gap: 16px;
}

.cb-review-actions a {
    cursor: pointer;
    text-decoration: none;
    color: var(--cb-gray-500);
    transition: color 0.15s;
}

.cb-review-actions a:hover {
    color: var(--cb-navy-900);
}

.cb-report-btn { color: var(--cb-red-700) !important; }

.cb-review-status {
    font-size: 12px;
    font-weight: 600;
    margin-top: 4px;
}

.cb-status-complaint { color: var(--cb-red-700); }
.cb-status-review    { color: #D97706; }
.cb-status-verified  { color: #059669; }

/* ============================================================
   STARS
   ============================================================ */
.cb-stars {
    display: inline-flex;
    gap: 1px;
    font-size: 16px;
}

.cb-stars-large { font-size: 24px; }

.cb-star-filled { color: var(--cb-gold-500); }
.cb-star-empty  { color: #D1D5DB; }

/* ============================================================
   STAR SELECTOR (interactive)
   ============================================================ */
.cb-star-selector {
    display: flex;
    gap: 8px;
}

.cb-star-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    font-size: 28px;
    color: #D1D5DB;
    transition: color 0.15s;
    line-height: 1;
}

.cb-star-btn.active,
.cb-star-btn:hover {
    color: var(--cb-gold-500);
}

.cb-star-small .cb-star-btn {
    font-size: 20px;
}

.cb-sub-ratings {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.cb-sub-rating .cb-form-label {
    font-size: 13px;
    margin-bottom: 4px;
}

/* ============================================================
   FORMS
   ============================================================ */
.cb-form-card {
    background: var(--cb-gray-50);
    border: 1px solid var(--cb-gray-200);
    padding: 32px;
    border-radius: 0;
}

.cb-form-group {
    margin-bottom: 24px;
}

.cb-form-label {
    display: block;
    font-weight: 700;
    font-size: 14px;
    color: var(--cb-navy-900);
    margin-bottom: 6px;
}

.cb-form-input {
    width: 100%;
    padding: 10px 14px;
    font-size: 15px;
    border: 2px solid var(--cb-gray-400);
    border-radius: 0;
    font-family: var(--cb-font-body);
    outline: none;
    transition: border-color 0.15s;
    background: var(--cb-white);
}

.cb-form-input:focus {
    border-color: var(--cb-navy-900);
}

textarea.cb-form-input {
    resize: vertical;
}

.cb-form-row {
    display: flex;
    gap: 16px;
}

.cb-form-row .cb-half {
    flex: 1;
}

.cb-form-footer-text {
    text-align: center;
    font-size: 14px;
    color: var(--cb-gray-500);
    margin-top: 16px;
}

.cb-form-footer-text a {
    color: var(--cb-navy-900);
    font-weight: 600;
}

.cb-form-error {
    background: #FEE2E2;
    border: 1px solid var(--cb-red-500);
    color: #991B1B;
    padding: 12px 16px;
    margin-bottom: 16px;
    font-size: 14px;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.cb-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    background: var(--cb-red-700);
    color: var(--cb-white);
    border: none;
    border-radius: 0;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    font-family: var(--cb-font-body);
    text-decoration: none;
    transition: background 0.15s;
}

.cb-btn-primary:hover {
    background: #991B1B;
    color: var(--cb-white);
}

.cb-btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.cb-btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    background: transparent;
    color: var(--cb-navy-500);
    border: 2px solid var(--cb-navy-500);
    border-radius: 0;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    font-family: var(--cb-font-body);
    text-decoration: none;
    transition: background 0.15s, color 0.15s;
}

.cb-btn-outline:hover {
    background: var(--cb-navy-500);
    color: var(--cb-white);
}

.cb-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    background: var(--cb-navy-500);
    color: var(--cb-white);
    border: none;
    border-radius: 0;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    font-family: var(--cb-font-body);
}

/* ============================================================
   INFO / WARNING / SUCCESS BOXES
   ============================================================ */
.cb-info-box {
    background: #DBEAFE;
    border: 1px solid #93C5FD;
    padding: 12px 16px;
    margin-bottom: 24px;
    font-size: 13px;
    color: var(--cb-blue-700);
    border-radius: 0;
}

.cb-warning-box {
    background: #FEF3C7;
    border: 1px solid var(--cb-amber-500);
    padding: 12px 16px;
    margin-bottom: 24px;
    font-size: 13px;
    color: #92400E;
    border-radius: 0;
}

.cb-success-card {
    background: #F0FDF4;
    border: 2px solid var(--cb-green-600);
    padding: 32px;
    text-align: center;
    border-radius: 0;
}

.cb-success-icon {
    font-size: 48px;
    margin-bottom: 12px;
}

.cb-success-card h2 {
    font-family: var(--cb-font-heading);
    color: var(--cb-green-800);
    margin-bottom: 8px;
}

.cb-success-card p {
    color: var(--cb-gray-700);
}

.cb-empty-state {
    text-align: center;
    padding: 40px 20px;
    color: var(--cb-gray-500);
}

.cb-error {
    background: #FEE2E2;
    border: 1px solid var(--cb-red-500);
    color: #991B1B;
    padding: 16px;
    text-align: center;
}

/* ============================================================
   BUSINESS PROFILE
   ============================================================ */
.cb-biz-header {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--cb-gray-200);
}

.cb-biz-title {
    font-family: var(--cb-font-heading);
    font-size: 28px;
    font-weight: 900;
    color: var(--cb-navy-900);
    margin: 0 0 4px;
}

.cb-biz-category {
    font-size: 14px;
    color: var(--cb-gray-500);
}

.cb-biz-rating-summary {
    text-align: right;
}

.cb-biz-avg-rating {
    font-family: var(--cb-font-heading);
    font-size: 36px;
    font-weight: 900;
    color: var(--cb-navy-900);
}

.cb-biz-review-count {
    font-size: 13px;
    color: var(--cb-gray-500);
    margin-top: 2px;
}

.cb-biz-stats {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 24px;
    padding: 16px 0;
    border-bottom: 1px solid var(--cb-gray-200);
}

.cb-biz-stat {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.cb-stat-label {
    font-size: 12px;
    color: var(--cb-gray-500);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.cb-stat-value {
    font-weight: 700;
    color: var(--cb-navy-900);
}

.cb-biz-contact {
    margin-bottom: 24px;
    font-size: 14px;
    color: var(--cb-gray-700);
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.cb-biz-contact a {
    color: var(--cb-navy-500);
    text-decoration: underline;
}

.cb-biz-actions {
    display: flex;
    gap: 12px;
    margin-bottom: 32px;
}

.cb-section-heading {
    font-family: var(--cb-font-heading);
    font-size: 20px;
    font-weight: 900;
    color: var(--cb-navy-900);
    margin-bottom: 16px;
}

/* ============================================================
   PAGINATION
   ============================================================ */
.cb-pagination {
    text-align: center;
    padding: 32px 0;
    display: flex;
    justify-content: center;
    gap: 4px;
}

.cb-page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid var(--cb-gray-200);
    color: var(--cb-gray-700);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.15s;
}

.cb-page-link:hover,
.cb-page-link.cb-active {
    background: var(--cb-navy-900);
    color: var(--cb-white);
    border-color: var(--cb-navy-900);
}

/* ============================================================
   COMPLAINT WIZARD — STEP INDICATOR
   ============================================================ */
.cb-steps-bar {
    display: flex;
    gap: 0;
    margin-bottom: 36px;
}

.cb-step {
    flex: 1;
    text-align: center;
    position: relative;
}

.cb-step::after {
    content: '';
    position: absolute;
    top: 16px;
    right: -50%;
    width: 100%;
    height: 2px;
    background: #D1D5DB;
    z-index: 0;
}

.cb-step:last-child::after { display: none; }

.cb-step.complete::after { background: var(--cb-green-600); }
.cb-step.active::after   { background: var(--cb-navy-900); }

.cb-step-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #D1D5DB;
    color: var(--cb-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    margin: 0 auto 6px;
    position: relative;
    z-index: 1;
}

.cb-step.active .cb-step-circle   { background: var(--cb-navy-900); }
.cb-step.complete .cb-step-circle { background: var(--cb-green-600); }

.cb-step-label {
    font-size: 12px;
    color: var(--cb-gray-500);
}

.cb-step.active .cb-step-label {
    font-weight: 700;
    color: var(--cb-navy-900);
}

/* Button Row */
.cb-btn-row {
    display: flex;
    gap: 12px;
}

/* Complaint Review Summary */
.cb-review-summary {
    background: var(--cb-white);
    border: 1px solid var(--cb-gray-200);
    padding: 20px;
    margin-bottom: 20px;
}

.cb-summary-row {
    margin-bottom: 12px;
    font-size: 14px;
    color: var(--cb-gray-700);
    line-height: 1.5;
}

.cb-summary-row:last-child { margin-bottom: 0; }
.cb-summary-row strong     { color: var(--cb-navy-900); }

/* ============================================================
   BUSINESS CLAIM FORM
   ============================================================ */
.cb-claim-section {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--cb-gray-200);
}

.cb-claim-section .cb-form-card {
    margin-top: 16px;
}

/* ============================================================
   BUSINESS OWNER RESPONSE
   ============================================================ */
.cb-biz-response {
    background: var(--cb-light-blue);
    border: 1px solid #93C5FD;
    padding: 16px 20px;
    margin-top: 12px;
}

.cb-biz-response-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    font-size: 13px;
    font-weight: 700;
    color: var(--cb-navy-900);
}

.cb-biz-response-badge {
    display: inline-block;
    background: var(--cb-navy-900);
    color: var(--cb-white);
    font-size: 10px;
    font-weight: 700;
    padding: 1px 6px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.cb-biz-response-text {
    font-size: 14px;
    color: var(--cb-gray-700);
    line-height: 1.55;
}

/* ============================================================
   COMPLAINT STATUS TRACKER (user-facing)
   ============================================================ */
.cb-status-tracker {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin: 16px 0;
}

.cb-status-step {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    position: relative;
}

.cb-status-step::before {
    content: '';
    position: absolute;
    left: 11px;
    top: 36px;
    bottom: 0;
    width: 2px;
    background: var(--cb-gray-200);
}

.cb-status-step:last-child::before { display: none; }

.cb-status-dot {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--cb-gray-200);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: var(--cb-white);
}

.cb-status-dot.active   { background: var(--cb-navy-900); }
.cb-status-dot.complete { background: var(--cb-green-600); }
.cb-status-dot.resolved { background: var(--cb-green-600); }

.cb-status-info {
    flex: 1;
}

.cb-status-label {
    font-weight: 700;
    font-size: 14px;
    color: var(--cb-navy-900);
}

.cb-status-date {
    font-size: 12px;
    color: var(--cb-gray-500);
}

.cb-status-note {
    font-size: 13px;
    color: var(--cb-gray-700);
    margin-top: 2px;
}

/* ============================================================
   ALERT CARDS (page-consumer-alerts.html match)
   ============================================================ */
.cb-alert-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cb-alert-card {
    background: var(--cb-white);
    border: 1px solid var(--cb-gray-200);
    padding: 20px 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.cb-alert-card.cb-alert-urgent { border-left: 4px solid var(--cb-red-500); }
.cb-alert-card.cb-alert-info   { border-left: 4px solid #3B82F6; }

.cb-alert-badge {
    display: inline-block;
    padding: 2px 10px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.05em;
    border-radius: 3px;
    flex-shrink: 0;
}

.cb-badge-warning  { background: #FEF3C7; color: #92400E; border: 1px solid var(--cb-amber-500); }
.cb-badge-recall   { background: #FEE2E2; color: #991B1B; border: 1px solid var(--cb-red-500); }
.cb-badge-advisory { background: #DBEAFE; color: #1E40AF; border: 1px solid #3B82F6; }

.cb-alert-content { flex: 1; min-width: 200px; }

.cb-alert-title {
    font-weight: 600;
    font-size: 16px;
    color: var(--cb-gray-900);
}

.cb-alert-date {
    font-size: 13px;
    color: var(--cb-gray-500);
    margin-top: 4px;
}

.cb-alert-excerpt {
    font-size: 14px;
    color: var(--cb-gray-700);
    margin-top: 6px;
    line-height: 1.5;
}

.cb-severity-critical {
    display: inline-block;
    background: var(--cb-red-700);
    color: var(--cb-white);
    font-size: 10px;
    font-weight: 700;
    padding: 1px 6px;
    margin-left: 8px;
    letter-spacing: 0.05em;
}

/* Alert Stats Grid */
.cb-alert-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 36px;
}

.cb-alert-stat {
    border: 1px solid var(--cb-gray-200);
    padding: 20px;
    text-align: center;
}

.cb-alert-stat-icon  { font-size: 28px; }
.cb-alert-stat-value {
    font-family: var(--cb-font-heading);
    font-size: 28px;
    font-weight: 900;
    color: var(--cb-navy-900);
    margin-top: 4px;
}
.cb-alert-stat-label {
    font-size: 13px;
    color: var(--cb-gray-700);
    font-weight: 600;
}

.cb-stat-red   { background: #FEE2E2; }
.cb-stat-amber { background: #FEF3C7; }
.cb-stat-blue  { background: #DBEAFE; }
.cb-stat-green { background: #F0FDF4; }

/* ============================================================
   USER DASHBOARD
   ============================================================ */
.cb-dashboard {
    font-family: var(--cb-font-body);
}

.cb-dash-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--cb-gray-200);
}

.cb-dash-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--cb-navy-900);
    color: var(--cb-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 900;
    font-family: var(--cb-font-heading);
    flex-shrink: 0;
}

.cb-dash-name {
    font-family: var(--cb-font-heading);
    font-size: 22px;
    font-weight: 900;
    color: var(--cb-navy-900);
    margin: 0;
}

.cb-dash-meta {
    font-size: 13px;
    color: var(--cb-gray-500);
    margin-top: 2px;
}

/* Dashboard Tabs */
.cb-dash-tabs {
    display: flex;
    gap: 0;
    border-bottom: 2px solid var(--cb-gray-200);
    margin-bottom: 24px;
    overflow-x: auto;
}

.cb-dash-tab {
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
    color: var(--cb-gray-500);
    text-decoration: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    white-space: nowrap;
    transition: color 0.15s, border-color 0.15s;
}

.cb-dash-tab:hover {
    color: var(--cb-navy-900);
}

.cb-dash-tab.cb-tab-active {
    color: var(--cb-navy-900);
    border-bottom-color: var(--cb-red-700);
}

.cb-tab-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--cb-red-700);
    color: var(--cb-white);
    font-size: 10px;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    border-radius: 9px;
    padding: 0 5px;
    margin-left: 6px;
}

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

.cb-dash-stat-card {
    background: var(--cb-gray-50);
    border: 1px solid var(--cb-gray-200);
    padding: 20px;
    text-align: center;
}

.cb-dash-stat-value {
    font-family: var(--cb-font-heading);
    font-size: 32px;
    font-weight: 900;
    color: var(--cb-navy-900);
}

.cb-dash-stat-label {
    font-size: 13px;
    color: var(--cb-gray-500);
    font-weight: 600;
    margin-top: 4px;
}

.cb-dash-actions {
    display: flex;
    gap: 12px;
    margin-bottom: 8px;
}

/* Dashboard Activity Items */
.cb-dash-item {
    padding: 12px 0;
    border-bottom: 1px solid #F3F4F6;
    font-size: 14px;
    color: var(--cb-gray-700);
}

.cb-dash-item:last-child { border-bottom: none; }

.cb-dash-item-meta {
    display: block;
    font-size: 12px;
    color: var(--cb-gray-500);
    margin-top: 2px;
}

/* ============================================================
   COMPLAINT CARDS (user dashboard)
   ============================================================ */
.cb-complaint-card {
    background: var(--cb-white);
    border: 1px solid var(--cb-gray-200);
    padding: 20px;
    margin-bottom: 12px;
}

.cb-complaint-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.cb-complaint-number {
    font-size: 13px;
    font-weight: 700;
    color: var(--cb-navy-900);
    background: var(--cb-gray-50);
    padding: 2px 8px;
}

.cb-complaint-status {
    display: inline-block;
    padding: 2px 10px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.05em;
    border-radius: 3px;
}

.cb-cstatus-submitted          { background: #DBEAFE; color: #1E40AF; }
.cb-cstatus-under-review       { background: #FEF3C7; color: #92400E; }
.cb-cstatus-business-contacted { background: #E0E7FF; color: #3730A3; }
.cb-cstatus-response-received  { background: #F0F9FF; color: #0C4A6E; }
.cb-cstatus-resolved           { background: #F0FDF4; color: #065F46; }
.cb-cstatus-unresolved         { background: #FEE2E2; color: #991B1B; }
.cb-cstatus-closed             { background: #F3F4F6; color: #6B7280; }

.cb-complaint-biz {
    font-weight: 700;
    font-size: 16px;
    color: var(--cb-navy-900);
    margin-bottom: 4px;
}

.cb-complaint-desc {
    font-size: 14px;
    color: var(--cb-gray-700);
    margin-bottom: 8px;
    line-height: 1.5;
}

.cb-complaint-meta {
    font-size: 12px;
    color: var(--cb-gray-500);
}

/* ============================================================
   NOTIFICATIONS
   ============================================================ */
.cb-notification {
    padding: 14px 16px;
    border-bottom: 1px solid #F3F4F6;
    transition: background 0.15s;
}

.cb-notification:last-child { border-bottom: none; }

.cb-notification.cb-notif-unread {
    background: #F0F5FA;
    border-left: 3px solid var(--cb-navy-900);
}

.cb-notif-title {
    font-weight: 700;
    font-size: 14px;
    color: var(--cb-navy-900);
    margin-bottom: 2px;
}

.cb-notif-message {
    font-size: 13px;
    color: var(--cb-gray-700);
    line-height: 1.5;
}

.cb-notif-meta {
    font-size: 11px;
    color: var(--cb-gray-500);
    margin-top: 4px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
    .cb-filters { flex-direction: column; }
    .cb-filter-select { min-width: 100%; }
    .cb-form-row { flex-direction: column; }
    .cb-sub-ratings { flex-direction: column; gap: 12px; }
    .cb-biz-header { flex-direction: column; }
    .cb-biz-rating-summary { text-align: left; }
    .cb-biz-actions { flex-direction: column; }
    .cb-biz-actions .cb-btn-primary,
    .cb-biz-actions .cb-btn-outline { width: 100%; justify-content: center; }
    .cb-steps-bar { gap: 4px; }
    .cb-step::after { display: none; }
    .cb-step-label { font-size: 10px; }
    .cb-btn-row { flex-direction: column; }
    .cb-alert-stats { grid-template-columns: repeat(2, 1fr); }
    .cb-alert-card { flex-direction: column; align-items: flex-start; }
    .cb-dash-stats { grid-template-columns: 1fr; }
    .cb-dash-tabs { gap: 0; }
    .cb-dash-tab { padding: 8px 12px; font-size: 13px; }
    .cb-dash-actions { flex-direction: column; }
}

@media (max-width: 480px) {
    .cb-alert-stats { grid-template-columns: 1fr; }
}
