@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&family=Urbanist:wght@400;500;600;700&display=swap');/* ───── Overlay backdrop (visible < 1024px when open) ───── */
.sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1100;
}

/* ───── Sidebar panel ───── */
.sidebar {
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  width: 260px;
  background: #ffffff;
  border-right: 1px solid rgba(0, 0, 0, 0.04);
  z-index: 1200;
  flex-shrink: 0;
  transform: translateX(0);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.sidebar-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 2.25rem 2rem;
}

/* ───── Logo ───── */
.sidebar-logo {
  display: flex;
  align-items: center;
  margin-bottom: 3rem;
  cursor: pointer;
}

.sidebar-logo-icon {
  height: 38px;
  width: auto;
  object-fit: contain;
}

/* ───── Navigation ───── */
.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.sidebar-nav-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1rem;
  border-radius: 1rem;
  cursor: pointer;
  color: #6b6b6b;
  font-family: 'Urbanist', sans-serif;
  font-weight: 600;
  font-size: 0.875rem;
  transition: all 0.2s ease;
  text-decoration: none;
}

.sidebar-nav-item:hover {
  background-color: #f2f2f4;
  color: #111111;
}

.sidebar-nav-item.active {
  background-color: #1a1a1a;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.sidebar-nav-item.active .sidebar-nav-icon {
  color: #ffffff;
}

.sidebar-nav-icon {
  font-size: 1.125rem !important;
  opacity: 0.8;
  flex-shrink: 0;
}

.sidebar-nav-label {
  white-space: nowrap;
}

/* ───── Spacer ───── */
.sidebar-spacer {
  flex: 1;
}

/* ───── Version label ───── */
.sidebar-version {
  font-family: 'Urbanist', sans-serif;
  font-size: 0.6875rem;
  color: #a1a1aa;
  text-align: center;
  margin-top: 0.75rem;
}

/* ───── User section (card + popover) ───── */
.sidebar-user-section {
  position: relative;
}

.sidebar-user {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.75rem;
  border-radius: 1.25rem;
  background: #f2f2f4;
  cursor: pointer;
  transition: all 0.2s ease;
}

.sidebar-user:hover {
  background: #e8e8ea;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  transform: translateY(-1px);
}

.sidebar-user.sidebar-user--active {
  background: #e8e8ea;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

.sidebar-user-avatar {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: #1a1a1a;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sidebar-user-initials {
  font-family: 'Urbanist', sans-serif;
  font-weight: 700;
  font-size: 0.75rem;
  color: #ffffff;
  letter-spacing: 0.02em;
}

.sidebar-user-info {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  flex: 1;
}

.sidebar-user-name {
  font-family: 'Urbanist', sans-serif;
  font-weight: 700;
  font-size: 0.8125rem;
  color: #111111;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sidebar-user-role {
  font-family: 'Urbanist', sans-serif;
  font-size: 0.6875rem;
  color: #6b6b6b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sidebar-user-chevron {
  flex-shrink: 0;
  color: #6b6b6b;
  transition: transform 0.2s ease;
}

.sidebar-user-chevron--open {
  transform: rotate(180deg);
}

/* ───── User popover menu ───── */
.sidebar-user-menu {
  position: absolute;
  bottom: calc(100% + 0.5rem);
  left: 0;
  right: 0;
  background: #ffffff;
  border-radius: 1rem;
  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.12),
    0 2px 8px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.06);
  padding: 0.375rem;
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
  z-index: 10;
}

.sidebar-user-menu-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  cursor: pointer;
  color: #6b6b6b;
  font-family: 'Urbanist', sans-serif;
  font-weight: 600;
  font-size: 0.875rem;
  transition: all 0.15s ease;
}

.sidebar-user-menu-item:hover {
  background-color: #f2f2f4;
  color: #111111;
}

.sidebar-user-menu-item.active {
  color: #111111;
  font-weight: 700;
}

/* ───── Hamburger trigger button ───── */
.sidebar-hamburger {
  display: none;
  width: 2rem;
  height: 2rem;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #ffffff;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease;
  flex-shrink: 0;
}

.sidebar-hamburger:hover {
  background: #e8e8e8;
}

/* ───── Responsive: Intermediate (< 1024px) ───── */
@media (max-width: 1023px) {
  .sidebar {
    transform: translateX(-100%);
  }

  .sidebar.sidebar--open {
    transform: translateX(0);
  }

  .sidebar-overlay {
    display: block;
  }

  .sidebar-hamburger {
    display: flex;
  }
}
.layout {
  display: flex;
  flex-direction: row;
  min-height: 100vh;
}

