:root {

  --bg-dark: #0f172a;

  --bg-card: #1e293b;

  --bg-card-solid: #334155;

  --bg-input: rgba(255, 255, 255, 0.05);
  --bg-hover: rgba(255, 255, 255, 0.1);

  --primary: #f97316;

  --primary-hover: #ea580c;
  --primary-glow: rgba(249, 115, 22, 0.4);
  --primary-gradient: linear-gradient(135deg, #f97316 0%, #ef4444 100%);

  --text-main: #f8fafc;

  --text-muted: #94a3b8;

  --text-light: #cbd5e1;

  --success: #10b981;

  --error: #ef4444;

  --warning: #f59e0b;

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --nav-height: 80px;

  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -1px rgba(0, 0, 0, 0.15);
  --shadow-lg: 0 10px 25px -5px rgba(0, 0, 0, 0.5), 0 8px 10px -6px rgba(0, 0, 0, 0.2);
  --shadow-glow: 0 0 20px rgba(249, 115, 22, 0.3);

  --glass-bg: rgba(30, 41, 59, 0.7);

  --glass-border: 1px solid rgba(255, 255, 255, 0.1);
  --backdrop-blur: blur(16px);
  --border-subtle: 1px solid rgba(255, 255, 255, 0.08);

  --ease-spring: cubic-bezier(0.175, 0.885, 0.32, 1.275);

  --ease-smooth: cubic-bezier(0.25, 0.8, 0.25, 1);

  --duration-fast: 0.2s;
  --duration-med: 0.3s;
  --duration-slow: 0.5s;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', system-ui, -apple-system, sans-serif;
  background-color: var(--bg-dark);

  background-image:
    radial-gradient(circle at 15% 50%, rgba(249, 115, 22, 0.15), transparent 40%),

    radial-gradient(circle at 85% 30%, rgba(236, 72, 153, 0.12), transparent 40%),

    radial-gradient(circle at 50% 80%, rgba(59, 130, 246, 0.10), transparent 50%),

    linear-gradient(135deg, #0f172a 0%, #020617 100%);

  background-attachment: fixed;
  color: var(--text-main);
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
  background: #3f3f46;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #52525b;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

button,
input,
select,
textarea {
  font-family: inherit;
}

.hidden {
  display: none !important;
}

.muted {
  color: var(--text-muted);
}

.small {
  font-size: 0.875rem;
}

.text-center {
  text-align: center;
}

.mt-2 {
  display: block;
  margin-top: 0.5rem;
}

.page {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem 4rem;

  padding-top: calc(var(--nav-height) + 2rem);
  min-height: 80vh;
  animation: fadeIn 0.4s ease-out;

  background: transparent;
}

body:has(.navbar.hidden) .page {
  padding-top: 4rem;
}

#authLoader {
  position: fixed;
  inset: 0;
  z-index: 20000;
  background: radial-gradient(circle at 50% 30%, #1a1a1e 0%, #09090b 80%);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  transition: opacity 0.5s ease;
}

.loader-card {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.spinner {
  width: 50px;
  height: 50px;
  border: 3px solid rgba(255, 255, 255, 0.1);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  box-shadow: 0 0 15px rgba(249, 115, 22, 0.2);
}

.loader-card h3 {
  font-size: 1.5rem;
  background: linear-gradient(135deg, #fff 0%, var(--primary) 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 0;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.loader-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  animation: pulseText 1.5s infinite ease-in-out;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes pulseText {

  0%,
  100% {
    opacity: 0.6;
  }

  50% {
    opacity: 1;
  }
}

.primary-btn,
.ghost-btn,
.nav-link {
  position: relative;
  overflow: hidden;
}

.primary-btn,
.ghost-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.5rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 1rem;
  transition: all var(--duration-fast) var(--ease-spring);
  cursor: pointer;
  letter-spacing: 0.01em;
  border: none;
}

.primary-btn {
  background: var(--primary-gradient);
  color: #fff;
  box-shadow: 0 4px 15px var(--primary-glow);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-size: 0.95rem;
}

.primary-btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 25px rgba(249, 115, 22, 0.5);
}

.primary-btn:active {
  transform: translateY(1px);
  box-shadow: 0 2px 8px rgba(255, 82, 0, 0.3);
}

.primary-btn:disabled {
  background: #52525b;
  box-shadow: none;
  cursor: not-allowed;
  opacity: 0.7;
}

.ghost-btn {
  background: transparent;
  color: var(--text-main);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.ghost-btn:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.4);
}

.wide-btn {
  width: 100%;
}

.small-btn {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  text-align: left;
}

label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

input,
select,
textarea {
  background: var(--bg-input);
  border: 1px solid rgba(255, 255, 255, 0.08);

  color: var(--text-main);
  padding: 0.85rem 1rem;
  width: 100%;
  max-width: 100%;
  border-radius: var(--radius-md);
  font-size: 1rem;
  transition: all var(--duration-med) var(--ease-spring);
  outline: none;
  backdrop-filter: blur(8px);
}

input:focus,
select:focus,
textarea:focus {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.2);
  transform: translateY(-2px);
}

input::placeholder {
  color: #52525b;
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: rgba(15, 23, 42, 0.65);

  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  z-index: 50;
  transition: transform 0.3s;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo-dot {
  width: 40px;
  height: 40px;
  background: var(--primary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 800;
  font-size: 1.2rem;
  box-shadow: 0 0 15px var(--primary-glow);
}

.nav-brand h1 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.1;
}

.nav-brand p {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
}

.nav-links {
  display: flex;
  gap: 0.5rem;
}

.nav-link {
  background: transparent;
  border: none;
  color: var(--text-muted);
  padding: 0.6rem 1.2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all var(--duration-fast);
  cursor: pointer;
}

.nav-link:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.05);
}

.nav-link.active {
  background: rgba(249, 115, 22, 0.1);
  color: var(--primary);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-main);
  border-radius: 2px;
}

.card {
  background: var(--glass-bg);
  backdrop-filter: var(--backdrop-blur);
  -webkit-backdrop-filter: var(--backdrop-blur);
  border: var(--glass-border);
  border-top: 1px solid rgba(255, 255, 255, 0.15);

  border-radius: var(--radius-xl);
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  margin-bottom: 2rem;
  transition: transform var(--duration-med) var(--ease-smooth), box-shadow var(--duration-med) var(--ease-smooth);
}

