/* ==========================================================================
   Custom Account Tabs - Clean Version
   ========================================================================== */

/* Custom variables */
:root {
  --bg: #f4f7fb;
  --card: #ffffff;
  --muted: #6b7280;
  --brand-blue: #0b67d0;
  --brand-blue-600: #0859b3;
  --brand-yellow: #ffd24d;
  --brand-blue-svea: #d0f0ff;
  --brand-dark-blue: #345b70;
  --border: rgba(15, 23, 42, 0.08);
  --radius: 30px;
  --gap: 20px;
  color-scheme: light;
}

/* ==========================================================================
   Base Account Page Layout
   ========================================================================== */

.woocommerce-account {
  padding: 0 !important;
  min-height: 100vh !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.woocommerce-account .woocommerce {
  max-width: 1400px !important;
  margin: 0 auto !important;
  padding: 32px !important;
  display: grid !important;
  grid-template-columns: 250px 1fr !important;
  gap: 24px !important;
  align-items: start !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.woocommerce-account .woocommerce-notices-wrapper:empty {
  display: none !important;
}

/* ==========================================================================
   Sidebar Navigation
   ========================================================================== */

.woocommerce-account .woocommerce-MyAccount-navigation {
  width: 250px !important;
  background: var(--brand-blue-svea) !important;
  border: var(--border) !important;
  border-radius: var(--radius) !important;
  overflow: hidden !important;
  padding-top: 1.5em !important;
  padding-bottom: 1.5em !important;
  margin: 0 !important;
  height: fit-content !important;
  grid-column: 1 !important;
  grid-row: 1 !important;
  box-sizing: border-box !important;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.woocommerce-account .woocommerce-MyAccount-navigation li {
  border-bottom: 1px solid rgba(15, 23, 42, 0.04) !important;
  margin: 0 !important;
}

.woocommerce-account .woocommerce-MyAccount-navigation li:last-child {
  border-bottom: 0 !important;
}

.woocommerce-account .woocommerce-MyAccount-navigation a {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  padding: 1em !important;
  text-decoration: none !important;
  color: black !important;
  font-weight: 600 !important;
  transition: background 0.18s ease, color 0.18s ease, transform 0.06s ease !important;
  background: transparent !important;
}

.woocommerce-account .woocommerce-MyAccount-navigation a:hover {
  background: linear-gradient(
    90deg,
    rgba(11, 103, 208, 0.06),
    rgba(255, 210, 77, 0.04)
  ) !important;
  color: black !important;
  transform: translateX(2px) !important;
}

.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a {
  background: var(--brand-dark-blue) !important;
  color: white !important;
  border-radius: 10px;
  margin-right: 1em;
  margin-left: 1em;
  font-weight: 700 !important;
}

.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a::before {
  content: "" !important;
  width: 6px !important;
  height: 40% !important;
  background: var(--brand-blue-600) !important;
  border-radius: 4px !important;
  margin-right: 8px !important;
  flex-shrink: 0 !important;
}

/* ==========================================================================
   Main Content Area
   ========================================================================== */

.woocommerce-account .woocommerce-MyAccount-content {
  display: block !important;
  background: var(--brand-blue-svea) !important;
  border: var(--border) !important;
  padding: 2em !important;
  margin: 0 !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  overflow-x: hidden !important;
  grid-column: 2 !important;
  grid-row: 1 !important;
 
  border-radius: var(--radius) !important;
  float: none !important;
}

.woocommerce-account .woocommerce-MyAccount-dashboard {
  border: 1px solid var(--border) !important;
  padding: 32px !important;
  box-shadow: 0 8px 28px rgba(2, 6, 23, 0.04) !important;
  box-sizing: border-box !important;
}

/* ==========================================================================
   Typography
   ========================================================================== */

.woocommerce-account .woocommerce-MyAccount-dashboard h2 {
  margin: 0 0 20px !important;
  color: var(--brand-blue) !important;
  font-size: 1.5rem !important;
  font-weight: 700 !important;
}

.woocommerce-account .woocommerce-MyAccount-dashboard h3 {
  margin: 0 0 16px !important;
  color: var(--brand-blue) !important;
  font-size: 1.25rem !important;
  font-weight: 600 !important;
}

.woocommerce-account .woocommerce-MyAccount-dashboard p {
  line-height: 1.6 !important;
  color: #334155 !important;
}

.woocommerce-account .woocommerce-MyAccount-dashboard a {
  font-weight: 600 !important;
}

.woocommerce-account .woocommerce-MyAccount-dashboard a:hover {
  color: var(--brand-blue-600) !important;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.woocommerce-account .woocommerce-Button,
.woocommerce-account .button {
  background: var(--brand-blue) !important;
  color: white !important;
  border: none !important;
  border-radius: 6px !important;
  padding: 12px 24px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  transition: background 0.2s ease !important;
}

.woocommerce-account .woocommerce-Button:hover,
.woocommerce-account .button:hover {
  background: var(--brand-blue-600) !important;
}

/* ==========================================================================
   Forms and Inputs
   ========================================================================== */

.woocommerce-account .woocommerce-MyAccount-dashboard .woocommerce-form-row {
  margin-bottom: 16px !important;
}

.woocommerce-account .woocommerce-MyAccount-dashboard input[type="text"],
.woocommerce-account .woocommerce-MyAccount-dashboard input[type="email"],
.woocommerce-account .woocommerce-MyAccount-dashboard input[type="password"],
.woocommerce-account .woocommerce-MyAccount-dashboard select,
.woocommerce-account .woocommerce-MyAccount-dashboard textarea {
  border: 1px solid var(--border) !important;
  border-radius: 6px !important;
  padding: 10px 14px !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

/* ==========================================================================
   Dashboard Grid Layout - TWO COLUMNS
   ========================================================================== */

.custom-dashboard {
  width: 100%;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}

.dashboard-grid-item {
  width: 100%;
}

/* ==========================================================================
   Upcoming Booking Card - DARK BLUE
   ========================================================================== */

.upcoming-booking-card {
  background: var(--brand-dark-blue);
  border-radius: 12px;
  padding: 24px;
  color: white;
  box-shadow: 0 4px 12px rgba(52, 91, 112, 0.3);
  height: 100%;
  box-sizing: border-box;
}

.upcoming-booking-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.upcoming-booking-header h3 {
  margin: 0 !important;
  font-size: 1.25rem !important;
  font-weight: 600 !important;
  color: white !important;
}

.upcoming-booking-details {
  display: grid;
  gap: 12px;
  margin-bottom: 20px;
}

.booking-detail-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.booking-detail-item:last-child {
  border-bottom: none;
}

.detail-label {
  font-size: 14px;
  opacity: 0.9;
}

.detail-value {
  font-size: 14px;
  font-weight: 600;
}

.upcoming-booking-actions {
  text-align: right;
  margin-top: 16px;
}

.view-all-bookings {
  color: white !important;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  opacity: 0.9;
  transition: opacity 0.2s ease;
}

.view-all-bookings:hover {
  opacity: 1;
  text-decoration: underline;
  color: var(--brand-yellow) !important;
}

/* No upcoming booking */
.no-upcoming-booking {
  background: var(--brand-dark-blue);
  border-radius: 12px;
  padding: 40px 24px;
  text-align: center;
  color: white;
  height: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.no-upcoming-booking p {
  margin: 0 !important;
  color: white !important;
  font-size: 16px;
}

.book-now-btn {
  display: inline-block;
  background: white;
  color: var(--brand-dark-blue) !important;
  padding: 12px 24px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.2s ease;
  margin-top: 8px;
}

.book-now-btn:hover {
  background: var(--brand-yellow);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 210, 77, 0.3);
}

/* ==========================================================================
   Quick Navigation Section
   ========================================================================== */

.dashboard-nav-section {
  background: var(--brand-dark-blue);
  border-radius: 12px;
  padding: 24px;
  color: white;
  box-shadow: 0 4px 12px rgba(52, 91, 112, 0.3);
  height: 100%;
  box-sizing: border-box;
}

.dashboard-nav-section h3 {
  margin: 0 0 20px 0 !important;
  font-size: 1.25rem !important;
  color: white !important;
  font-weight: 600 !important;
}

.dashboard-nav-tiles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.dashboard-nav-intro {
  margin: 0 0 18px 0 !important;
  font-size: 13px;
  color: white !important;
  opacity: 0.75;
  line-height: 1.5;
}

.dashboard-nav-tile {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  padding: 14px 16px;
  text-decoration: none !important;
  color: white !important;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.dashboard-nav-tile:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.3);
  color: white !important;
  text-decoration: none !important;
}

.nav-tile-label {
  font-size: 14px;
  font-weight: 500;
}

.nav-tile-arrow {
  font-size: 14px;
  opacity: 0.5;
  flex-shrink: 0;
}

/* ==========================================================================
   Order Detail Page (view-order)
   ========================================================================== */

/* Hide addresses, default heading, and WC order-again button */
.woocommerce-customer-details {
  display: none !important;
}

.woocommerce-order-details__title {
  display: none !important;
}

.woocommerce-order-again {
  display: none !important;
}

/* Booking details box inside order line items */
.woocommerce-table--order-details .wc-booking-order-item-meta,
.woocommerce-table--order-details .booking-order-item {
  margin-top: 10px;
  background: #f8f9fb;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 13px;
  color: #444;
}

.woocommerce-table--order-details .wc-booking-order-item-meta p,
.woocommerce-table--order-details .booking-order-item p {
  margin: 0 0 4px 0 !important;
}

.woocommerce-table--order-details .wc-booking-order-item-meta p:last-child,
.woocommerce-table--order-details .booking-order-item p:last-child {
  margin-bottom: 0 !important;
}

/* Generic item meta (booking date, time, type shown as dl/table rows) */
.woocommerce-table--order-details .wc-item-meta {
  margin-top: 8px;
  padding: 10px 14px;
  background: #f8f9fb;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 13px;
  list-style: none;
}

.woocommerce-table--order-details .wc-item-meta li {
  display: flex;
  gap: 6px;
  margin: 0 0 4px 0;
  padding: 0;
}

.woocommerce-table--order-details .wc-item-meta li:last-child {
  margin-bottom: 0;
}

.woocommerce-table--order-details .wc-item-meta .wc-item-meta-label {
  font-weight: 600;
  color: #555;
  white-space: nowrap;
}

/* Back link */
.order-back-link {
  display: inline-block;
  font-size: 13px;
  font-weight: 500;
  color: var(--brand-dark-blue) !important;
  text-decoration: none;
  margin-bottom: 18px;
  opacity: 0.75;
  transition: opacity 0.15s ease;
}

.order-back-link:hover {
  opacity: 1;
  text-decoration: none !important;
}

/* Header card */
.custom-order-detail-header {
  margin-bottom: 24px;
}

.custom-order-detail-meta {
  background: var(--brand-dark-blue);
  border-radius: 12px;
  padding: 24px;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  box-shadow: 0 4px 12px rgba(52, 91, 112, 0.25);
}

.custom-order-detail-number {
  margin: 0 0 8px 0 !important;
  font-size: 1.25rem !important;
  font-weight: 700 !important;
  color: white !important;
}

.custom-order-detail-info-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.custom-order-detail-date,
.custom-order-detail-payment {
  font-size: 13px;
  opacity: 0.75;
}

.custom-order-detail-right {
  flex-shrink: 0;
  align-self: flex-start;
}

/* Strip the WC section wrapper — our own HTML handles styling */
.woocommerce-order-details {
  background: none !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  overflow: visible !important;
}

/* Hide WC's own table — we render our own */
.woocommerce-table--order-details {
  display: none !important;
}

/* ── Custom order items card ───────────────────────────── */
.svea-order-items {
  background: var(--brand-dark-blue);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(52, 91, 112, 0.25);
  margin-top: 12px;
}

/* Product row */
.svea-order-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  padding: 18px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.svea-order-row-info {
  flex: 1;
  min-width: 0;
}

.svea-order-row-name {
  font-size: 14px;
  font-weight: 600;
  color: white;
  line-height: 1.4;
}

.svea-order-row-name a {
  color: white !important;
  text-decoration: none !important;
}

.svea-order-row-name a:hover {
  color: var(--brand-yellow) !important;
}

.svea-order-qty {
  font-weight: 400;
  color: rgba(255, 255, 255, 0.55);
  margin-left: 6px;
}

.svea-order-row-price {
  font-size: 14px;
  font-weight: 600;
  color: white;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Item meta list (booking date, time, type…) */
.svea-item-meta {
  list-style: none !important;
  margin: 10px 0 0 0 !important;
  padding: 10px 14px !important;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.75);
}

.svea-item-meta li {
  margin: 0 0 4px 0 !important;
  padding: 0 !important;
}

.svea-item-meta li:last-child {
  margin-bottom: 0 !important;
}

.svea-item-meta strong {
  color: rgba(255, 255, 255, 0.9);
}


/* ── Totals section ────────────────────────────────────── */
.svea-order-totals {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.svea-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.svea-total-row:last-child {
  border-bottom: none;
}

.svea-total-label {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.65);
}

.svea-total-value {
  font-size: 13px;
  font-weight: 600;
  color: white;
}

/* Grand total row */
.svea-total-row--grand {
  background: rgba(0, 0, 0, 0.12);
}

.svea-total-row--grand .svea-total-label {
  font-size: 15px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
}

.svea-total-row--grand .svea-total-value {
  font-size: 15px;
  font-weight: 700;
  color: white;
}

/* ── Responsive ────────────────────────────────────────── */
@media (max-width: 600px) {
  .custom-order-detail-meta {
    flex-direction: column;
    gap: 16px;
  }

  .custom-order-detail-right {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
  }

  .svea-order-row {
    flex-direction: column;
    gap: 6px;
  }

  .svea-order-row-price {
    font-size: 13px;
    color: var(--muted);
    font-weight: 500;
  }
}

/* ==========================================================================
   Vaccination Cards
   ========================================================================== */

.vaccination-cards {
  display: grid;
  gap: 16px;
  margin-top: 20px;
  width: 100%;
  box-sizing: border-box;
}

.vaccination-card {
  background: var(--brand-dark-blue);
  border-radius: 12px;
  padding: 20px;
  color: white;
  box-shadow: 0 4px 12px rgba(52, 91, 112, 0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  width: 100%;
  box-sizing: border-box;
}

.vaccination-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(52, 91, 112, 0.4);
}

.vaccination-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
}

.vaccination-title {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: white !important;
  flex: 1;
  line-height: 1.3;
  padding-right: 12px;
}

.vaccination-dose {
  background: rgba(255, 255, 255, 0.2);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  backdrop-filter: blur(10px);
}

.vaccination-card-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.vaccination-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.vaccination-label {
  font-size: 14px;
  opacity: 0.9;
  font-weight: 500;
}

.vaccination-value {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
}

.vaccination-summary {
  margin-top: 20px;
  padding: 15px;
  background: var(--brand-dark-blue);
  color: white;
  border-radius: 6px;
}

.vaccination-summary p {
  margin: 0 !important;
  font-size: 14px;
  color: white !important;
}

/* ==========================================================================
   Bookings and Orders Cards
   ========================================================================== */

.booking-cards,
.order-cards {
  display: grid;
  gap: 16px;
  margin-top: 20px;
  width: 100%;
  box-sizing: border-box;
}

.booking-card,
.order-card {
  background: var(--brand-dark-blue);
  border-radius: 12px;
  padding: 20px;
  color: white;
  box-shadow: 0 4px 12px rgba(52, 91, 112, 0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  width: 100%;
  box-sizing: border-box;
}

.booking-card:hover,
.order-card:hover {
  box-shadow: 0 6px 20px rgba(52, 91, 112, 0.4);
}

.booking-card-header,
.order-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
}

.booking-title,
.order-title {
  margin: 0;
  font-size: 1.6em !important;
  font-weight: 700;
  color: white !important;
  flex: 1;
  line-height: 1.3;
  padding-right: 12px;
}

.booking-title a,
.order-title a {
  color: white !important;
  text-decoration: none;
}

.order-title a:hover,
.order-title:hover a {
  color: var(--brand-yellow) !important;
}

.booking-status,
.order-status {
  background: rgba(255, 255, 255, 0.2);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  backdrop-filter: blur(10px);
}

.booking-status.paid,
.booking-status.confirmed,
.order-status.completed {
  background: rgba(76, 175, 80, 0.8);
}

.booking-status.pending,
.order-status.processing {
  background: rgba(255, 193, 7, 0.8);
  color: #333 !important;
}

.booking-status.cancelled,
.order-status.cancelled {
  background: rgba(244, 67, 54, 0.8);
}

.booking-card-body,
.order-card-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.booking-info,
.order-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.booking-label,
.order-label {
  font-size: 14px;
  opacity: 0.9;
  font-weight: 500;
}

.booking-value,
.order-value {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
}

.booking-value a,
.order-value a {
  color: rgba(255, 255, 255, 0.95) !important;
  text-decoration: underline;
}

.booking-card-footer {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: flex-end;
}

.booking-cancel-btn {
  background: transparent;
  border: 1px solid rgba(244, 67, 54, 0.6);
  color: rgba(244, 67, 54, 0.9) !important;
  padding: 6px 16px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none !important;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.booking-cancel-btn:hover {
  background: rgba(244, 67, 54, 0.15);
  border-color: rgba(244, 67, 54, 0.9);
  color: rgba(244, 67, 54, 1) !important;
}

.shop_table.my_account_bookings {
  display: none !important;
}

.orders-cards-view .shop_table.my_account_orders {
  display: none !important;
}

/* ==========================================================================
   Gift Card Table
   ========================================================================== */

.gift-card-list {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
  background: white;
}

.gift-card-list th,
.gift-card-list td {
  padding: 15px;
  text-align: left;
  border-bottom: 1px solid #e0e0e0;
}

.gift-card-list th {
  background: #f8f9fa;
  font-weight: 600;
  color: #333;
}

.gift-card-list tbody tr:hover {
  background: #f8f9fa;
}

/* ==========================================================================
   Points/Rewards
   ========================================================================== */

.points-balance-card {
  background: linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-blue-600) 100%);
  color: white;
  padding: 30px;
  border-radius: var(--radius);
  margin-bottom: 30px;
  box-shadow: 0 4px 15px rgba(11, 103, 208, 0.3);
}

.balance-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.balance-label {
  font-size: 14px;
  opacity: 0.9;
  margin-bottom: 8px;
}

.balance-amount {
  font-size: 2.5rem;
  font-weight: 700;
}

.points-history-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
  background: white;
}

.points-history-table th,
.points-history-table td {
  padding: 12px 15px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.points-history-table th {
  background: #f8f9fa;
  font-weight: 600;
  font-size: 14px;
}

.points-amount {
  font-weight: 600;
}

.points-positive {
  color: #22c55e;
}

.points-negative {
  color: #ef4444;
}

/* ==========================================================================
   Responsive Design - Tablet
   ========================================================================== */

@media (min-width: 768px) {
  .vaccination-cards,
  .booking-cards,
  .order-cards {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }
}

@media (max-width: 768px) {
  .dashboard-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .dashboard-grid-item {
    min-height: auto;
  }

  .dashboard-nav-tiles {
    grid-template-columns: 1fr;
  }

  .vaccination-cards,
  .booking-cards,
  .order-cards {
    grid-template-columns: 1fr;
  }

  .gift-card-list thead {
    display: none;
  }

  .gift-card-list tbody tr {
    display: block;
    margin-bottom: 20px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
  }

  .gift-card-list td {
    display: block;
    text-align: right;
    padding: 10px 15px;
    border-bottom: 1px solid #f0f0f0;
  }

  .gift-card-list td:last-child {
    border-bottom: none;
  }

  .gift-card-list td::before {
    content: attr(data-label);
    float: left;
    font-weight: 600;
    color: #666;
  }

  .points-balance-card {
    padding: 20px;
  }

  .balance-amount {
    font-size: 2rem;
  }

  .points-history-table thead {
    display: none;
  }

  .points-history-table tr {
    display: block;
    margin-bottom: 15px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  }

  .points-history-table td {
    display: block;
    padding: 10px 15px;
    border: none;
  }

  .points-history-table td::before {
    content: attr(data-label) ": ";
    font-weight: 600;
    margin-right: 8px;
  }
}

/* ==========================================================================
   Responsive Design - Mobile
   ========================================================================== */

@media (max-width: 960px) {
  .woocommerce-account .woocommerce {
    grid-template-columns: 1fr !important;
    gap: 1em !important;
    padding: 16px !important;
  }

  .woocommerce-account .woocommerce-MyAccount-navigation {
    width: 100% !important;
    grid-column: 1 !important;
    grid-row: 1 !important;
  }

  .woocommerce-account .woocommerce-MyAccount-content {
    width: 100% !important;
    grid-column: 1 !important;
    grid-row: 2 !important;
  }
}

@media (max-width: 600px) {
  .woocommerce-account .woocommerce {
    padding: 12px !important;
  }
}

@media (max-width: 480px) {
  .woocommerce-account .woocommerce {
    padding: 8px !important;
  }

  .woocommerce-MyAccount-content h2 {
    font-size: 2em !important;
  }

  .dashboard-grid {
    gap: 16px;
  }

  .upcoming-booking-card,
  .no-upcoming-booking,
  .dashboard-info-section {
    padding: 18px;
    border-radius: 12px;
  }

  .upcoming-booking-header h3 {
    font-size: 1.1rem !important;
  }

  .booking-detail-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .detail-label {
    font-size: 12px;
  }

  .detail-value {
    font-size: 13px;
  }

  .feature-text {
    font-size: 13px;
  }

  .vaccination-cards,
  .booking-cards,
  .order-cards {
    gap: 14px;
  }

  .vaccination-card,
  .booking-card,
  .order-card {
    padding: 14px;
    border-radius: 8px;
  }

  .woocommerce-error,
  .woocommerce-info,
  .woocommerce-message {
    display: flex;
    flex-direction: column-reverse;
    gap: 1em;
  }

  .vaccination-card-header,
  .booking-card-header,
  .order-card-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 12px;
  }

  .vaccination-title,
  .booking-title,
  .order-title {
    padding-right: 0;
    font-size: 15px !important;
  }

  .vaccination-dose,
  .booking-status,
  .order-status {
    align-self: flex-start;
    font-size: 11px;
    padding: 3px 10px;
  }

  .vaccination-label,
  .vaccination-value,
  .booking-label,
  .booking-value,
  .order-label,
  .order-value {
    font-size: 13px;
  }
}

@media (max-width: 400px) {
  .dashboard-grid {
    gap: 12px;
  }

  .upcoming-booking-card,
  .no-upcoming-booking,
  .dashboard-info-section {
    padding: 14px;
    border-radius: 8px;
  }

  .vaccination-cards,
  .booking-cards,
  .order-cards {
    gap: 12px;
  }

  .vaccination-card,
  .booking-card,
  .order-card {
    padding: 12px;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(52, 91, 112, 0.25);
  }

  .vaccination-card-header,
  .booking-card-header,
  .order-card-header {
    margin-bottom: 10px;
    gap: 6px;
  }

  .vaccination-dose,
  .booking-status,
  .order-status {
    font-size: 10px;
    padding: 2px 8px;
    border-radius: 12px;
  }

  .vaccination-card-body,
  .booking-card-body,
  .order-card-body {
    gap: 6px;
  }

  .vaccination-info,
  .booking-info,
  .order-info {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
  }

  .vaccination-label,
  .booking-label,
  .order-label {
    font-size: 11px;
    opacity: 0.8;
  }

  .vaccination-value,
  .booking-value,
  .order-value {
    font-size: 12px;
    font-weight: 500;
  }

  .dashboard-features li {
    padding: 10px 0;
  }

  .feature-icon {
    font-size: 16px;
  }

  .feature-text {
    font-size: 12px;
  }
}
/* ==========================================================================
   Points/Rewards Styles
   ========================================================================== */

.mycred-points-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  width: 100%;
}

