/* ==========================================================================
   MENU STYLESHEET (Green & White Theme)
   ========================================================================== */

/* Grid container for menu cards */
.grid.cards-3 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 24px;
  margin-bottom: 30px;
}

/* Individual card styling */
.card {
  background: #ffffff;
  border: 1px solid var(--line, #e2e8f0);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
  transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), 
              box-shadow 0.2s cubic-bezier(0.4, 0, 0.2, 1), 
              border-color 0.2s ease;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-5px);
  border-color: rgba(34, 197, 94, 0.4);
  box-shadow: 0 12px 30px rgba(34, 197, 94, 0.12);
}

/* Image container for cards */
.card-img {
  height: 180px;
  background-size: cover;
  background-position: center;
  border-bottom: 1px solid var(--line, #e2e8f0);
  background-color: #f1f5f9;
}

/* Card inner body */
.card .p {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

/* Category Badge */
.badge {
  display: inline-flex;
  align-self: flex-start;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.1); /* light green bg */
  color: #16a34a; /* main green text */
  font-weight: 800;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  border: 1px solid rgba(34, 197, 94, 0.15);
  margin-bottom: 12px;
}

/* Card Title */
.card h3, 
.card h2 {
  font-size: 18px;
  font-weight: 900;
  color: #0f172a;
  margin: 0 0 8px 0;
  line-height: 1.4;
}

/* Card description */
.card .muted {
  font-size: 13px;
  color: #64748b;
  margin: 0 0 16px 0;
  line-height: 1.6;
  flex-grow: 1; /* push elements below to bottom */
}

/* Price */
.price {
  font-size: 18px;
  font-weight: 900;
  color: #16a34a; /* primary green price */
  margin-bottom: 16px;
}

/* Action button style */
.card .btn,
.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 10px 18px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
  border: 1px solid var(--line, #e2e8f0);
  background: #ffffff;
  color: #475569;
}

.card .btn:hover,
.btn:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
  color: #0f172a;
  transform: translateY(-1px);
}

/* Primary Button (Dine-in / Order) */
.card .btn.primary,
.btn.primary {
  background: linear-gradient(135deg, #22c55e, #16a34a); /* green gradient */
  border: none;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(22, 163, 74, 0.2);
}

.card .btn.primary:hover,
.btn.primary:hover {
  background: linear-gradient(135deg, #16a34a, #15803d);
  box-shadow: 0 6px 16px rgba(22, 163, 74, 0.35);
  color: #ffffff;
}

/* Detail Card styling (Two columns) */
.card-detail {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
  background: #ffffff;
  border: 1px solid var(--line, #e2e8f0);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.04);
  margin-top: 16px;
}

.card-detail-img {
  min-height: 400px;
  background-size: cover;
  background-position: center;
  background-color: #f1f5f9;
}

.card-detail-body {
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.card-detail-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 20px;
  margin-bottom: 20px;
}

/* Responsive design adjustments */
@media (max-width: 992px) {
  .card-detail {
    grid-template-columns: 1fr;
  }
  .card-detail-img {
    min-height: 280px;
  }
  .card-detail-body {
    padding: 24px;
  }
}

@media (max-width: 768px) {
  .grid.cards-3 {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   USER DASHBOARD STYLING OVERRIDES
   ========================================================================== */

.u-hero {
  position: relative;
  overflow: hidden;
  border-radius: 0 0 30px 30px;
  padding-top: 120px;
  padding-bottom: 120px;
  background-attachment: scroll;
}

.u-hero-overlay {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.8) 50%, rgba(244, 252, 246, 0.95) 100%);
}

.u-hero-title {
  font-size: clamp(32px, 5vw, 54px);
  color: #0f172a;
  font-weight: 900;
  letter-spacing: -1px;
  line-height: 1.15;
  margin-bottom: 12px;
}

.u-hero-sub {
  color: #475569;
  font-size: 16px;
  line-height: 1.6;
  max-width: 500px;
}

/* FAB override */
.u-fab {
  border-radius: 20px;
  border: 1px solid rgba(34, 197, 94, 0.15) !important;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
  background: #ffffff !important;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.02) !important;
}

.u-fab:hover {
  transform: translateY(-4px) !important;
  border-color: rgba(34, 197, 94, 0.45) !important;
  box-shadow: 0 10px 25px rgba(34, 197, 94, 0.15) !important;
}

.u-fab-ic {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.1), rgba(34, 197, 94, 0.15)) !important;
  border: 1px solid rgba(34, 197, 94, 0.15) !important;
  transition: all 0.2s ease !important;
}

.u-fab:hover .u-fab-ic {
  transform: scale(1.08) !important;
  background: linear-gradient(135deg, #22c55e, #16a34a) !important;
  color: #ffffff !important;
  border-color: transparent !important;
}

/* u-promo card styling updates */
.u-promo {
  border-radius: 24px !important;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.04) !important;
  border: 1px solid rgba(34, 197, 94, 0.12) !important;
  overflow: hidden;
}

.u-promo-title {
  font-size: 14px !important;
  color: #16a34a !important;
  letter-spacing: 1.5px !important;
}

/* KPI Grid on Dashboard */
.u-kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin-top: 20px;
  margin-bottom: 24px;
}