.card:hover {
  transform: translateY(-4px) scale(1.005);
  box-shadow: 0 15px 35px -5px rgba(0, 0, 0, 0.6), 0 10px 15px -6px rgba(0, 0, 0, 0.3);
}

.section-header {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  margin-bottom: 2.5rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid rgba(255, 82, 0, 0.15);
  position: relative;

  box-shadow: 0 1px 0 0 rgba(255, 82, 0, 0.05);
}

.section-header::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
  box-shadow: 0 0 10px var(--primary);
}

.section-header h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 0.5rem;

  background: linear-gradient(135deg, #ffffff 0%, #fbbf24 60%, #ff5200 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.02em;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.section-header p.muted {
  font-size: 0.95rem;
  color: #a1a1aa;
  max-width: 600px;
  line-height: 1.5;
  margin-left: auto;
  margin-right: auto;
}

.section-header>div {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.section-header button {
  margin-top: 1rem;
  width: auto;
  min-width: 120px;
}

@media (max-width: 768px) {
  .section-header {
    gap: 1rem;
    padding-bottom: 1.5rem;
  }

  .section-header h2 {
    font-size: 1.75rem;
  }

  .section-header button {
    width: 100%;
  }
}

.section-header.small {
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom-color: rgba(255, 255, 255, 0.05);

}

.section-header.small::after {
  display: none;

}

.section-header.small h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-main);
  margin: 0;
}

.auth-enhanced-bg {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 1.5rem;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 10% 10%, rgba(249, 115, 22, 0.2), transparent 40%),
    radial-gradient(circle at 90% 90%, rgba(139, 92, 246, 0.1), transparent 45%),
    linear-gradient(135deg, rgba(2, 6, 23, 0.0) 0%, rgba(15, 23, 42, 0.1) 100%),
    url('bitmesra.png');
  background-size: cover;
  background-position: center;
  animation: bg-pan-zoom 20s ease infinite alternate;
}

@keyframes bg-pan-zoom {
  0% {
    background-position: center;
    transform: scale(1);
  }

  100% {
    background-position: center;
    transform: scale(1.05);
  }
}

.auth-enhanced-bg::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 60vw;
  height: 60vw;
  max-width: 800px;
  max-height: 800px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(249, 115, 22, 0.25) 0%, transparent 60%);
  animation: pulse-glow 8s ease-in-out infinite alternate;
  pointer-events: none;
  z-index: 1;
}

@keyframes pulse-glow {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.5;
  }

  100% {
    transform: translate(-50%, -50%) scale(1.1);
    opacity: 1;
  }
}

.auth-glass-container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
}

.auth-glass-card {
  background: transparent;
  border: none;
  padding: 4rem 1.5rem;
  text-align: center;
  animation: authReveal 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
  position: relative;
  z-index: 10;
  width: 100%;
}

@keyframes authReveal {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.auth-policy-header {
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 0.75rem;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 8px;
}

.auth-policy-icon {
  background: rgba(255, 255, 255, 0.1);
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
}

.auth-policy-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.auth-policy-card {
  background: transparent;
  padding: 0;
  border-radius: 0;
  text-align: left;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  transition: transform 0.2s;
}

.policy-student {
  border: none;
  border-left: 3px solid rgba(34, 197, 94, 1);
  padding-left: 14px;
}

.policy-guest {
  border: none;
  border-left: 3px solid rgba(249, 115, 22, 1);
  padding-left: 14px;
}

.policy-emoji {
  font-size: 1.4rem;
  padding-top: 2px;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.6));
}

.policy-title {
  font-size: 0.95rem;
  display: block;
  margin-bottom: 0.2rem;
  letter-spacing: 0.02em;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.9);
}

.policy-title.green {
  color: #4ade80;
}

.policy-title.orange {
  color: #fb923c;
}

.policy-desc {
  margin: 0;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.5;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.9);
}

.auth-brand-header {
  margin-bottom: 2rem;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 2.5rem 1.5rem;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.campus-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--text-light);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(5px);
}

.auth-title {
  font-size: 3.5rem;
  font-weight: 900;
  background: linear-gradient(135deg, #ffffff 0%, #fb923c 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
  line-height: 1.1;
  text-transform: none;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}

.auth-subtitle {
  color: var(--text-light);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  opacity: 0.9;
}

.auth-policy-container {
  margin-bottom: 1.5rem;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(1px);
  -webkit-backdrop-filter: blur(16px);
  padding: 1.5rem;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.auth-description {
  color: #a1a1aa;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.auth-features {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
  text-align: left;
}

.auth-feature-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.03);
  padding: 0.8rem 1.2rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.9rem;
  color: #e4e4e7;
  transition: transform 0.2s, background 0.2s;
}

.auth-feature-item:hover {
  background: rgba(255, 255, 255, 0.06);
  transform: translateX(4px);
}

.auth-feature-icon {
  font-size: 1.2rem;
}

.hero-search-wrapper {
  margin-bottom: 2.5rem;
  position: relative;
  animation: slideUpFade 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
  opacity: 0;
}

.hero-search-wrapper input {
  width: 100%;
  padding: 1.2rem 1.5rem 1.2rem 3rem;
  font-size: 1.1rem;
  border-radius: 50px;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3), 0 8px 20px rgba(0, 0, 0, 0.2);
}

.hero-search-wrapper input:focus {
  background: rgba(15, 23, 42, 0.8);
  border-color: var(--primary);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3), 0 0 0 4px rgba(249, 115, 22, 0.2);
}

.hero-search-icon {
  position: absolute;
  left: 1.2rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.2rem;
  color: var(--text-muted);
  pointer-events: none;
}

.floating-icon {
  position: absolute;
  opacity: 0;
  z-index: 1;
  pointer-events: none;
  animation: sequenceFloat 24s infinite;
  filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.6));
}

.fi-1 {
  top: 10%;
  left: 30%;
  font-size: 5rem;
  animation-delay: 0s;
}

.fi-2 {
  top: 15%;
  left: 60%;
  font-size: 4.5rem;
  animation-delay: 4s;
}