/* Two-column layout for tablets */
@media (min-width: 768px) {
  .mycred-points-section {
    grid-template-columns: repeat(2, 1fr);
  }

  .points-main-card {
    grid-column: 1 / -1;
  }

  .points-info-accordion {
    grid-column: 1 / -1;
  }
}

/* Two-column layout for desktop */
@media (min-width: 1200px) {
  .mycred-points-section {
    grid-template-columns: 2fr 1fr;
  }

  .points-main-card {
    grid-column: 1 / -1;
  }

  .points-info-accordion {
    grid-column: 1 / -1;
  }

  .points-history-card {
    grid-column: 1 / 2;
  }

  .all-ranks-card {
    grid-column: 2 / 3;
  }
}

/* Main Points Card (Two Columns) */
.points-main-card {
  background: var(--brand-dark-blue);
  color: white;
  padding: 24px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(52, 91, 112, 0.3);
  transition: box-shadow 0.3s ease;
  margin-bottom: 20px;
}

.points-main-card:hover {
  box-shadow: 0 6px 20px rgba(52, 91, 112, 0.4);
}

/* Two Column Layout */
.points-columns-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .points-columns-wrapper {
    grid-template-columns: 1fr 1fr;
  }
}

.points-left-column,
.points-right-column {
  display: flex;
  flex-direction: column;
}