.layout-main {
  margin-left: 260px;
  flex: 1;
  background-color: #f2f2f4;
  position: relative;
}

/* Hamburger positioned inside main content area */
.layout-hamburger {
  position: absolute;
  top: 2.25rem;
  left: 1.5rem;
  z-index: 10;
}

/* ───── Intermediate (< 1024px): sidebar collapses ───── */
@media (max-width: 1023px) {
  .layout-main {
    margin-left: 0;
  }

  .layout-hamburger {
    display: flex;
  }
}

/* ───── Desktop (>= 1024px): hamburger hidden ───── */
@media (min-width: 1024px) {
  .layout-hamburger {
    display: none;
  }
}

/* ───── Intermediate: push page-container pages down for hamburger ───── */
@media (max-width: 1023px) {
  .layout-main > .page-container {
    padding-top: 4rem;
  }
}

/* ───── Mobile (< 768px) ───── */
@media (max-width: 767px) {
  .layout-hamburger {
    top: 1.5rem;
    left: 1rem;
  }
}
.brand-card {
  background: #ffffff;
  border-radius: 1.5rem;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.04);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.05);
  transition: all 0.2s ease;
  cursor: pointer;
  height: 100%;
}

.brand-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}

/* Top media area */
.brand-card-media {
  position: relative;
  width: 100%;
  height: 160px;
  flex-shrink: 0;
}

.brand-card-image-wrapper {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
}

.brand-card-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 1.5rem;
}

.brand-card-logo-text {
  font-family: 'Montserrat', sans-serif !important;
  font-weight: 900 !important;
  font-size: 1.5rem !important;
  color: #111111;
  letter-spacing: -0.02em;
}

/* Badge + heart overlay */
.brand-card-overlay {
  position: absolute;
  inset: 0;
  padding: 1rem;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.brand-card-badge {
  font-family: 'Urbanist', sans-serif;
  font-size: 0.6875rem;
  font-weight: 700;
  color: #000000;
  padding: 0.25rem 0.625rem;
  border-radius: 9999px;
  background: #ccff02;
}

.brand-card-fav-btn {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(4px);
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.brand-card-fav-btn:hover {
  background: rgba(255, 255, 255, 1);
}

.brand-card-heart-icon {
  width: 15px;
  height: 15px;
  stroke-width: 2;
}

/* Card body */
.brand-card-body {
  padding: 1.25rem 1.25rem 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.brand-card-name {
  font-family: 'Montserrat', sans-serif !important;
  font-weight: 700 !important;
  font-size: 0.875rem !important;
  color: #111111;
  margin-bottom: 0.25rem !important;
}

.brand-card-desc {
  font-family: 'Urbanist', sans-serif !important;
  font-size: 0.75rem !important;
  color: #6b6b6b;
  margin-bottom: 1rem !important;
}

.brand-card-redeem-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem;
  border-radius: 9999px;
  border: none;
  background: #1a1a1a;
  color: #ffffff;
  font-family: 'Urbanist', sans-serif;
  font-weight: 600;
  font-size: 0.8125rem;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-top: auto;
}

.brand-card-redeem-btn:hover {
  background: #000000;
  color: #ccff02;
  transform: scale(1.02);
}

@media (max-width: 600px) {
  .brand-card-media {
    height: 120px;
  }

  .brand-card-image {
    padding: 1rem;
  }

  .brand-card-body {
    padding: 1rem;
  }
}

@media (max-width: 400px) {
  .brand-card-media {
    height: 100px;
  }

  .brand-card-body {
    padding: 0.875rem;
  }

  .brand-card-redeem-btn {
    padding: 0.625rem;
    font-size: 0.75rem;
  }
}
.brand-grid-container {
  width: 100%;
  background-color: transparent;
}

.brand-grid-title {
  font-weight: 600;
  margin-bottom: 1.5rem !important;
  color: var(--text-primary);
}

.brand-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.5rem;
}

.brand-grid-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 4rem 2rem;
}

.brand-grid-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 4rem 2rem;
  text-align: center;
}

@media (max-width: 600px) {
  .brand-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 0.75rem;
  }
}

@media (max-width: 400px) {
  .brand-grid {
    grid-template-columns: 1fr;
  }
}
.redeem-modal .MuiDialog-paper {
  border-radius: 12px;
  background-color: var(--card-background);
  color: var(--text-primary);
  border: 1px solid var(--border);
}

.redeem-modal-title {
  padding-bottom: 8px;
}