.fi-3 {
  top: 12%;
  left: 45%;
  font-size: 6rem;
  animation-delay: 8s;
}

.fi-4 {
  top: 8%;
  left: 70%;
  font-size: 5.5rem;
  animation-delay: 12s;
}

.fi-5 {
  top: 18%;
  left: 25%;
  font-size: 4rem;
  animation-delay: 16s;
}

.fi-6 {
  top: 10%;
  left: 55%;
  font-size: 5rem;
  animation-delay: 20s;
}

@keyframes sequenceFloat {
  0% {
    opacity: 0;
    transform: translateY(-30px) rotate(-15deg) scale(0);
  }

  1.5% {
    opacity: 0.85;
    transform: translateY(0px) rotate(10deg) scale(1.1);
  }

  3% {
    opacity: 0.85;
    transform: translateY(10px) rotate(-5deg) scale(1);
  }

  13% {
    opacity: 0.85;
    transform: translateY(30px) rotate(15deg) scale(1.05);
  }

  15% {
    opacity: 0;
    transform: translateY(50px) rotate(25deg) scale(0);
  }

  100% {
    opacity: 0;
    transform: translateY(50px) scale(0);
  }
}

@keyframes fluidFloat {
  0% {
    transform: translate(0, 0) rotate(0deg) scale(1);
  }

  33% {
    transform: translate(20px, -40px) rotate(5deg) scale(1.05);
  }

  66% {
    transform: translate(-20px, 20px) rotate(-5deg) scale(0.95);
  }

  100% {
    transform: translate(0, 0) rotate(0deg) scale(1);
  }
}

.btn-glow {
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 25px -5px rgba(249, 115, 22, 0.4);
  background: var(--primary-gradient);
  border: none;
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  transition: all 0.4s var(--ease-spring);
}

.btn-glow::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.4) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}

.btn-glow:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 30px -5px rgba(249, 115, 22, 0.7);
}

.btn-glow:hover::after {
  opacity: 1;
}

.btn-glow:active {
  transform: scale(0.98);
}

.google-white-btn {
  background: #ffffff;
  color: #1e293b;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  height: 58px;
  font-size: 1.1rem;
}

.google-white-btn:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 15px 35px rgba(255, 255, 255, 0.2), 0 0 30px rgba(249, 115, 22, 0.3);
  background: #fff;
}

.google-white-btn::after {
  background: radial-gradient(circle, rgba(249, 115, 22, 0.15) 0%, transparent 70%);
}

.auth-ghost-btn {
  border-color: rgba(255, 255, 255, 0.1);
  color: #d4d4d8;
}

.auth-ghost-btn:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
}

.auth-glass-notice {
  margin-top: 2.5rem;
  background: rgba(245, 158, 11, 0.05);
  border: 1px solid rgba(245, 158, 11, 0.2);
  border-radius: 16px;
  padding: 1.25rem;
  text-align: left;
}

.auth-glass-notice h4 {
  color: #fbbf24;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
}

.auth-notice-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.auth-notice-list li {
  font-size: 0.85rem;
  color: #a1a1aa;
  margin-bottom: 0.5rem;
  padding-left: 1.2rem;
  position: relative;
  line-height: 1.5;
}

.auth-notice-list li::before {
  content: '•';
  color: #f59e0b;
  position: absolute;
  left: 0;
  font-weight: bold;
}

.auth-notice-list li:last-child {
  margin-bottom: 0;
}

@media (max-width: 600px) {
  .auth-glass-card {
    padding: 2.5rem 1.5rem;
    border-radius: 20px;
  }

  .auth-title {
    font-size: 2rem;
  }
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.guide-card {
  background: var(--glass-bg);
  backdrop-filter: var(--backdrop-blur);
  -webkit-backdrop-filter: var(--backdrop-blur);
  border: var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: relative;
  transition: all 0.3s var(--ease-spring);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.guide-card:hover {
  background: rgba(30, 41, 59, 0.85);

  transform: translateY(-8px) scale(1.02);
  border-color: rgba(249, 115, 22, 0.4);
  box-shadow: 0 15px 30px -5px rgba(0, 0, 0, 0.4), var(--shadow-glow);
}

.step-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 32px;
  height: 32px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.9rem;
  box-shadow: 0 4px 10px rgba(249, 115, 22, 0.4);
  z-index: 2;
}

.guide-icon {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.guide-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: #fff;
}

.guide-card p {
  font-size: 0.95rem;
  color: #a1a1aa;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.guide-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-top: auto;
}

.guide-tag.warning {
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.2);
}

.wide-card {
  grid-column: 1 / -1;
  background: linear-gradient(to right, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 2rem;
}

.wide-card .guide-icon {
  margin-bottom: 0;
  width: 80px;
  height: 80px;
  font-size: 3rem;
  flex-shrink: 0;
}

.wide-card .guide-text {
  flex: 1;
}

.highlight-text {
  color: #fbbf24;
  font-weight: 500;
  display: block;
  margin-top: 0.5rem;
  padding: 0.75rem;
  background: rgba(245, 158, 11, 0.1);
  border-radius: var(--radius-sm);
  border-left: 3px solid #f59e0b;
}

.guide-footer-note {
  margin-top: 3rem;
  text-align: center;
  padding: 2rem;
  background: rgba(16, 185, 129, 0.05);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: var(--radius-md);
}

.guide-footer-note p {
  color: #10b981;
  font-size: 1rem;
}

.guide-footer-note strong {
  font-size: 1.1rem;
  color: #34d399;
  display: block;
  margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
  .wide-card {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .wide-card .guide-icon {
    margin: 0 auto;
  }
}

@media (min-width: 1100px) {
  .guide-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem;

    max-width: 1400px;

    margin-inline: auto;
  }

  .guide-card {
    padding: 2.5rem;

  }

  .guide-card:nth-child(6),
  .guide-card:nth-child(7) {
    grid-column: span 2;
  }

  .wide-card p {
    font-size: 1.05rem;
  }
}

.stall-search-row {
  display: flex;
  justify-content: center;
  margin-bottom: 3rem;
  position: relative;
}

#globalSearchInput {
  width: 100%;
  max-width: 600px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1rem 1.5rem 1rem 3rem;

  border-radius: 50px;
  font-size: 1.1rem;
  color: #fff;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.stall-search-row::before {
  content: '🔍';
  position: absolute;
  left: calc(50% - 280px);

  top: 50%;
  transform: translateY(-50%);
  font-size: 1.2rem;
  opacity: 0.5;
  pointer-events: none;
}