.points-right-column {
  border-left: none;
  padding-left: 0;
}

@media (min-width: 768px) {
  .points-right-column {
    border-left: 1px solid rgba(255, 255, 255, 0.2);
    padding-left: 24px;
  }
}

/* Progress Section (in right column) */
.progress-section {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.progress-section-title {
  margin: 0 0 16px 0 !important;
  font-size: 1.2rem !important;
  font-weight: 700 !important;
  color: white !important;
}

/* Points Info Accordion */
.points-info-accordion {
  background: var(--brand-dark-blue);
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(52, 91, 112, 0.3);
  margin-bottom: 20px;
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}

.points-info-accordion:hover {
  box-shadow: 0 6px 20px rgba(52, 91, 112, 0.4);
}

.info-accordion-details {
  color: white;
}

.info-accordion-summary {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 24px;
  list-style: none;
  user-select: none;
  background: var(--brand-dark-blue);
  transition: background 0.2s ease;
  font-size: 1.25rem;
  font-weight: 700;
  color: white;
}

.info-accordion-summary::-webkit-details-marker {
  display: none;
}

.info-accordion-summary::before {
  content: '▶';
  display: inline-block;
  transition: transform 0.3s ease;
  font-size: 0.9rem;
  color: var(--brand-yellow);
  flex-shrink: 0;
}

.info-accordion-details[open] .info-accordion-summary::before {
  transform: rotate(90deg);
}

.info-accordion-summary:hover {
  background: rgba(255, 255, 255, 0.05);
}

.info-accordion-title {
  flex: 1;
}

.info-accordion-content {
  padding: 0 24px 24px 24px;
}

.info-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.info-icon {
  display: none;
}

.info-card-title {
  margin: 0 !important;
  font-size: 1.25rem !important;
  font-weight: 700 !important;
  color: white !important;
}

.info-card-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 12px;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  transition: background 0.2s ease;
}