.kpi-card-item {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.01);
  transition: all 0.2s ease;
}

.kpi-card-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(34, 197, 94, 0.06);
  border-color: rgba(34, 197, 94, 0.2);
}

.kpi-card-icon {
  font-size: 24px;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(34, 197, 94, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
}

.kpi-card-label {
  display: block;
  font-size: 11px;
  color: #64748b;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.kpi-card-value {
  margin: 4px 0 0 0;
  font-size: 16px;
  font-weight: 900;
  color: #0f172a;
}

/* Popular Menu Cards */
.u-card {
  border-radius: 20px !important;
  border: 1px solid rgba(34, 197, 94, 0.1) !important;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
  overflow: hidden !important;
  background: #ffffff !important;
}

.u-card:hover {
  transform: translateY(-6px) !important;
  border-color: rgba(34, 197, 94, 0.35) !important;
  box-shadow: 0 15px 30px rgba(34, 197, 94, 0.1) !important;
}

.u-card-img {
  height: 180px !important;
  transition: transform 0.3s ease !important;
}

.u-card:hover .u-card-img {
  transform: scale(1.04) !important;
}

.u-card-body {
  padding: 18px !important;
}

.u-card-title {
  font-size: 16px !important;
  font-weight: 800 !important;
  color: #0f172a !important;
}

.u-card-price {
  font-size: 16px !important;
  font-weight: 900 !important;
  color: #16a34a !important;
}

.u-card-actions {
  display: flex !important;
  justify-content: space-between !important;
  gap: 10px !important;
}

.u-card-actions .btn {
  padding: 8px 14px !important;
  font-size: 13px !important;
  border-radius: 10px !important;
}

.u-card-actions .btn-green {
  background: linear-gradient(135deg, #22c55e, #16a34a) !important;
  color: #ffffff !important;
  border: none !important;
}

.u-card-actions .btn-green:hover {
  background: linear-gradient(135deg, #16a34a, #15803d) !important;
}

/* Stable quantity controls (this file is loaded after cafe.css). */
.u-card-actions,
.btn-wrap {
  align-items: center;
  flex-wrap: wrap;
}

.menu-add-form {
  display: flex;
  flex: 0 1 auto;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  min-width: 0;
  margin: 0;
  flex-wrap: nowrap;
}

.menu-qty {
  display: grid;
  grid-template-columns: 40px 46px 40px;
  flex: 0 0 auto;
  width: 126px;
  height: 42px;
  box-sizing: border-box;
  overflow: hidden;
  border: 1px solid var(--line, #e2e8f0);
  border-radius: 12px;
  background: #ffffff;
}

.menu-qty-btn,
.menu-qty input {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-width: 0;
  height: 40px;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: #ffffff;
  color: #0f172a;
  font: inherit;
  font-size: 17px;
  font-weight: 900;
  line-height: 1;
  text-align: center;
}

.menu-qty-btn {
  cursor: pointer;
  touch-action: manipulation;
  user-select: none;
  -webkit-user-select: none;
}

.menu-qty-btn:hover,
.menu-qty-btn:focus-visible {
  background: #f0fdf4;
  color: #16a34a;
  outline: none;
}

.menu-qty input {
  border-right: 1px solid var(--line, #e2e8f0);
  border-left: 1px solid var(--line, #e2e8f0);
  border-radius: 0;
  outline: none;
  appearance: textfield;
  -moz-appearance: textfield;
  -webkit-appearance: none;
  font-variant-numeric: tabular-nums;
}

.menu-qty input::-webkit-inner-spin-button,
.menu-qty input::-webkit-outer-spin-button {
  margin: 0;
  appearance: none;
  -webkit-appearance: none;
}

.menu-add-form > .btn {
  flex: 0 0 auto;
  min-height: 42px;
  white-space: nowrap;
}

@media (max-width: 520px) {
  .u-card-actions,
  .btn-wrap {
    align-items: stretch !important;
  }

  .menu-add-form {
    flex: 1 1 100%;
    justify-content: space-between;
    max-width: none;
  }

  .menu-add-form > .btn {
    flex: 1 1 auto;
  }
}

/* ==========================================================================
   PUBLIC HOMEPAGE PREMIUM STYLING
   ========================================================================== */

/* Upgraded premium hero layout */
.premium-hero {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 80vh;
  display: flex;
  align-items: center;
  padding-top: 120px;
  padding-bottom: 80px;
}

.premium-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.85) 0%, rgba(22, 163, 74, 0.4) 100%);
  z-index: 1;
}

.premium-hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
}

/* Glassmorphism content container for hero */
.hero-glass-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 24px;
  padding: 40px;
  max-width: 680px;
  color: #ffffff;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  animation: heroFloat 6s ease-in-out infinite;
}

@keyframes heroFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.hero-glass-card .hero-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.hero-glass-card .hero-logo-text {
  font-size: 20px;
  font-weight: 950;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #ffffff;
}

.hero-glass-card h1 {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 900;
  line-height: 1.15;
  margin: 0 0 20px 0;
  letter-spacing: -1px;
  background: linear-gradient(to right, #ffffff, #dcfce7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-glass-card p {
  font-size: 16px;
  line-height: 1.6;
  color: #e2e8f0;
  margin: 0 0 30px 0;
}

.hero-glass-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
  margin-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
}

.glass-meta-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.glass-meta-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(34, 197, 94, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.glass-meta-title {
  font-size: 13px;
  font-weight: 800;
  color: #ffffff;
}

.glass-meta-sub {
  font-size: 11px;
  color: #cbd5e1;
  margin-top: 2px;
}

/* Redesigned featured food/drink grid */
.section-kicker {
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
  color: #16a34a;
  margin-bottom: 8px;
  display: block;
}

.section-intro {
  margin-bottom: 40px;
  max-width: 600px;
}

.section-intro p {
  color: #64748b;
  margin-top: 8px;
  font-size: 15px;
}

/* Premium event grid override */
.events-calendar-premium {
  background: #ffffff;
  border: 1px solid rgba(34, 197, 94, 0.15);
  border-radius: 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
  overflow: hidden;
}

.events-calendar-premium .cal-head {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.05), rgba(255, 255, 255, 0));
  border-bottom: 1px solid #e2e8f0;
  padding: 18px;
}