#globalSearchInput:focus {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.2), 0 10px 30px rgba(0, 0, 0, 0.4);
  transform: translateY(-2px);
}

#globalSearchInput::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

@media (max-width: 768px) {
  .stall-search-row::before {
    left: 1.5rem;
  }
}

.stall-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));

  gap: 2rem;
  padding-bottom: 2rem;
}

@media (max-width: 480px) {
  .stall-grid {
    grid-template-columns: 1fr;

    gap: 1.5rem;
  }
}

.stall-card {
  background: var(--glass-bg);
  backdrop-filter: var(--backdrop-blur);
  -webkit-backdrop-filter: var(--backdrop-blur);
  border: var(--glass-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all 0.4s var(--ease-spring);
  cursor: pointer;
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-md);
  height: 100%;
}

.stall-card:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  border-color: rgba(249, 115, 22, 0.4);
}

.stall-img {
  height: 220px;

  width: 100%;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}

.stall-img::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: inherit;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s cubic-bezier(0.19, 1, 0.22, 1);
}

.stall-card:hover .stall-img::before {
  transform: scale(1.08);
}

.stall-img::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5) 0%, transparent 40%, rgba(0, 0, 0, 0.6) 100%);
  pointer-events: none;
}

.stall-content {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.02), transparent);
}

.stall-title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.stall-title-row h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 0;
}

.stall-meta-row {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-top: 0.2rem;
}

.stall-card-rating-inline {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: var(--success);
  color: #fff;
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 700;
  box-shadow: 0 2px 4px rgba(16, 185, 129, 0.3);
}

.stall-card-rating-inline .rating-count {
  font-size: 0.75rem;
  font-weight: 500;
  opacity: 0.9;
  margin-left: 0.1rem;
}

.stall-card-rating-inline .star-icon {
  font-size: 0.75rem;
}

.stall-prep-time {
  font-size: 0.85rem;
  color: var(--text-light);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.cuisine-text {
  font-size: 0.85rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 0.2rem;
  font-weight: 500;
}

.stall-desc-text {
  font-size: 0.8rem;
  color: #737373;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.4;
  margin-top: 0.4rem;
}

.stall-status-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  backdrop-filter: blur(8px);
  color: #fff;
  padding: 0.35rem 0.75rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  z-index: 10;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
}

.stall-status-badge.open {
  background: rgba(16, 185, 129, 0.85);

  border: 1px solid rgba(16, 185, 129, 0.4);
}

.stall-status-badge.closed {
  background: rgba(239, 68, 68, 0.85);

  border: 1px solid rgba(239, 68, 68, 0.4);
}

.stall-detail-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 2rem;
}

.menu-column {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

#menuSearchInput {
  width: 100%;
  max-width: 300px;
  font-size: 0.95rem;
  background: var(--bg-input);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.75rem 1rem;
  border-radius: 50px;
  /* Pill shape */
  transition: all 0.2s;
}

#menuSearchInput:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(249, 115, 22, 0.2);
}

#menuContainer {
  display: block;
  width: 100%;
  margin-top: 1rem;
}

.menu-accordion {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
}

.accordion-item {
  background: var(--glass-bg);
  backdrop-filter: var(--backdrop-blur);
  -webkit-backdrop-filter: var(--backdrop-blur);
  border: var(--glass-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all 0.3s var(--ease-smooth);
}

.accordion-item:hover {
  border-color: rgba(255, 82, 0, 0.3);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.accordion-header {
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  user-select: none;
  background: rgba(255, 255, 255, 0.02);
  transition: all 0.3s var(--ease-smooth);
}

.accordion-header:hover {
  background: rgba(255, 255, 255, 0.05);
}

.accordion-item.active .accordion-header {
  background: rgba(249, 115, 22, 0.1);
  border-bottom: 1px solid rgba(249, 115, 22, 0.1);
}

.header-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.category-emoji {
  font-size: 1.25rem;
}

.category-name {
  font-weight: 700;
  font-size: 1.1rem;
  color: #fff;
  letter-spacing: 0.02em;
}

.accordion-icon {
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: transform 0.3s var(--ease-smooth);
}

.accordion-item.active .accordion-icon {
  transform: rotate(90deg);
  color: var(--primary);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-smooth), opacity 0.3s;
  opacity: 0;
  background: rgba(15, 23, 42, 0.2);
}

.accordion-item.active .accordion-content {
  max-height: 5000px;
  opacity: 1;
}

.accordion-items-container {
  padding: 1.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.25rem;
}

@media (max-width: 768px) {
  .accordion-header {
    padding: 0.85rem 1rem;
  }

  .category-name {
    font-size: 1rem;
  }

  .accordion-items-container {
    padding: 0.75rem;
  }
}

.menu-items-content,
.menu-search-results {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.25rem;
  flex: 1;
  min-width: 0;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(15px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.4s var(--ease-spring) forwards;
}

.menu-item-row {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: rgba(30, 41, 59, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  transition: transform 0.2s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.2s, background 0.2s, border-color 0.2s;
  position: relative;
  overflow: hidden;
  height: auto;
  min-height: 100px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.menu-item-row:hover {
  background: rgba(30, 41, 59, 0.85);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  transform: translateY(-2px);
  border-color: rgba(249, 115, 22, 0.2);
}

.menu-item-row::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--primary);
  opacity: 0;
  transition: opacity 0.3s;
}

.menu-item-row:hover::before {
  opacity: 1;
}

.menu-item-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding-right: 0.5rem;
  justify-content: center;
}

.menu-item-name {
  font-weight: 700;
  font-size: 1.1rem;
  color: #f8fafc;
  line-height: 1.3;
  margin-bottom: 0.1rem;
  word-break: break-word;
}

.menu-rating-badge {
  font-size: 0.75rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  background: rgba(249, 115, 22, 0.15);
  color: #fb923c;
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
  width: fit-content;
  letter-spacing: 0.02em;
}

.menu-rating-badge.muted {
  background: rgba(255, 255, 255, 0.08) !important;
  color: #a1a1aa !important;
}

.menu-item-price {
  color: #cbd5e1;
  font-weight: 600;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.2rem;
}

.menu-add-btn {
  background: rgba(249, 115, 22, 0.1);
  color: #f97316;
  border: 1px solid rgba(249, 115, 22, 0.3);
  padding: 0.55rem 1.4rem;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all 0.2s cubic-bezier(0.25, 0.8, 0.25, 1);
  user-select: none;
  touch-action: manipulation;
  min-height: 38px;
}

.menu-add-btn:hover {
  background: #f97316;
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(249, 115, 22, 0.25);
}

.menu-add-btn:active {
  transform: translateY(1px);
}

.stall-detail-layout {
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: 2rem;
  align-items: start;

}

.menu-column {
  min-width: 0;

}

.cart-column {
  background: rgba(30, 41, 59, 0.7);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  position: sticky;
  top: calc(var(--nav-height) + 1.5rem);
  max-height: calc(100vh - var(--nav-height) - 3rem);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5), 0 0 20px rgba(249, 115, 22, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cart-column:hover {
  box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.6), 0 0 25px rgba(249, 115, 22, 0.15);
}

.cart-column h3 {
  margin-bottom: 1rem;
  font-size: 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 0.8rem;
}

.cart-list {
  flex: 1;
  overflow-y: auto;
  margin-bottom: 1rem;
  padding-right: 0.5rem;

}

#stallDetailSection {
  overflow: visible;
}