.info-item:hover {
  background: rgba(255, 255, 255, 0.08);
}

.info-bullet {
  font-size: 16px;
  color: var(--brand-yellow);
  flex-shrink: 0;
  line-height: 1.5;
  font-weight: 700;
}

.info-item p {
  margin: 0 !important;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.9) !important;
}

.points-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.points-icon {
  display: none;
}

.points-header-content {
  flex: 1;
}

.points-card-title {
  margin: 0 0 8px 0 !important;
  font-size: 1.4rem !important;
  font-weight: 700 !important;
  color: white !important;
}

.points-balance-display {
  font-size: 2.5rem;
  font-weight: 700;
  margin: 8px 0 0 0;
}

.current-rank-display {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.rank-badge {
  display: flex;
  align-items: center;
  gap: 16px;
}

.rank-icon {
  display: none;
}

.rank-info {
  flex: 1;
}

.rank-label {
  display: block;
  font-size: 14px;
  opacity: 0.9;
  margin-bottom: 4px;
}

.rank-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--brand-yellow);
}

.progress-info {
  margin-bottom: 16px;
}

.progress-text {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
  font-size: 16px;
  font-weight: 600;
}

.progress-current {
  color: var(--brand-yellow);
}

.progress-arrow {
  color: rgba(255, 255, 255, 0.7);
}