.redeem-modal-header {
  display: flex;
  align-items: center;
  gap: 16px;
}

.redeem-modal-header .MuiTypography-root {
  color: var(--text-primary);
}

.redeem-modal-header .MuiTypography-colorTextSecondary {
  color: var(--text-secondary) !important;
}

.redeem-modal-image {
  width: 64px;
  height: 64px;
  border-radius: 8px;
  object-fit: contain;
  background-color: var(--border);
  padding: 4px;
}

.redeem-modal-content {
  padding-top: 16px !important;
}

.redeem-modal-label {
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--text-primary) !important;
}

.redeem-modal-fixed-values {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.redeem-modal-chip {
  font-size: 14px !important;
  padding: 4px 8px !important;
  color: var(--text-primary) !important;
  border-color: var(--border) !important;
}

.redeem-modal-chip:hover {
  cursor: pointer;
  border-color: var(--primary) !important;
}

.redeem-modal-chip.MuiChip-filled {
  background-color: var(--primary) !important;
  color: #ffffff !important;
}

.redeem-modal-open-value {
  margin-bottom: 16px;
}

.redeem-modal-open-value .MuiOutlinedInput-root {
  background-color: var(--background);
}

.redeem-modal-open-value .MuiOutlinedInput-notchedOutline {
  border-color: var(--border);
}

.redeem-modal-open-value .MuiInputLabel-root {
  color: var(--text-secondary);
}

.redeem-modal-open-value .MuiOutlinedInput-input {
  color: var(--text-primary);
}

.redeem-modal-open-value .MuiInputAdornment-root {
  color: var(--text-secondary);
}

.redeem-modal-open-value .MuiOutlinedInput-input::placeholder {
  color: var(--text-secondary);
  opacity: 1;
}

.redeem-modal-open-value .MuiFormHelperText-root {
  color: var(--text-secondary);
}

.redeem-modal-summary {
  margin-top: 24px;
  padding: 16px;
  color: var(--text-primary);
  background-color: var(--background-paper);
  border-radius: 8px;
  border: 1px solid var(--border);
}

.redeem-modal-summary p {
  margin: 4px 0;
}

.redeem-modal-actions {
  padding: 16px 24px;
  justify-content: flex-start;
  gap: 8px;
}

.redeem-modal-actions .MuiButton-text {
  color: var(--text-primary) !important;
  margin-right: auto !important;
}

.redeem-modal-actions .MuiButton-contained {
  font-weight: 600 !important;
  text-transform: none !important;
  border-radius: 8px !important;
  padding: 10px 16px !important;
}
.savings-pill {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.625rem 0.75rem 0.625rem 1.25rem;
  border-radius: 9999px;
  background: #ccff02;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.savings-pill:hover {
  transform: translateY(-2px);
  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.15),
    0 2px 8px rgba(0, 0, 0, 0.08);
}

.savings-pill-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.savings-pill-label {
  font-family: 'Urbanist', sans-serif;
  font-size: 0.625rem;
  color: rgba(0, 0, 0, 0.55);
  letter-spacing: 0.05em;
  line-height: 1.2;
  text-transform: uppercase;
}

.savings-pill-amount {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 1.0625rem;
  color: #111111;
  line-height: 1.2;
}

.savings-pill-arrow {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: rgba(0, 0, 0, 0.12);
  transition: transform 0.2s ease;
}

.savings-pill:hover .savings-pill-arrow {
  transform: translate(2px, -2px);
}

@media (max-width: 480px) {
  .savings-pill {
    padding: 0.5rem 0.625rem 0.5rem 1rem;
    gap: 0.5rem;
  }

  .savings-pill-amount {
    font-size: 0.875rem;
  }

  .savings-pill-arrow {
    width: 1.5rem;
    height: 1.5rem;
  }
}
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
  padding-bottom: 0.125rem;
}

.filter-pill {
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-family: 'Urbanist', sans-serif;
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 1px solid rgba(0, 0, 0, 0.07);
  background: #ffffff;
  color: #6b6b6b;
  white-space: nowrap;
}

.filter-pill:hover {
  border-color: rgba(0, 0, 0, 0.15);
  color: #111111;
}

.filter-pill.active {
  background: #111111;
  color: #ffffff;
  border-color: #111111;
}
.home-page {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: 2.25rem 3rem;
  background-color: #f2f2f4;
  color: var(--text-primary);
  min-height: 100%;
}

/* Header */
.home-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.home-header-left {
  display: flex;
  flex-direction: column;
}

.home-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  color: #111111;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0;
}