.cart-column h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  letter-spacing: 0.02em;
}

.cart-list {
  flex: 1;
  max-height: 50vh;
  overflow-y: auto;
  margin-bottom: 1.5rem;
}

.cart-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: background 0.2s ease;
}

.cart-item:hover {
  background: rgba(255, 255, 255, 0.02);
}

.cart-item-info {
  font-size: 0.95rem;
}

.cart-name {
  font-weight: 600;
  color: #fff;
  display: block;
  margin-bottom: 0.2rem;
}

.qty-controls {
  display: flex;
  align-items: center;
  background: rgba(15, 23, 42, 0.4);
  border-radius: 8px;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.qty-btn {
  width: 28px;
  height: 28px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.05);
  color: white;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.qty-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  transform: scale(1.1);
  box-shadow: 0 0 10px rgba(249, 115, 22, 0.4);
}

.qty-val {
  min-width: 30px;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
}

.cart-footer {
  margin-top: auto;
  background: rgba(15, 23, 42, 0.5);
  margin: 0 -1.5rem -1.5rem -1.5rem;
  padding: 2rem 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.cart-total {
  font-size: 1.75rem;
  font-weight: 800;
  background: linear-gradient(135deg, #fff 0%, #f97316 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1.5rem;
  display: block;
}

#placeOrderBtn {
  width: 100%;
  padding: 1.2rem;
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: 50px;
  background: linear-gradient(90deg, #f97316, #ec4899, #8b5cf6, #3b82f6);
  background-size: 200% auto;
  color: white;
  border: none;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 10px 20px -10px rgba(249, 115, 22, 0.5);
  transition: all 0.4s ease;
  animation: bg-pan 6s linear infinite;
  cursor: pointer;
}

#placeOrderBtn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(234, 88, 12, 0.5);
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.order-card {
  background: rgba(255, 255, 255, 0.03);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.order-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.order-meta {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.order-items {
  font-size: 0.9rem;
  color: var(--text-light);
}

.footer {
  margin-top: 5rem;
  background:
    radial-gradient(circle at 15% 85%, rgba(249, 115, 22, 0.20), transparent 45%),
    radial-gradient(circle at 85% 15%, rgba(236, 72, 153, 0.15), transparent 45%),
    radial-gradient(circle at 50% 50%, rgba(59, 130, 246, 0.15), transparent 55%),
    radial-gradient(circle at 80% 80%, rgba(139, 92, 246, 0.10), transparent 40%),
    linear-gradient(to top, #000000, #0b0b0e);
  background-size: cover;
  animation: bg-pan 20s ease infinite alternate;
  color: #a1a1aa;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #f97316, #ec4899, #8b5cf6, #3b82f6);
  background-size: 200% auto;
  animation: bg-pan 6s linear infinite;
  opacity: 1;
}

.footer-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 4rem 2rem 2rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.03), rgba(15, 23, 42, 0.4));
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.05);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-col h4 {
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.footer-about {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #d4d4d8;
  margin-top: 1.5rem;
  max-width: 90%;
}

.menu-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.75rem;
  min-width: 80px;
  flex-shrink: 0;
  height: 100%;
}

.menu-rate-icon-btn {
  width: 34px !important;
  height: 34px !important;
  border-radius: 50% !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  background: rgba(255, 255, 255, 0.05) !important;
  color: #94a3b8 !important;
  transition: all 0.2s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
  cursor: pointer;
}

.menu-rate-icon-btn:hover {
  background: rgba(251, 191, 36, 0.15) !important;
  border-color: rgba(251, 191, 36, 0.4) !important;
  color: #fbbf24 !important;
  transform: scale(1.1) !important;
}

@media (max-width: 480px) {
  .menu-item-row {
    padding: 0.85rem 1rem;
    gap: 0.75rem;
    border-radius: 12px;
  }

  .menu-item-name {
    font-size: 1.05rem;
  }

  .menu-item-price {
    font-size: 0.95rem;
  }

  .menu-add-btn {
    padding: 0.5rem 1.2rem;
    font-size: 0.85rem;
    min-height: 34px;
  }

  .menu-rate-icon-btn {
    width: 30px !important;
    height: 30px !important;
    font-size: 0.9rem;
  }
}




.rating-stars {
  display: flex;
  gap: 0.2rem;
}

.rating-stars button {
  background: transparent;
  border: none;
  font-size: 1.5rem;
  color: #52525b;
  cursor: pointer;
  transition: transform 0.2s, color 0.2s;
}

.rating-stars button.active,
.rating-stars button:hover {
  color: #fbbf24;

  transform: scale(1.2);
}

.menu-actions .ghost-btn {
  border-color: rgba(255, 255, 255, 0.1);
  color: #fbbf24;
}

.menu-actions .ghost-btn:hover {
  background: rgba(251, 191, 36, 0.1);
  border-color: #fbbf24;
}

.founder-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.founder-img-small {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.1);
  object-fit: cover;
  cursor: zoom-in;
  transition: transform 0.3s;
}

.founder-img-small:hover {
  transform: scale(1.1);
  border-color: var(--primary);
}

.founder-name {
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
}

.founder-role {
  font-size: 0.85rem;
  color: var(--primary);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
}

.footer-links .icon {
  font-size: 1.1rem;
  opacity: 0.8;
  color: var(--primary);
}

.footer-links a {
  color: #e4e4e7;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  display: inline-block;
}

.footer-links li a:hover {
  color: #fff;
  text-shadow: 0 0 10px rgba(249, 115, 22, 0.4);
  transform: translateX(8px) scale(1.02);
}

.social-icon {
  width: 20px;
  height: 20px;
  fill: #e4e4e7;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.footer-links li:hover .social-icon {
  fill: var(--primary);
  filter: drop-shadow(0 0 8px rgba(249, 115, 22, 0.6));
  transform: scale(1.15) rotate(5deg);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  text-align: center;
}

.copyright {
  font-size: 0.9rem;
  color: #71717a;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }

  .footer-col {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .footer-about {
    max-width: 100%;
    margin-inline: auto;
  }

  .founder-item {
    flex-direction: column;
    text-align: center;
  }

  .footer-links li {
    justify-content: center;
  }
}

.image-modal {
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.95);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  backdrop-filter: blur(10px);
  animation: fadeIn 0.3s ease;
}

.modal-content {
  max-width: 90%;
  max-height: 80vh;
  border-radius: var(--radius-md);
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.8);
  animation: zoomIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 2px solid rgba(255, 255, 255, 0.1);
}