.progress-next {
  color: var(--brand-yellow);
}

.progress-stats {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
}

.progress-points {
  font-weight: 600;
}

/* Progress Bar */
.progress-bar-container {
  position: relative;
  width: 100%;
  height: 40px;
  background: #e5e7eb;
  border-radius: 25px;
  overflow: visible;
  margin-bottom: 16px;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.progress-bar {
  position: relative;
  height: 100%;
  background: var(--brand-blue-svea);
  border-radius: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  min-width: 60px;
  box-shadow: 0 3px 12px rgba(11, 103, 208, 0.4);
}

.progress-bar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0) 100%);
  border-radius: 25px;
}

.progress-percentage {
  position: relative;
  z-index: 1;
  color: black;
  font-size: 14px;
  font-weight: 700;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  letter-spacing: 0.5px;
}

.progress-remaining {
  font-size: 14px;
  color: white;
  text-align: center;
  padding: 10px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  backdrop-filter: blur(10px);
}

.progress-remaining strong {
  color: var(--brand-yellow);
  font-weight: 700;
}

/* Badges Cards */
.badges-section-card,
.all-badges-card {
  background: var(--brand-dark-blue);
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(52, 91, 112, 0.3);
  color: white;
  transition: box-shadow 0.3s ease;
}

.badges-section-card:hover,
.all-badges-card:hover {
  box-shadow: 0 6px 20px rgba(52, 91, 112, 0.4);
}