.home-subtitle {
  font-family: 'Urbanist', sans-serif;
  font-size: 0.8125rem;
  color: #6b6b6b;
  margin: 0.1875rem 0 0;
}

.home-header-right {
  flex-shrink: 0;
}

@media (max-width: 1023px) {
  .home-page {
    padding-left: 2rem;
    padding-right: 2rem;
    padding-top: 4.5rem;
  }
}

@media (max-width: 767px) {
  .home-page {
    padding: 4.5rem 1rem 2rem;
    gap: 1.5rem;
  }
}

@media (max-width: 480px) {
  .home-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
}
.history-page {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: 2.25rem 3rem;
  background-color: #f2f2f4;
  color: var(--text-primary);
  min-height: 100%;
}

/* Header */
.history-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.history-header-left {
  display: flex;
  flex-direction: column;
}

.history-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  color: #111111;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0;
}

.history-subtitle {
  font-family: 'Urbanist', sans-serif;
  font-size: 0.8125rem;
  color: #6b6b6b;
  margin: 0.1875rem 0 0;
}

.history-header-right {
  flex-shrink: 0;
}

/* Transactions List */
.transactions-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 700px;
  margin: 0 auto;
  width: 100%;
}

.transaction-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem;
  background-color: var(--card-background, #ffffff);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.transaction-icon-wrapper {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background-color: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.transaction-icon {
  font-size: 20px !important;
  color: var(--primary);
}

.transaction-brand-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 6px;
}

.transaction-brand-name {
  font-weight: 600 !important;
  color: var(--text-primary) !important;
  font-size: 0.85rem !important;
}

.transaction-details {
  flex: 1;
}

.transaction-face-value {
  color: var(--primary) !important;
  font-size: 0.85rem !important;
}

.transaction-client-value {
  color: var(--text-secondary) !important;
  font-size: 0.8rem !important;
}

.transaction-saved {
  color: var(--primary) !important;
  font-size: 0.8rem !important;
}

.transaction-date {
  color: var(--text-secondary) !important;
  font-size: 0.8rem !important;
}

/* Empty State */
.transactions-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 4rem 2rem;
  text-align: center;
  gap: 0.5rem;
}

.transactions-empty-icon {
  font-size: 3rem !important;
  color: #cccccc;
  margin-bottom: 0.25rem;
}

/* Load More Button */
.history-load-more-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  border: none;
  background: #1a1a1a;
  color: #ffffff;
  font-family: 'Urbanist', sans-serif;
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.2s ease;
  align-self: center;
  margin-top: 0.5rem;
}

.history-load-more-btn:hover {
  background: #000000;
  color: #ccff02;
  transform: scale(1.02);
}

.history-load-more-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

@media (max-width: 1023px) {
  .history-page {
    padding-left: 2rem;
    padding-right: 2rem;
    padding-top: 4.5rem;
  }
}

@media (max-width: 767px) {
  .history-page {
    padding: 4.5rem 1rem 2rem;
    gap: 1.5rem;
  }
}

@media (max-width: 480px) {
  .history-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
}
.favourites-page {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: 2.25rem 3rem;
  background-color: #f2f2f4;
  color: var(--text-primary);
  min-height: 100%;
}

/* Header */
.favourites-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.favourites-header-left {
  display: flex;
  flex-direction: column;
}

.favourites-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  color: #111111;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0;
}

.favourites-subtitle {
  font-family: 'Urbanist', sans-serif;
  font-size: 0.8125rem;
  color: #6b6b6b;
  margin: 0.1875rem 0 0;
}

.favourites-header-right {
  flex-shrink: 0;
}

/* Empty state */
.favourites-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 4rem 2rem;
  text-align: center;
}

.favourites-empty-icon {
  font-size: 3rem !important;
  color: #cccccc;
}

.favourites-empty-title {
  font-family: 'Montserrat', sans-serif !important;
  font-weight: 600 !important;
  color: #111111;
}

.favourites-empty-subtitle {
  color: #6b6b6b;
  max-width: 300px;
}

.favourites-browse-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  border: none;
  background: #1a1a1a;
  color: #ffffff;
  font-family: 'Urbanist', sans-serif;
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-top: 0.5rem;
}

.favourites-browse-btn:hover {
  background: #000000;
  color: #ccff02;
  transform: scale(1.02);
}

@media (max-width: 1023px) {
  .favourites-page {
    padding-left: 2rem;
    padding-right: 2rem;
    padding-top: 4.5rem;
  }
}

@media (max-width: 767px) {
  .favourites-page {
    padding: 4.5rem 1rem 2rem;
    gap: 1.5rem;
  }
}