#caption {
  margin-top: 1rem;
  color: #ccc;
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: 0.5px;
}

.close-modal {
  position: absolute;
  top: 2rem;
  right: 3rem;
  color: #fff;
  font-size: 3rem;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.2s;
}

.close-modal:hover {
  color: var(--primary);
}

@keyframes zoomIn {
  from {
    transform: scale(0.8);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.trust-popup {
  position: fixed;
  top: 1.5rem;
  left: 50%;
  transform: translate(-50%, -20px) scale(0.95);
  background: linear-gradient(135deg, rgba(24, 24, 27, 0.95), rgba(39, 39, 42, 0.98));
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 1rem 1.5rem;
  border-radius: 50px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6), 0 0 20px rgba(16, 185, 129, 0.1);
  display: flex;
  align-items: center;
  gap: 1rem;
  z-index: 10000;
  width: max-content;
  max-width: 90vw;
  opacity: 0;
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  pointer-events: none;
}

.trust-popup.show {
  transform: translate(-50%, 0) scale(1);
  opacity: 1;
  pointer-events: all;
}

.trust-popup.hidden {
  display: none !important;
}

.trust-icon {
  font-size: 1.5rem;
  background: rgba(16, 185, 129, 0.15);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.2);
}

.trust-content strong {
  display: block;
  font-size: 0.95rem;
  color: #fff;
  margin-bottom: 0.1rem;
  letter-spacing: 0.5px;
}

.trust-content p {
  font-size: 0.85rem;
  color: #a1a1aa;
  margin: 0;
  line-height: 1.4;
}

.close-popup-btn {
  position: relative;
  background: transparent;
  border: none;
  color: #71717a;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  margin-left: 0.5rem;
  transition: color 0.2s, transform 0.2s;
}

.close-popup-btn:hover {
  color: #fff;
  transform: scale(1.1);
}

@media(max-width: 480px) {
  .trust-popup {
    top: 1rem;
    flex-direction: column;
    padding: 1rem 1.25rem;
    border-radius: 1.5rem;
    text-align: center;
    gap: 0.75rem;
  }

  .close-popup-btn {
    position: absolute;
    top: 12px;
    right: 16px;
    margin-left: 0;
  }
}

.toast {
  position: fixed;
  top: 2rem;
  left: 50%;
  transform: translate(-50%, -150%);
  background: rgba(15, 23, 42, 0.85);
  color: var(--text-main);
  padding: 1rem 1.5rem;
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-left: 4px solid var(--primary);
  transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.5s;
  z-index: 10000;
  display: flex;
  align-items: center;
  gap: 1rem;
  min-width: 300px;
  max-width: 90%;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  font-weight: 500;
  opacity: 0;
}

.toast.show {
  transform: translate(-50%, 0);
  opacity: 1;
}

.toast-success {
  border-left-color: var(--success);
  box-shadow: 0 10px 40px rgba(16, 185, 129, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.toast-error {
  border-left-color: var(--error);
  box-shadow: 0 10px 40px rgba(239, 68, 68, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

@media (max-width: 900px) {
  .hero-wrap {
    flex-direction: column;
    text-align: center;
  }

  .hero-left h2 {
    font-size: 2.2rem;
  }

  .hero-points {
    justify-content: center;
  }

  .stall-detail-layout {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .cart-column {
    position: relative;

    top: 0;
    max-height: none;
    margin-top: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
  }

  .cart-list {
    max-height: 400px;

  }

  .grid-2 {
    grid-template-columns: 1fr;
    gap: 1.25rem;

  }

  .hero-image-card {
    transform: none !important;
    margin-top: 2rem;
  }
}


@media (max-width: 768px) {
  .navbar {
    padding: 0 1rem;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: absolute;
    top: calc(var(--nav-height) + 10px);
    left: 1rem;
    right: 1rem;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    flex-direction: column;
    padding: 1.5rem;
    gap: 0.8rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px) scale(0.98);
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    display: flex;
    transform-origin: top center;
  }

  .nav-links.nav-links-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
  }

  .stall-grid {
    grid-template-columns: 1fr;
  }

  .page {
    padding: 1rem;
    padding-top: calc(var(--nav-height) + 1.5rem);
  }

  .card {
    padding: 1.25rem;
    border-radius: var(--radius-lg);
  }

  .section-header {
    margin-bottom: 1.5rem;
  }

  .primary-btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
    width: auto;
  }

  #adminSection.card {
    padding: 1rem 0.5rem;

    margin-left: -0.5rem;

    margin-right: -0.5rem;
    width: calc(100% + 1rem);
    border-radius: var(--radius-md);
  }

  #adminSection .table-wrapper {
    border: none;

  }
}