.badges-section-card h3,
.all-badges-card h3 {
  margin: 0 0 16px 0 !important;
  color: white !important;
  font-size: 1.25rem !important;
}

.badges-display,
.all-badges-display {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
  gap: 16px;
  align-items: center;
  justify-items: center;
}

/* Style myCRED badges output */
.badges-display img,
.all-badges-display img {
  max-width: 80px;
  width: 100%;
  height: auto;
  border-radius: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.badges-display img:hover,
.all-badges-display img:hover {
  transform: scale(1.15);
  box-shadow: 0 4px 16px rgba(11, 103, 208, 0.3);
}

/* Points History Card */
.points-history-card {
  background: var(--brand-dark-blue);
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(52, 91, 112, 0.3);
  color: white;
  transition: box-shadow 0.3s ease;
}

.points-history-card:hover {
  box-shadow: 0 6px 20px rgba(52, 91, 112, 0.4);
}

/* Points Activity Section */
.points-activity-section {
  color: white;
}

.activity-title {
  margin: 0 0 16px 0 !important;
  color: white !important;
  font-size: 1.25rem !important;
  font-weight: 700 !important;
}

.activity-item {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 12px;
  transition: background 0.2s ease;
}

.activity-item:hover {
  background: rgba(255, 255, 255, 0.12);
}

.latest-activity {
  background: rgba(255, 210, 77, 0.15);
  border: 1px solid rgba(255, 210, 77, 0.3);
}

.latest-activity:hover {
  background: rgba(255, 210, 77, 0.2);
}

.activity-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.activity-row:last-child {
  border-bottom: none;
}

.activity-label {
  font-size: 14px;
  font-weight: 600;
  opacity: 0.85;
  color: white;
}

.activity-value {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.95);
  text-align: right;
  max-width: 65%;
  word-wrap: break-word;
}