@media (max-width: 480px) {
  .favourites-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
}
.chat-page {
  display: flex;
  flex-direction: column;
  height: calc(100vh - 40px);
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
}

.chat-header {
  margin-bottom: 16px;
}

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.chat-message {
  display: flex;
  max-width: 80%;
  animation: fadeIn 0.2s ease-in;
}

.chat-message.user {
  align-self: flex-end;
}

.chat-message.agent {
  align-self: flex-start;
}

.chat-bubble {
  padding: 12px 16px;
  border-radius: 12px;
  line-height: 1.5;
  word-wrap: break-word;
}

.chat-message.user .chat-bubble {
  background-color: var(--primary);
  color: #ffffff;
  border-bottom-right-radius: 4px;
}

.chat-message.agent .chat-bubble {
  background-color: var(--secondary);
  color: var(--text-primary);
  border-bottom-left-radius: 4px;
}

.chat-timestamp {
  font-size: 0.7rem;
  color: var(--text-secondary);
  margin-top: 4px;
  text-align: right;
}

.chat-message.agent .chat-timestamp {
  text-align: left;
}

.chat-loading {
  align-self: flex-start;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  color: var(--text-secondary);
}

.chat-error {
  margin: 8px 0;
}

.chat-empty {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--text-secondary);
}

.chat-empty-icon {
  font-size: 48px !important;
  color: var(--secondary-light);
}

.chat-input-area {
  display: flex;
  gap: 8px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.chat-input-area .MuiOutlinedInput-root {
  border-radius: 24px;
  background-color: var(--secondary);
}

.chat-input-area .MuiOutlinedInput-root fieldset {
  border-color: var(--border);
}

.chat-input-area .MuiOutlinedInput-root:hover fieldset {
  border-color: var(--primary-light);
}

.chat-input-area .MuiOutlinedInput-root.Mui-focused fieldset {
  border-color: var(--primary);
}

.chat-send-btn {
  border-radius: 50% !important;
  min-width: 48px !important;
  width: 48px;
  height: 48px;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1023px) {
  .chat-page {
    padding-top: 5rem;
  }
}

@media (max-width: 768px) {
  .chat-page {
    height: calc(100vh - 80px);
    padding: 5rem 12px 12px;
  }

  .chat-message {
    max-width: 90%;
  }
}
.profile-page {
  padding: 2.25rem 3rem;
  min-height: 100%;
}

@media (max-width: 1023px) {
  .profile-page {
    padding: 4.5rem 2rem 2rem;
  }
}

@media (max-width: 767px) {
  .profile-page {
    padding: 4.5rem 1rem 2rem;
  }
}

/* Header */
.profile-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem 0 1rem;
}

.profile-icon-wrapper {
  width: 64px;
  height: 64px;
  background: var(--secondary);
  border: 2px solid var(--primary);
  margin-bottom: 1rem;
}

.profile-icon {
  font-size: 32px !important;
  color: var(--primary);
}

.profile-title {
  font-weight: 700 !important;
  color: var(--text-primary);
}

.profile-subtitle {
  color: var(--text-secondary) !important;
  margin-top: 0.25rem !important;
}

/* Cards */
.profile-card-content {
  padding: 1.5rem !important;
}

.profile-section-label {
  font-weight: 600 !important;
  color: var(--text-primary) !important;
  margin-bottom: 1rem !important;
}