.nav-cart-icon {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 64px;
  height: 64px;
  background: var(--primary-gradient);
  color: white;
  border-radius: 50%;
  border: none;
  box-shadow: 0 10px 25px var(--primary-glow);
  cursor: pointer;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: all var(--duration-med) var(--ease-spring);
  animation: pulse-glow 3s infinite;
}

.nav-cart-icon:hover {
  transform: scale(1.15) rotate(-10deg);
  background: var(--primary-hover);
  box-shadow: 0 15px 35px rgba(249, 115, 22, 0.6);
}

.nav-cart-count {
  position: absolute;
  top: 0;
  right: 0;
  background: var(--error);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--bg-dark);
}

@keyframes pulse-glow {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(249, 115, 22, 0.4);
  }

  50% {
    box-shadow: 0 0 0 10px rgba(249, 115, 22, 0);
  }
}


.rating-summary {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  background: rgba(255, 255, 255, 0.03);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-md);
  margin-top: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.rating-summary:hover {
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-2px);
}

.rating-score {
  background: var(--success);
  color: #fff;
  font-size: 1.25rem;
  font-weight: 800;
  padding: 0.3rem 0.6rem;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 0.3rem;
  box-shadow: 0 4px 10px rgba(16, 185, 129, 0.3);
}

.rating-score::before {
  content: '★';
  font-size: 1rem;
}

.rating-meta {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

#stallRatingText {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-main);
}

#stallRatingCount {
  font-size: 0.75rem;
}

.review-form {
  background: rgba(255, 255, 255, 0.02);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  margin-bottom: 2rem;
}

.rating-stars {
  display: flex;
  gap: 0.5rem;
  margin: 0.5rem 0;
}

.rating-stars button {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #52525b;
  cursor: pointer;
  transition: transform 0.2s;
}

.rating-stars button:hover,
.rating-stars button.active {
  color: var(--warning);
  transform: scale(1.2);
}

.review-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1rem;
}

.review-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 1rem;
}

.review-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
  font-weight: 600;
}

.review-stars {
  color: var(--warning);
}

.review-text {
  color: var(--text-light);
  font-size: 0.95rem;
  font-style: italic;
}

.admin-filters {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: end;
  background: rgba(255, 255, 255, 0.02);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  margin-bottom: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.admin-buttons {
  display: flex;
  gap: 1rem;
  margin-left: auto;
}

.table-wrapper {
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.orders-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 800px;
}

.orders-table th,
.orders-table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.orders-table th {
  background: rgba(255, 255, 255, 0.03);
  font-weight: 600;
  color: var(--text-muted);
  font-size: 0.85rem;
  text-transform: uppercase;
}

.orders-table tr:hover {
  background: rgba(255, 255, 255, 0.02);
}

.orders-table td:last-child {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.ghost-btn.small {
  padding: 0.4rem 0.8rem;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.02);
  transition: all 0.2s ease;
}

.ghost-btn.small:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-1px);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

input[readonly] {
  background: rgba(0, 0, 0, 0.2);
  border-color: transparent;
  color: var(--text-muted);
  cursor: default;
}

input[readonly]:focus {
  box-shadow: none;
  border-color: transparent;
}

#phoneHint {
  margin-top: 0.5rem;
  color: var(--warning);
  font-size: 0.8rem;
}

.toggle-switch {
  position: relative;
  width: 50px;
  height: 26px;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #3f3f46;
  transition: .4s;
  border-radius: 34px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: .4s;
  border-radius: 50%;
}

input:checked+.slider {
  background-color: var(--success);
}

input:checked+.slider:before {
  transform: translateX(24px);
}

.menu-item-row.unavailable {
  opacity: 0.5;
  filter: grayscale(100%);

}

.menu-item-row.unavailable .menu-item-name {
  text-decoration: line-through;
  color: var(--text-muted);
}

.menu-item-row.unavailable .menu-add-btn {
  background: #52525b;
  cursor: not-allowed;
  pointer-events: none;
}

.stall-card.closed {
  filter: grayscale(100%);
  opacity: 0.8;

  position: relative;
}

.stall-card.closed::after {
  content: "CLOSED TODAY";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-10deg);
  background: rgba(220, 38, 38, 0.95);
  color: white;
  padding: 0.5rem 1.5rem;
  font-weight: 800;
  font-size: 1.2rem;
  border-radius: 8px;
  z-index: 10;
  border: 2px solid white;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
  pointer-events: none;

}

.manage-menu-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem;
  background: rgba(255, 255, 255, 0.03);
  margin-bottom: 0.5rem;
  border-radius: var(--radius-sm);
}

.manage-menu-item.unavailable-marked {
  background: rgba(220, 38, 38, 0.1);
  border: 1px solid rgba(220, 38, 38, 0.3);
}

.stall-toggle-btn {
  position: absolute;
  bottom: 15px;
  right: 15px;
  padding: 0.5rem 1rem;
  border-radius: 9999px;

  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 20;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  text-transform: uppercase;
  backdrop-filter: blur(4px);
}

.stall-toggle-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.stall-toggle-btn:active {
  transform: translateY(0);
}

.stall-toggle-btn.open {
  background: rgba(220, 38, 38, 0.9);

  color: white;
  border-color: rgba(220, 38, 38, 0.5);
}

.stall-toggle-btn.open:hover {
  background: rgba(220, 38, 38, 1);
}

.stall-toggle-btn.closed {
  background: rgba(16, 185, 129, 0.9);

  color: white;
  border-color: rgba(16, 185, 129, 0.5);
}

.stall-toggle-btn.closed:hover {
  background: rgba(16, 185, 129, 1);
}

.status-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-right: 0.5rem;
}