.events-calendar-premium .cal-dates {
  padding: 10px;
  gap: 4px;
}

.events-calendar-premium .cal-date {
  border: none;
  border-radius: 10px;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  font-weight: 600;
  cursor: pointer;
}

.events-calendar-premium .cal-date:hover {
  background: #f1f5f9;
}

.events-calendar-premium .cal-date.active {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #ffffff;
  font-weight: 900;
  box-shadow: 0 4px 10px rgba(22, 163, 74, 0.3);
}

/* Premium event cards */
.event-card-premium {
  display: flex;
  align-items: center;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 20px;
  gap: 20px;
  margin-bottom: 16px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.01);
  transition: all 0.25s ease;
}

.event-card-premium:hover {
  transform: translateX(6px);
  border-color: rgba(34, 197, 94, 0.3);
  box-shadow: 0 10px 25px rgba(34, 197, 94, 0.06);
}

.event-time-badge {
  background: rgba(34, 197, 94, 0.1);
  color: #16a34a;
  padding: 10px 16px;
  border-radius: 14px;
  font-weight: 800;
  font-size: 15px;
  min-width: 80px;
  text-align: center;
}

.event-premium-body {
  flex-grow: 1;
}

.event-premium-body h4 {
  margin: 0 0 4px 0;
  font-size: 16px;
  font-weight: 800;
  color: #0f172a;
}

.event-premium-body p {
  margin: 0;
  font-size: 13px;
  color: #64748b;
}

.event-premium-views {
  font-size: 12px;
  color: #94a3b8;
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
}

/* ==========================================================================
   GLOBAL BRANDING AND LAYOUT COHESIVENESS (Integrated with Homepage styles)
   ========================================================================== */

/* Page background and general typography */
body {
  background-color: #f8fafc;
  color: #0f172a;
}