.activity-points {
  font-weight: 700;
  font-size: 16px;
}

.activity-points.positive {
  color: #4ade80;
}

.activity-points.negative {
  color: #f87171;
}

/* All Activities Expandable */
.all-activities-details {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.all-activities-summary {
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  color: white;
  padding: 12px;
  list-style: none;
  user-select: none;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  transition: all 0.2s ease;
}

.all-activities-summary::-webkit-details-marker {
  display: none;
}

.all-activities-summary::before {
  content: '▶';
  display: inline-block;
  transition: transform 0.3s ease;
  font-size: 0.8rem;
  color: var(--brand-yellow);
}

.all-activities-details[open] .all-activities-summary::before {
  transform: rotate(90deg);
}

.all-activities-summary:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--brand-yellow);
}

.all-activities-wrapper {
  margin-top: 12px;
  padding-top: 12px;
}

/* Legacy compatibility */
.points-history-details {
  color: white;
}

.points-history-summary {
  cursor: pointer;
  font-size: 1.25rem;
  font-weight: 700;
  color: white;
  padding: 8px 0;
  list-style: none;
  user-select: none;
  display: flex;
  align-items: center;
  gap: 12px;
}

.points-history-summary::-webkit-details-marker {
  display: none;
}

.points-history-summary::before {
  content: '▶';
  display: inline-block;
  transition: transform 0.3s ease;
  font-size: 0.9rem;
  color: var(--brand-yellow);
}

.points-history-details[open] .points-history-summary::before {
  transform: rotate(90deg);
}

.points-history-summary:hover {
  color: var(--brand-yellow);
}

.points-history-wrapper {
  overflow-x: auto;
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* All Ranks Card */
.all-ranks-card {
  background: var(--brand-dark-blue);
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(52, 91, 112, 0.3);
  color: white;
  transition: box-shadow 0.3s ease;
}

.all-ranks-card:hover {
  box-shadow: 0 6px 20px rgba(52, 91, 112, 0.4);
}

.all-ranks-card h3 {
  margin: 0 0 16px 0 !important;
  color: white !important;
  font-size: 1.25rem !important;
}

.ranks-list-wrapper {
  overflow-x: auto;
}

/* Ranks Grid */
.ranks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
  margin-top: 8px;
}

.rank-item {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 16px;
  transition: all 0.2s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.rank-item:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.rank-item-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--brand-yellow);
  margin-bottom: 8px;
  line-height: 1.3;
}

.rank-item-points {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.4;
}

/* Legacy styles for compatibility */
.points-balance-card {
  background: linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-blue-600) 100%);
  color: white;
  padding: 30px;
  border-radius: var(--radius);
  margin-bottom: 30px;
  box-shadow: 0 4px 15px rgba(11, 103, 208, 0.3);
}

.balance-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.balance-label {
  font-size: 14px;
  opacity: 0.9;
  margin-bottom: 8px;
}

.balance-amount {
  font-size: 2.5rem;
  font-weight: 700;
}

.section-title {
  font-size: 1.25rem;
  margin-bottom: 20px;
  color: var(--brand-dark-blue);
}

.points-history-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
  background: white;
}