/* Fields */
.profile-fields {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.profile-input .MuiOutlinedInput-root {
  color: var(--text-primary);
}

.profile-input .MuiOutlinedInput-notchedOutline {
  border-color: var(--border) !important;
}

.profile-input .MuiInputLabel-root {
  color: var(--text-secondary) !important;
}

.profile-input .MuiOutlinedInput-input {
  color: var(--text-secondary);
}

.profile-input .MuiOutlinedInput-input::placeholder {
  color: var(--text-secondary);
  opacity: 1;
}

.profile-loading {
  text-align: center;
  padding: 3rem 0;
  color: var(--text-secondary) !important;
}
/* ========== Auth Page — Figma design ========== */

/* Wrapper: white background, centred card */
.auth-wrapper {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #ffffff;
  padding: 40px;
}

/* Main container: black rounded card with shadow */
.auth-container {
  position: relative;
  width: 70vw;
  max-width: 952px;
  height: 588px;
  background-color: #000000;
  border-radius: 32px;
  box-shadow: 0px 24px 48px 0px rgba(0, 0, 0, 0.18);
}

/* ========== Left Panel (Dark) ========== */
.auth-left {
  position: absolute;
  top: 16.8px;
  left: 16.8px;
  bottom: 16.8px;
  width: 498px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 33.6px;
}

.auth-logo {
  margin: 0;
  display: flex;
  align-items: center;
}

.auth-logo img {
  width: 143px;
  height: auto;
}

.auth-left-content {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding-bottom: 32px;
}

/* Tagline */
.auth-tagline {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 38.5px;
  line-height: 47.04px;
  color: #ffffff;
  margin: 0;
  max-width: 364px;
}

.auth-tagline-highlight {
  color: #ccff02;
}

/* Verified milestones badge */
.auth-badge {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  padding: 7.7px 16px 7.7px 7.7px;
  max-width: 10rem;
}

.auth-badge-icon {
  width: 26.6px;
  height: 26.6px;
  border-radius: 50%;
  background-color: #1f2933;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.auth-badge-icon-inner {
  width: 12.6px;
  height: 12.6px;
  border-radius: 50%;
  background-color: #ccff02;
  display: flex;
  align-items: center;
  justify-content: center;
}

.auth-badge-icon-inner svg {
  width: 7px;
  height: 7px;
}

.auth-badge-text {
  display: flex;
  flex-direction: column;
  gap: 1.4px;
}

.auth-badge-title {
  font-family: 'Urbanist', sans-serif;
  font-weight: 600;
  font-size: 9.8px;
  line-height: 9.8px;
  color: #ffffff;
  margin: 0;
}

.auth-badge-subtitle {
  font-family: 'Urbanist', sans-serif;
  font-weight: 400;
  font-size: 9.1px;
  line-height: 9.1px;
  color: #a1a1aa;
  margin: 0;
}

/* ========== Right Panel (White Card) ========== */
.auth-right {
  position: absolute;
  top: 36px;
  bottom: 36px;
  right: 36px;
  left: 496px;
  background-color: #ffffff;
  border-radius: 16.8px;
  padding: 24px 24px 20px;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

/* ========== Auth Toggle ========== */
.auth-toggle {
  display: flex;
  background-color: #000000;
  border-radius: 999px;
  padding: 4px;
  margin-bottom: 16px;
  align-self: flex-start;
}

.auth-toggle-btn {
  min-width: 112px;
  padding: 8px 24px;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 14px;
  line-height: 14px;
  color: #ffffff;
  background: transparent;
  transition: all 0.3s ease;
}

.auth-toggle-btn:hover:not(.auth-toggle-btn--active) {
  background: rgba(255, 255, 255, 0.05);
}

.auth-toggle-btn--active {
  background-color: #ccff02;
  color: #000000;
  font-family: 'Urbanist', sans-serif;
  font-weight: 500;
}

/* ========== Form Heading ========== */
.auth-heading {
  margin-bottom: 16px;
}

.auth-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 20px;
  line-height: 22px;
  color: #111111;
  margin: 0 0 4px 0;
}

.auth-subtitle {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 12px;
  line-height: 14px;
  color: #6b7280;
  margin: 0;
}

/* ========== Form Fields ========== */
.auth-form {
  display: flex;
  flex-direction: column;
}

.auth-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 10px;
}

.auth-label {
  font-family: 'Urbanist', sans-serif;
  font-weight: 500;
  font-size: 11px;
  line-height: 11px;
  color: #111111;
  margin: 0;
}

.auth-input {
  width: 100%;
  height: 36px;
  padding: 0 14px;
  background-color: #f4f4f5;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  font-family: 'Urbanist', sans-serif;
  font-weight: 400;
  font-size: 12px;
  color: #111111;
  outline: none;
  transition: border-color 0.2s ease;
}

.auth-input::placeholder {
  color: #6b7280;
}

.auth-input:focus {
  border-color: #000000;
}

.auth-input--error {
  border-color: var(--error);
}

.auth-input--error:focus {
  border-color: var(--error);
}

.auth-field-error {
  color: var(--error);
  font-size: 0.75rem;
  margin-top: 4px;
}

/* Forgot password */
.auth-forgot {
  display: flex;
  justify-content: flex-end;
  margin-top: 4px;
}

.auth-forgot-btn {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 10px;
  line-height: 10px;
  color: #6b7280;
  transition: all 0.2s ease;
}

.auth-forgot-btn:hover {
  color: #111111;
  text-decoration: underline;
}

/* ========== Region Selector ========== */
.auth-region-options {
  display: flex;
  gap: 8px;
}