.status-placed {
  background: rgba(59, 130, 246, 0.15);
  color: #60a5fa;
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.status-preparing {
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.status-ready {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.status-completed,
.status-delivered {
  background: rgba(113, 113, 122, 0.2);
  color: #d4d4d8;
  border: 1px solid rgba(113, 113, 122, 0.3);
}

.status-rejected,
.status-cancelled {
  background: rgba(220, 38, 38, 0.15);
  color: #f87171;
  border: 1px solid rgba(220, 38, 38, 0.3);
}

@media (max-width: 768px) {
  .admin-coupons-section {
    padding-top: 1.5rem !important;
    margin-top: 1.5rem !important;
  }

  #createCouponForm {
    grid-template-columns: 1fr !important;
    gap: 0.75rem !important;
  }

  #createCouponForm .field[style*="grid-column: span 2"] {
    grid-column: auto !important;
  }

  .inner-card {
    padding: 1rem !important;
  }

  .admin-coupons-section .table-wrapper {
    margin-top: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
  }
}

.coupon-input-container {
  margin-top: 1rem;
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.coupon-input {
  flex: 1;

  min-width: 0;

  padding: 0.7rem 0.8rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  color: white;
  font-size: 0.95rem;
  transition: all 0.2s;
}

.coupon-input:focus {
  border-color: var(--primary);
  background: rgba(0, 0, 0, 0.2);
  outline: none;
}

.apply-coupon-btn {
  padding: 0.7rem 1.2rem;
  white-space: nowrap;

  flex-shrink: 0;

  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;

}

.modal {
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.85);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  backdrop-filter: blur(8px);
  animation: fadeIn 0.3s ease;
  padding: 1rem;
}

.small-modal {
  width: 100%;
  max-width: 400px;
  background: var(--bg-card);
  padding: 2rem;
  position: relative;
  text-align: center;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  animation: scaleUpFade 0.4s var(--ease-spring) forwards;
}

@keyframes scaleUpFade {
  from {
    transform: scale(0.95);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

.variant-options {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-top: 1.5rem;
  max-height: 50vh;
  overflow-y: auto;
}

.variant-option-btn {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.2rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.2s ease;
  color: var(--text-main);
  font-weight: 600;
  font-size: 0.95rem;
}

.variant-option-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.variant-option-btn .v-price {
  font-weight: 800;
  color: var(--primary);
}

.small-modal .close-modal {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 1.8rem;
  line-height: 1;
  color: var(--text-muted);
  cursor: pointer;
}

.small-modal .close-modal:hover {
  color: var(--error);
}

.variant-price-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.2rem;
}

.variant-names {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
}

.variant-prices {
  font-size: 0.95rem;
  color: var(--primary);
  font-weight: 700;
}

.floating-cart-btn {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;

  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 90%;
  max-width: 400px;

  background: var(--primary-gradient);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  padding: 0.8rem 1.5rem;
  box-shadow: 0 10px 25px rgba(249, 115, 22, 0.4);

  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  cursor: pointer;

  transition: all 0.3s var(--ease-spring);
  animation: slideUpFade 0.4s var(--ease-spring) forwards;
}

.floating-cart-btn:hover {
  transform: translateX(-50%) translateY(-5px) scale(1.02);
  box-shadow: 0 15px 35px rgba(249, 115, 22, 0.5);
}

.floating-cart-btn:active {
  transform: translateX(-50%) scale(0.98);
}

.float-cart-info {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 1rem;
}

.float-count {
  background: rgba(255, 255, 255, 0.2);
  padding: 0.2rem 0.6rem;
  border-radius: 20px;
  font-size: 0.85rem;
}

.float-divider {
  opacity: 0.5;
  font-weight: 300;
}

.float-total {
  font-size: 1.1rem;
  font-weight: 700;
}

.float-cart-action {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.floating-cart-btn.hidden {
  display: none !important;
}

@keyframes slideUpFade {
  from {
    opacity: 0;
    bottom: -2rem;
  }

  to {
    opacity: 1;
    bottom: 2rem;
  }
}

@media (min-width: 901px) {
  .floating-cart-btn {
    display: none !important;
  }
}

.ripple {
  position: absolute;
  border-radius: 50%;
  transform: scale(0);
  animation: ripple-animation 600ms linear;
  background-color: rgba(255, 255, 255, 0.4);
  pointer-events: none;
}

@keyframes ripple-animation {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

section:not(.hidden) {
  animation: sectionFadeIn var(--duration-slow) var(--ease-smooth) forwards;
}

@keyframes sectionFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.skeleton {
  background: linear-gradient(-90deg, var(--bg-card-solid) 0%, var(--bg-hover) 50%, var(--bg-card-solid) 100%);
  background-size: 400% 400%;
  animation: loading-skeleton 1.5s ease-in-out infinite;
  border-radius: var(--radius-sm);
}

@keyframes loading-skeleton {
  0% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

.skeleton-img {
  width: 100%;
  height: 220px;
  border-radius: 0;
}

.skeleton-text {
  height: 20px;
  margin-bottom: 10px;
  width: 80%;
}

.skeleton-text.short {
  width: 50%;
}

/* UI IMPROVEMENTS */

@keyframes sectionFadeUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

main.page>.card:not(.hidden) {
  animation: sectionFadeUp 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.empty-state-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem 1.5rem;
  background: rgba(30, 41, 59, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-xl);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  text-align: center;
  margin: 2rem 0;
}

.empty-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  animation: floatBounce 3s ease-in-out infinite;
}

@keyframes floatBounce {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

.empty-state-card p {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 0.25rem;
}

.empty-state-card span {
  font-size: 0.9rem;
}

@keyframes shake {

  0%,
  100% {
    transform: translateX(0);
  }

  25% {
    transform: translateX(-5px);
    border-color: var(--error);
    box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.3);
  }

  75% {
    transform: translateX(5px);
    border-color: var(--error);
    box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.3);
  }
}

.shake-animation {
  animation: shake 0.3s ease-in-out;
}

.scroll-to-top {
  position: fixed;
  bottom: 7.5rem;
  right: 2rem;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(249, 115, 22, 0.2);
  color: var(--primary);
  border: 1px solid var(--primary);
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 9000;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(249, 115, 22, 0.2);
}

.scroll-to-top:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 25px rgba(249, 115, 22, 0.4);
}

.skeleton-tag {
  height: 24px;
  width: 60px;
  border-radius: var(--radius-sm);
}