.points-history-table th,
.points-history-table td {
  padding: 12px 15px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.points-history-table th {
  background: #f8f9fa;
  font-weight: 600;
  font-size: 14px;
}

.points-amount {
  font-weight: 600;
}

.points-positive {
  color: #22c55e;
}

.points-negative {
  color: #ef4444;
}

@media (max-width: 360px) {
  .woocommerce-account .woocommerce {
    padding: 4px !important;
  }

  .vaccination-cards,
  .booking-cards,
  .order-cards {
    gap: 10px;
  }

  .vaccination-card,
  .booking-card,
  .order-card {
    padding: 10px;
    border-radius: 4px;
  }

  .vaccination-dose,
  .booking-status,
  .order-status {
    font-size: 9px;
    padding: 2px 6px;
  }

  .vaccination-label,
  .booking-label,
  .order-label {
    font-size: 10px;
  }

  .vaccination-value,
  .booking-value,
  .order-value {
    font-size: 11px;
  }
}

/* Responsive Design for Points/Rewards */
@media (max-width: 768px) {
  .points-main-card {
    padding: 20px;
  }

  .points-card-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .points-icon {
    display: none;
  }

  .points-balance-display {
    font-size: 2rem;
  }

  .rank-name {
    font-size: 1.25rem;
  }

  .progress-bar-container {
    height: 28px;
  }

  .badges-display,
  .all-badges-display {
    gap: 12px;
  }

  .badges-display img,
  .all-badges-display img {
    max-width: 60px;
  }

  /* Ranks grid for tablets */
  .ranks-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 10px;
  }

  .rank-item {
    padding: 14px;
  }

  .rank-item-name {
    font-size: 15px;
  }

  .rank-item-points {
    font-size: 13px;
  }

  .points-balance-card {
    padding: 20px;
  }

  .balance-amount {
    font-size: 2rem;
  }
}

@media (max-width: 320px) {
  .woocommerce-account .woocommerce {
    padding: 2px !important;
  }

  .vaccination-cards,
  .booking-cards,
  .order-cards {
    gap: 8px;
  }

  .vaccination-card,
  .booking-card,
  .order-card {
    padding: 8px;
    border-radius: 4px;
  }

  .vaccination-dose,
  .booking-status,
  .order-status {
    font-size: 8px;
    padding: 1px 4px;
  }

  .vaccination-label,
  .booking-label,
  .order-label {
    font-size: 9px;
  }

  .vaccination-value,
  .booking-value,
  .order-value {
    font-size: 10px;
  }
}

@media (max-width: 480px) {
  .points-columns-wrapper {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .points-right-column {
    border-left: none;
    padding-left: 0;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
  }

  .points-card-title {
    font-size: 1.2rem !important;
  }

  .points-balance-display {
    font-size: 1.75rem;
  }

  .rank-badge {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .rank-icon {
    display: none;
  }

  .rank-name {
    font-size: 1.1rem;
  }

  .progress-section-title {
    font-size: 1rem !important;
  }

  .info-icon {
    display: none;
  }

  .info-accordion-summary {
    font-size: 1.1rem;
    padding: 16px 20px;
  }

  .info-accordion-title {
    font-size: 1.1rem;
  }

  .info-accordion-content {
    padding: 0 20px 20px 20px;
  }

  .info-card-content {
    grid-template-columns: 1fr;
  }

  .info-item {
    padding: 10px;
  }

  .info-item p {
    font-size: 13px;
  }

  .info-bullet {
    font-size: 16px;
  }

  .progress-text {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .progress-arrow {
    transform: rotate(90deg);
  }

  .progress-bar-container {
    height: 24px;
  }

  .progress-percentage {
    font-size: 11px;
  }

  .points-main-card,
  .points-info-accordion,
  .badges-section-card,
  .all-badges-card,
  .points-history-card,
  .all-ranks-card {
    padding: 16px;
    border-radius: 12px;
  }

  .info-accordion-summary {
    padding: 14px 16px;
  }

  .info-accordion-content {
    padding: 0 16px 16px 16px;
  }

  /* Activity items responsive */
  .activity-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 10px 0;
  }

  .activity-label {
    font-size: 12px;
  }

  .activity-value {
    font-size: 13px;
    text-align: left;
    max-width: 100%;
  }

  .activity-points {
    font-size: 14px;
  }

  .activity-item {
    padding: 12px;
  }

  .all-activities-summary {
    font-size: 0.9rem;
    padding: 10px;
  }

  /* Ranks grid responsive */
  .ranks-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .rank-item {
    padding: 12px;
  }

  .rank-item-name {
    font-size: 14px;
  }

  .rank-item-points {
    font-size: 12px;
  }
}

@media (max-width: 360px) {
  .points-icon {
    display: none;
  }

  .points-card-title {
    font-size: 1.1rem !important;
  }

  .points-balance-display {
    font-size: 1.5rem;
  }

  .progress-bar-container {
    height: 20px;
  }

  .progress-percentage {
    font-size: 10px;
  }

  .badges-display img,
  .all-badges-display img {
    max-width: 50px;
  }
}