/* Make sure all sections have a nice spacing */
.section {
  padding: 60px 0;
}

/* Global Navigation Topbar Overrides (Glassmorphism + Premium Accents) */
.topbar {
  background: rgba(255, 255, 255, 0.85) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border-bottom: 1px solid rgba(34, 197, 94, 0.1) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02) !important;
}

.topbar-inner {
  padding: 16px 0 !important;
  position: relative;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 10px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 4px 0;
  border-radius: 999px;
  background: #334155;
}

.brand-text {
  font-weight: 950 !important;
  letter-spacing: -0.5px;
  background: linear-gradient(135deg, #15803d, #16a34a);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav a {
  font-size: 14px;
  font-weight: 700;
  transition: all 0.2s ease;
  color: #475569 !important;
}

.nav a:hover {
  color: #16a34a !important;
  background: rgba(34, 197, 94, 0.08) !important;
}

/* User avatar chip in navbar */
.user-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(34, 197, 94, 0.06);
  border: 1px solid rgba(34, 197, 94, 0.12);
  padding: 6px 12px;
  border-radius: 999px;
  margin-right: 8px;
}

.user-avatar {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #ffffff;
  font-weight: 900;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}

.user-name {
  font-size: 13px;
  font-weight: 800;
  color: #16a34a;
}

/* Form Inputs globally styled with soft green focus and animations */
.input,
input[type="text"],
input[type="email"],
input[type="number"],
input[type="password"],
input[type="date"],
input[type="time"],
select,
textarea {
  border: 1px solid #cbd5e1 !important;
  border-radius: 12px !important;
  background: #f8fafc !important;
  color: #0f172a !important;
  padding: 12px 16px !important;
  font-size: 14px !important;
  outline: none !important;
  transition: all 0.2s ease !important;
}

.input:focus,
input[type="text"]:focus,
input[type="email"]:focus,
input[type="number"]:focus,
input[type="password"]:focus,
input[type="date"]:focus,
input[type="time"]:focus,
select:focus,
textarea:focus {
  border-color: #16a34a !important;
  background: #ffffff !important;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.12) !important;
}

/* Override standard layout cards globally to inherit home aesthetic */
.card,
.booking-box,
.cart-box,
.u-detail,
.u-promo {
  background: #ffffff !important;
  border: 1px solid rgba(34, 197, 94, 0.1) !important;
  border-radius: 24px !important;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.02) !important;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

/* Standard list cards items (e.g. Cart, Orders history) */
.cart-item {
  border-bottom: 1px solid #f1f5f9 !important;
  padding: 18px 0 !important;
}

.cart-item:last-child {
  border-bottom: none !important;
}

/* Section headings */
.u-section-title,
.section-title h2 {
  font-size: 26px !important;
  font-weight: 900 !important;
  color: #0f172a !important;
  letter-spacing: -0.5px !important;
}

.u-section-head,
.section-title {
  border-bottom: 1px solid #f1f5f9;
  padding-bottom: 16px;
  margin-bottom: 24px;
}

/* Menu page heading and filter */
.menu-page-head {
  display: grid !important;
  grid-template-columns: minmax(240px, 1fr) minmax(420px, auto);
  align-items: end !important;
  gap: 24px;
}

.menu-page-intro .u-section-title {
  margin: 0 0 6px;
}

.menu-page-intro .muted {
  margin: 0;
  color: #64748b;
  font-size: 14px;
  line-height: 1.5;
}

.menu-filter-form {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) minmax(150px, .65fr) auto;
  gap: 10px;
  width: min(100%, 590px);
  justify-self: end;
}

.menu-filter-form .input,
.menu-filter-form .btn {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  box-sizing: border-box;
}

.menu-filter-form .btn { white-space: nowrap; }

@media (max-width: 900px) {
  .nav-toggle {
    display: block;
    flex: 0 0 auto;
  }

  .topbar .nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    display: none !important;
    width: min(340px, 92vw);
    max-height: calc(100vh - 100px);
    overflow-y: auto;
    padding: 10px;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    background: rgba(255, 255, 255, .98);
    box-shadow: 0 18px 40px rgba(15, 23, 42, .14);
  }

  .topbar .nav.is-open {
    display: flex !important;
    flex-direction: column;
    align-items: stretch !important;
    gap: 4px !important;
  }

  .topbar .nav a { width: 100%; }
  .topbar .nav form { display: block !important; width: 100%; }
  .topbar .nav form .btn { width: 100%; }
  .topbar .user-chip { justify-content: flex-start; margin: 4px 8px; }

  .menu-page-head {
    grid-template-columns: 1fr;
    align-items: start !important;
    gap: 16px;
  }

  .menu-filter-form {
    width: 100%;
    justify-self: stretch;
  }
}