.auth-region-btn {
  flex: 1;
  height: 36px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  background-color: #f4f4f5;
  font-family: 'Urbanist', sans-serif;
  font-weight: 500;
  font-size: 12px;
  color: #6b7280;
  cursor: pointer;
  transition: all 0.2s ease;
}

.auth-region-btn:hover {
  border-color: #000000;
  color: #111111;
}

.auth-region-btn--active {
  background-color: #ccff02;
  border-color: #ccff02;
  color: #000000;
  font-weight: 600;
}

/* ========== Continue Button ========== */
.auth-submit-wrapper {
  margin-top: 6px;
}

.auth-submit {
  width: 100%;
  height: 38px;
  border: 1px solid transparent;
  border-radius: 999px;
  background-color: #ccff02;
  color: #000000;
  font-family: 'Urbanist', sans-serif;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.auth-submit:hover {
  transform: scale(1.02) translateY(-2px);
  border-color: #d1d5db;
}

.auth-submit:active {
  transform: scale(0.98) translateY(0);
}

.auth-submit:disabled {
  background-color: #e0e0e0;
  color: #999999;
  cursor: not-allowed;
  transform: none;
}

/* ========== Error ========== */
.auth-error {
  margin-bottom: 10px;
}

/* ========== Footer ========== */
.auth-footer {
  margin-top: 16px;
}

.auth-footer-text {
  font-family: 'Urbanist', sans-serif;
  font-weight: 400;
  font-size: 10px;
  line-height: 10px;
  color: #6b7280;
  margin: 0;
}

.auth-footer-link {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font-family: 'Urbanist', sans-serif;
  font-weight: 700;
  font-size: 10px;
  line-height: 10px;
  color: #6b7280;
  transition: all 0.2s ease;
}

.auth-footer-link:hover {
  color: #111111;
  text-decoration: underline;
}

/* ========== Responsive: Tablet ========== */
@media (max-width: 1024px) {
  .auth-wrapper {
    padding: 24px;
  }

  .auth-container {
    width: 100%;
    height: auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    border-radius: 24px;
  }

  .auth-left {
    position: relative;
    top: auto;
    left: auto;
    bottom: auto;
    width: auto;
    padding: 32px 32px 24px;
  }

  .auth-tagline {
    font-size: 32px;
    line-height: 40px;
  }

  .auth-left-content {
    gap: 20px;
    padding-bottom: 20px;
  }

  .auth-right {
    position: relative;
    top: auto;
    bottom: auto;
    left: auto;
    right: auto;
    margin: 0 16px 16px;
  }
}

/* ========== Responsive: Mobile ========== */
@media (max-width: 600px) {
  .auth-wrapper {
    padding: 12px;
  }

  .auth-container {
    border-radius: 20px;
  }

  .auth-left {
    padding: 24px 24px 16px;
  }

  .auth-logo img {
    width: 110px;
  }

  .auth-tagline {
    font-size: 26px;
    line-height: 32px;
  }

  .auth-left-content {
    gap: 16px;
    padding-bottom: 16px;
  }

  .auth-badge {
    gap: 8px;
    padding: 6px 12px 6px 6px;
  }

  .auth-badge-icon {
    width: 22px;
    height: 22px;
  }

  .auth-badge-icon-inner {
    width: 10px;
    height: 10px;
  }

  .auth-badge-icon-inner svg {
    width: 6px;
    height: 6px;
  }

  .auth-badge-title {
    font-size: 8.5px;
  }

  .auth-badge-subtitle {
    font-size: 8px;
  }

  .auth-right {
    margin: 0 12px 12px;
    padding: 20px 16px;
  }

  .auth-toggle {
    align-self: stretch;
  }

  .auth-toggle-btn {
    flex: 1;
    min-width: 0;
    padding: 8px 16px;
  }

  .auth-title {
    font-size: 18px;
    line-height: 20px;
  }

  .auth-subtitle {
    font-size: 11px;
  }

  .auth-heading {
    margin-bottom: 12px;
  }

  .auth-footer {
    margin-top: 12px;
  }
}
.redeem-page {
  align-items: center;
  min-height: 100vh;
  gap: 1.5rem;
  padding: 20vh 1rem 3rem;
}

.redeem-logo {
  width: 48px;
  height: 48px;
}

/* Header */
.redeem-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.redeem-icon-wrapper {
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.redeem-icon-wrapper--error {
  background: rgba(255, 68, 68, 0.1);
  border: 2px solid var(--error);
  border-radius: 50%;
}

.redeem-icon {
  font-size: 36px !important;
}

.redeem-icon--error {
  color: var(--error);
}

.redeem-title {
  font-weight: 700 !important;
  color: var(--text-primary);
  text-align: center;
}

.redeem-subtitle {
  color: var(--text-secondary) !important;
  text-align: center;
}

/* Actions */
.redeem-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
}

.redeem-btn-primary {
  padding: 12px 32px !important;
  font-size: 1rem !important;
  transition: var(--transition-smooth) !important;
}

.redeem-btn-primary:hover {
  box-shadow: var(--shadow-md) !important;
}

.redeem-btn-secondary {
  color: var(--text-secondary) !important;
  text-transform: none !important;
  font-size: 0.875rem !important;
}

.redeem-btn-secondary:hover {
  color: var(--text-primary) !important;
}

/* Loading spinner */
.redeem-spinner {
  color: var(--primary) !important;
}

@media (max-width: 1023px) {
  .redeem-page {
    padding-top: 15vh;
  }
}

@media (max-width: 768px) {
  .redeem-page {
    padding: 15vh 1rem 2rem;
  }

  .redeem-icon-wrapper {
    width: 60px;
    height: 60px;
  }

  .redeem-icon {
    font-size: 28px !important;
  }
}


/* Global App Styles */
/* Import Google Fonts - Montserrat (headings) & Urbanist (body) */
/* CSS Variables - Light theme with black primary */
:root {
  --primary: #000000;
  --primary-light: #333333;
  --primary-dark: #000000;

  --secondary: #f5f5f5;
  --secondary-light: #e0e0e0;

  --accent: #000000;
  --accent-dark: #000000;

  --green: #ccff02;
  --success: #ccff02;
  --error: #ff4444;

  --background: #ffffff;
  --background-paper: #f5f5f5;
  --card-background: #ffffff;

  --text-primary: #000000;
  --text-secondary: #666666;

  --border: #e0e0e0;

  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);

  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
/* Reset and base styles */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  font-size: 16px;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  padding: 0;
  font-family:
    'Urbanist',
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    Roboto,
    sans-serif;
  background-color: var(--background);
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
#root {
  min-height: 100vh;
}
/* Scrollbar styling */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: var(--background);
}
::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--text-secondary);
}
/* Selection styling */
::selection {
  background-color: rgba(0, 0, 0, 0.15);
  color: var(--text-primary);
}
/* Links */
a {
  color: var(--primary);
  text-decoration: underline;
  transition: color 0.2s ease;
}
a:hover {
  color: var(--primary-light);
}
/* Images */
img {
  max-width: 100%;
  height: auto;
}
/* Focus styles for accessibility */
:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}
/* Utility classes */
.text-primary {
  color: var(--primary);
}
.text-secondary {
  color: var(--text-secondary);
}
.text-success {
  color: var(--success);
}
.text-error {
  color: var(--error);
}
.bg-gradient-primary {
  background: var(--primary);
}
.bg-gradient-secondary {
  background: var(--secondary);
}
/* Reusable component classes */
.card {
  background-color: var(--card-background) !important;
  border: 1px solid var(--border) !important;
  border-radius: 12px !important;
  color: var(--text-primary) !important;
}
.btn-primary {
  background: var(--primary) !important;
  color: #ffffff !important;
  font-weight: 600 !important;
  text-transform: none !important;
  border-radius: 8px !important;
  padding: 10px 16px !important;
}
.btn-primary:hover {
  background: var(--primary-light) !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2) !important;
}
.btn-primary.Mui-disabled {
  background: var(--secondary-light) !important;
  color: #999999 !important;
  border-color: var(--secondary-light) !important;
}
.form-input .MuiOutlinedInput-root {
  background-color: var(--background);
}
.form-input .MuiOutlinedInput-notchedOutline {
  border-color: var(--border);
}
.form-input .MuiInputLabel-root {
  color: var(--text-secondary);
}
.form-input .MuiOutlinedInput-input {
  color: var(--text-primary);
}
.page-container {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  color: var(--text-primary);
}
.icon-circle {
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

html {
    --vxg-side-width: 200px;
}

.vxg-BasicAdmin {
    width: 100%;
}



.vxg-BasicHead {
}


.vxg-BasicHead-toolbar {
    display: flex;
}

.vxg-BasicLedHead-toolbar {
    display: flex;
    background-color: #eee;
    margin-bottom: 16px;
}


.vxg-BasicHeadTool-logo > img {
    width: 5rem;
}


.vxg-BasicSide {
}


.vxg-BasicMain {

}


.vxg-BasicFoot {
}