@media (max-width: 560px) {
  .topbar-inner { padding: 12px 0 !important; }
  .brand img { height: 30px !important; }
  .brand-text { font-size: 20px; }

  .topbar + .section { padding-top: 92px !important; }
  .menu-page-head { margin-bottom: 18px; padding-bottom: 18px; }
  .menu-page-intro .u-section-title { font-size: 24px !important; }

  .menu-filter-form {
    grid-template-columns: minmax(0, 1fr) 118px;
  }

  .menu-filter-form input { grid-column: 1 / -1; }
  .menu-filter-form .btn { padding-right: 12px; padding-left: 12px; }
}

/* Booking specific tweaks */
.table-card {
  border: 1px solid #cbd5e1 !important;
  border-radius: 20px !important;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02) !important;
  transition: all 0.2s ease !important;
}

.table-card:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05) !important;
}

.table-card:has(input[type="radio"]:checked) {
  border-color: #16a34a !important;
  background: rgba(34, 197, 94, 0.06) !important;
  box-shadow: 0 10px 25px rgba(34, 197, 94, 0.1) !important;
}

/* Button overrides */
.btn-green,
.btn.primary {
  background: linear-gradient(135deg, #22c55e, #16a34a) !important;
  border: none !important;
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(22, 163, 74, 0.2) !important;
}

.btn-green:hover,
.btn.primary:hover {
  background: linear-gradient(135deg, #16a34a, #15803d) !important;
  box-shadow: 0 6px 16px rgba(22, 163, 74, 0.35) !important;
}

/* Footer modern border */
.footer {
  background: #1e293b !important;
  color: #94a3b8 !important;
  border-top: 4px solid #16a34a !important;
  padding: 60px 0 30px 0 !important;
}

.footer b {
  color: #ffffff !important;
}

/* Disable transitions and animations globally */
*, *::before, *::after {
  transition: none !important;
  animation: none !important;
}

/* Re-enable and upgrade animations for Landing Page Hero */
@keyframes heroFadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.premium-hero .hero-glass-card {
  animation: heroFadeIn 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards, heroFloat 6s ease-in-out infinite 1.2s !important;
}

/* ===== PAGINATION STYLING ===== */
.pagination-wrap {
  margin-top: 28px;
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
  width: 100%;
}

.custom-pagination-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 100%;
}

.pagination-info {
  font-size: 13px;
  color: #64748b;
  font-weight: 500;
}

.pagination-info span {
  font-weight: 700;
  color: #0f172a;
}

.pagination-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  list-style: none;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
}

.pagination-buttons .page-item {
  display: inline-block;
}

.pagination-buttons .page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 12px;
  border-radius: 12px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #334155;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  transition: all 0.2s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
}

.pagination-buttons .page-link:hover {
  background: #f1f5f9;
  border-color: #94a3b8;
  color: #16a34a;
}

.pagination-buttons .page-item.active .page-link {
  background: linear-gradient(135deg, #22c55e, #16a34a) !important;
  border-color: #16a34a !important;
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(22, 163, 74, 0.25) !important;
}

.pagination-buttons .page-item.disabled .page-link {
  opacity: 0.45;
  cursor: not-allowed;
  background: #f8fafc;
  color: #94a3b8;
  border-color: #e2e8f0;
  box-shadow: none;
}

.pagination-wrap nav .flex.justify-between:first-child {
  display: none !important;
}

.pagination-wrap nav {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 10px !important;
}

.pagination-wrap nav svg {
  width: 16px !important;
  height: 16px !important;
}

.pagination-wrap nav span[aria-current="page"] > span,
.pagination-wrap nav a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 38px !important;
  height: 38px !important;
  padding: 0 12px !important;
  border-radius: 12px !important;
  border: 1px solid #cbd5e1 !important;
  background: #ffffff !important;
  color: #334155 !important;
  text-decoration: none !important;
  font-size: 14px !important;
  font-weight: 700 !important;
}

.pagination-wrap nav span[aria-current="page"] > span {
  background: linear-gradient(135deg, #22c55e, #16a34a) !important;
  border-color: #16a34a !important;
  color: #ffffff !important;
}
