@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');

/* ===================== VARIABLES ===================== */
:root {
  --font-sans: "Poppins", ui-sans-serif, system-ui, sans-serif;
  --font-serif: "Playfair Display", Georgia, serif;

  --color-gold: #cda45e;
  --color-gold-hover: #d9ba85;
  --color-dark-bg: #0c0b09;
  --color-dark-surface: #1a1814;

  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;

  --blue-400: #60a5fa;
  --green-400: #4ade80;
  --green-500: #22c55e;
  --red-400: #f87171;
  --red-500: #ef4444;
  --red-600: #dc2626;
  --yellow-400: #facc15;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background-color: var(--color-dark-bg);
  color: #ffffff;
  font-family: var(--font-sans);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

button, input, select, textarea {
  font-family: inherit;
  font-size: 1rem;
  color: inherit;
}

button { cursor: pointer; }

ul { list-style: none; margin: 0; padding: 0; }

h1, h2, h3, h4, h5, h6, p { margin: 0; }

.font-serif { font-family: var(--font-serif); }

/* ===================== LAYOUT UTILITIES ===================== */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

.section { padding: 6rem 0; }
.bg-surface { background-color: var(--color-dark-surface); }
.bg-bg { background-color: var(--color-dark-bg); }

.text-gold { color: var(--color-gold); }
.text-white { color: #fff; }
.text-gray { color: var(--gray-400); }

.hidden { display: none !important; }

.hover-scale { transition: transform 0.3s; }
.hover-scale:hover { transform: scale(1.1); }
.hover-scale-slow { transition: transform 0.5s; }
.hover-scale-slow:hover { transform: scale(1.05); }

.hover-gold { transition: color 0.2s; }
.hover-gold:hover { color: var(--color-gold); }

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes ping {
  75%, 100% { transform: scale(2); opacity: 0; }
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}
@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.fade-in-up { animation: fadeInUp 0.8s ease-out forwards; }
.fade-in { animation: fadeIn 0.3s ease-out; }

/* icon sizing */
.icon { width: 1.25rem; height: 1.25rem; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vertical-align: middle; }
.icon-sm { width: 1rem; height: 1rem; }
.icon-xs { width: 0.875rem; height: 0.875rem; }
.icon-lg { width: 1.5rem; height: 1.5rem; }
.icon-xl { width: 2rem; height: 2rem; }
.icon-2xl { width: 3rem; height: 3rem; }

/* ===================== BUTTONS & FORM ELEMENTS ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 500;
  border-radius: 9999px;
  padding: 0.75rem 2.5rem;
  border: none;
  transition: background-color .2s, opacity .2s, transform .2s;
}
.btn-gold { background: var(--color-gold); color: #000; }
.btn-gold:hover { background: var(--color-gold-hover); }
.btn-gold:disabled { opacity: .5; cursor: default; }
.btn-outline-gold {
  background: transparent; border: 2px solid var(--color-gold); color: #fff; border-radius: 9999px;
}
.btn-outline-gold:hover { background: rgba(255,255,255,.05); }
.btn-rect-gold { background: var(--color-gold); color: #000; border-radius: 4px; padding: 0.5rem 1rem; font-weight: 500; }
.btn-rect-gold:hover { background: var(--color-gold-hover); }

.form-input, .form-select, .form-textarea {
  background: transparent;
  border: 1px solid var(--gray-700);
  border-radius: 6px;
  padding: 0.75rem;
  color: #fff;
  width: 100%;
  transition: border-color .2s;
}
.form-input:focus, .form-select:focus, .form-textarea:focus { outline: none; border-color: var(--color-gold); }
.form-textarea { resize: none; }
.form-select { background-color: #000; cursor: pointer; appearance: none; }
.form-select option { background: #000; }

.form-input-dark {
  background: #000;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 6px;
  padding: 0.75rem;
  color: #fff;
  width: 100%;
}
.form-input-dark:focus { outline: none; border-color: var(--color-gold); }

/* ===================== HEADER ===================== */
.site-header {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 50;
  transition: background-color .3s, padding .3s;
  padding: 1.5rem 0;
  background: transparent;
}
.site-header.scrolled {
  background: rgba(0,0,0,.85);
  backdrop-filter: blur(8px);
  padding: 1rem 0;
}
.header-topbar {
  display: none;
  justify-content: space-between;
  align-items: center;
  max-width: 1280px;
  margin: 0 auto 1rem;
  padding: 0 1rem 0.5rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
  font-size: .875rem;
  color: var(--gray-300);
}
@media (min-width: 768px) { .header-topbar { display: flex; } }
.header-topbar .item { display: flex; align-items: center; gap: .5rem; }
.header-topbar-right { display: flex; align-items: center; gap: 1rem; }
.header-topbar-right .lang-active { color: #fff; font-weight: 500; }
.header-topbar-right .lang-inactive { color: var(--gray-500); cursor: pointer; }

.header-main {
  max-width: 1280px; margin: 0 auto; padding: 0 1rem;
  display: flex; justify-content: space-between; align-items: center;
}
.header-logo { font-family: var(--font-serif); font-size: 1.875rem; letter-spacing: .1em; color: #fff; text-transform: uppercase; }

.header-nav { display: none; align-items: center; gap: 1.1rem; flex-wrap: nowrap; }
@media (min-width: 1024px) { .header-nav { display: flex; } }
@media (min-width: 1280px) { .header-nav { gap: 1.5rem; } }
.nav-link {
  background: none; border: none; font-size: .78rem; font-weight: 500; letter-spacing: .02em;
  color: #fff; text-transform: uppercase; transition: color .2s; white-space: nowrap;
}
.nav-link:hover { color: var(--color-gold); }

.header-user-pill {
  display: flex; align-items: center; gap: .5rem;
  background: rgba(255,255,255,.05); padding: .3rem .65rem; border-radius: 9999px;
  border: 1px solid rgba(255,255,255,.1); white-space: nowrap;
}
.header-user-pill .hi { font-size: .68rem; color: var(--gray-300); }
.header-user-pill .admin-link { font-size: .68rem; color: var(--blue-400); font-weight: 500; text-transform: uppercase; white-space: nowrap; }
.header-user-pill .admin-link:hover { color: #93c5fd; }
.header-user-pill .logout-btn { font-size: .68rem; color: var(--red-400); font-weight: 500; text-transform: uppercase; background: none; border: none; white-space: nowrap; }
.header-user-pill .logout-btn:hover { color: #fca5a5; }

.header-login-link { font-size: .875rem; font-weight: 500; color: var(--gray-400); text-transform: uppercase; }
.header-login-link:hover { color: var(--color-gold); }

.header-mobile-toggle { display: block; background: none; border: none; color: #fff; }
@media (min-width: 1024px) { .header-mobile-toggle { display: none; } }

.header-mobile-menu {
  display: none;
  position: absolute; top: 100%; left: 0; width: 100%;
  background: rgba(0,0,0,.95); backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 1.5rem; flex-direction: column; gap: 1rem;
  box-shadow: 0 20px 30px rgba(0,0,0,.4);
}
.header-mobile-menu.open { display: flex; }
.mobile-nav-link { background: none; border: none; font-size: 1.125rem; font-weight: 500; color: #fff; text-align: left; text-transform: uppercase; }
.mobile-user-block { display: flex; flex-direction: column; gap: .5rem; padding: .5rem 0; border-top: 1px solid rgba(255,255,255,.1); }
.mobile-user-block .hi { font-size: .875rem; color: var(--gray-400); }
.mobile-admin-link { font-size: 1.125rem; font-weight: 500; color: var(--blue-400); text-transform: uppercase; }
.mobile-logout-btn { font-size: 1.125rem; font-weight: 500; color: var(--red-400); text-align: left; text-transform: uppercase; background: none; border: none; }
.mobile-book-btn { margin-top: 1rem; width: 100%; padding: .75rem 0; font-size: .875rem; }

/* ===================== HERO ===================== */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  padding-top: 6rem; padding-bottom: 3rem;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background-image: url('https://images.unsplash.com/photo-1514933651103-005eec06c04b?q=80&w=1934&auto=format&fit=crop');
  background-size: cover; background-position: center; background-attachment: fixed;
}
.hero-bg::after { content: ''; position: absolute; inset: 0; background: rgba(0,0,0,.6); }
.hero-inner { position: relative; z-index: 10; }
.hero-flex { display: flex; flex-direction: column; align-items: center; justify-content: space-between; }
@media (min-width: 1024px) { .hero-flex { flex-direction: row; } }
.hero-text { text-align: center; }
@media (min-width: 1024px) { .hero-text { width: 58.33%; text-align: left; } }
.hero-title { font-size: 2.25rem; font-weight: 700; line-height: 1.2; margin-bottom: 1rem; }
@media (min-width: 768px) { .hero-title { font-size: 3rem; } }
@media (min-width: 1024px) { .hero-title { font-size: 3.75rem; } }
.hero-subtitle { font-size: 1.125rem; color: var(--gray-300); font-weight: 300; margin-bottom: 2rem; max-width: 42rem; }
@media (min-width: 768px) { .hero-subtitle { font-size: 1.25rem; } }
.hero-play-wrap { width: 100%; margin-top: 4rem; display: flex; justify-content: center; }
@media (min-width: 1024px) { .hero-play-wrap { width: 41.66%; margin-top: 0; } }
.hero-play-btn {
  width: 6rem; height: 6rem; border-radius: 9999px; display: flex; align-items: center; justify-content: center;
  position: relative; background: rgba(205,164,94,.2);
}
.hero-play-inner {
  width: 4rem; height: 4rem; border-radius: 9999px; display: flex; align-items: center; justify-content: center;
  background: var(--color-gold); z-index: 10; transition: transform .3s;
}
.hero-play-btn:hover .hero-play-inner { transform: scale(1.1); }
.hero-play-inner .icon { color: #000; fill: #000; margin-left: 4px; }
.hero-ping { position: absolute; inset: 0; border-radius: 9999px; border: 2px solid var(--color-gold); animation: ping 2s cubic-bezier(0,0,0.2,1) infinite; opacity: .2; }

/* ===================== SECTION HEADER (shared) ===================== */
.section-eyebrow {
  font-size: .875rem; font-weight: 500; text-transform: uppercase; margin-bottom: .5rem;
  display: flex; align-items: center; letter-spacing: .2em; color: var(--color-gold);
}
.section-eyebrow .line { margin-left: 1rem; width: 8rem; height: 1px; background: var(--color-gold); opacity: .5; display: inline-block; }
.section-title { font-size: 1.875rem; font-family: var(--font-serif); color: #fff; text-transform: uppercase; }
@media (min-width: 768px) { .section-title { font-size: 2.25rem; } }
.section-head { margin-bottom: 4rem; }

/* ===================== ABOUT ===================== */
.about-flex { display: flex; flex-direction: column; gap: 3rem; align-items: center; }
@media (min-width: 1024px) { .about-flex { flex-direction: row; } }
.about-col { width: 100%; }
@media (min-width: 1024px) { .about-col { width: 50%; } }
.about-order-2 { order: 2; }
.about-order-1 { order: 1; }
@media (min-width: 1024px) { .about-order-2 { order: 1; } .about-order-1 { order: 2; } }
.about-heading { font-size: 1.875rem; font-family: var(--font-serif); color: #fff; margin-bottom: 1rem; }
.about-lead { font-style: italic; color: var(--gray-400); margin-bottom: 1.5rem; }
.about-list { margin-bottom: 1.5rem; display: flex; flex-direction: column; gap: 1rem; }
.about-list li { display: flex; align-items: flex-start; }
.about-list .icon { color: var(--color-gold); margin-right: .75rem; margin-top: .25rem; flex-shrink: 0; }
.about-list span { color: var(--gray-300); }
.about-img { width: 100%; height: auto; border-radius: 8px; box-shadow: 0 25px 50px rgba(0,0,0,.5); border: 4px solid rgba(255,255,255,.05); }

/* ===================== WHY US ===================== */
.whyus-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 768px) { .whyus-grid { grid-template-columns: repeat(3, 1fr); } }
.whyus-card {
  background: var(--color-dark-surface); padding: 2.5rem; border-radius: 12px; cursor: pointer;
  transition: background-color .3s;
}
.whyus-card:hover { background: var(--color-gold); }
.whyus-num { display: block; font-family: var(--font-serif); font-size: 2.25rem; font-weight: 700; color: var(--color-gold); margin-bottom: 1.5rem; transition: color .3s; }
.whyus-card:hover .whyus-num { color: #fff; }
.whyus-title { font-family: var(--font-serif); font-size: 1.5rem; color: #fff; margin-bottom: 1rem; transition: color .3s; }
.whyus-card:hover .whyus-title { color: #000; }
.whyus-desc { color: var(--gray-400); margin: 0; transition: color .3s; }
.whyus-card:hover .whyus-desc { color: rgba(0,0,0,.75); }

/* ===================== MENU ===================== */
.menu-filters { display: flex; justify-content: center; margin-bottom: 3rem; }
.menu-filters ul { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; }
@media (min-width: 768px) { .menu-filters ul { gap: 2rem; } }
.filter-btn { background: none; border: none; font-size: .875rem; font-weight: 500; letter-spacing: .03em; text-transform: uppercase; padding: .25rem .5rem; color: #fff; transition: color .2s; }
.filter-btn:hover { color: var(--color-gold); }
.filter-btn.active { color: var(--color-gold); }

.pagination { display: flex; justify-content: center; align-items: center; gap: 1.5rem; }
.pagination.mb { margin-bottom: 3rem; }
.pagination.mt { margin-top: 4rem; }
.pagination-btn {
  width: 2.5rem; height: 2.5rem; border-radius: 9999px; display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--color-gold); color: var(--color-gold); background: none; transition: opacity .2s;
}
.pagination.mt .pagination-btn { width: 3rem; height: 3rem; }
.pagination-btn:disabled { opacity: .3; }
.pagination-label { color: #fff; font-weight: 500; }

.menu-grid { display: grid; grid-template-columns: 1fr; gap: 2rem 3rem; }
@media (min-width: 768px) { .menu-grid { grid-template-columns: repeat(2, 1fr); } }
.menu-item {
  display: flex; flex-direction: column; align-items: center; gap: 1.5rem; cursor: pointer;
  padding: 1rem; border-radius: 12px; border: 1px solid transparent; transition: background-color .3s, border-color .3s;
}
@media (min-width: 640px) { .menu-item { flex-direction: row; align-items: flex-start; } }
.menu-item:hover { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.1); }
.menu-item-imgwrap { flex-shrink: 0; overflow: hidden; border-radius: 9999px; }
.menu-item-img {
  width: 6rem; height: 6rem; border-radius: 9999px; object-fit: cover; box-shadow: 0 10px 20px rgba(0,0,0,.4);
  border: 2px solid transparent; transition: border-color .5s, transform .5s;
}
@media (min-width: 768px) { .menu-item-img { width: 7rem; height: 7rem; } }
.menu-item:hover .menu-item-img { border-color: var(--color-gold); transform: scale(1.1); }
.menu-item-body { flex: 1; width: 100%; text-align: center; }
@media (min-width: 640px) { .menu-item-body { text-align: left; } }
.menu-item-head {
  display: flex; flex-direction: column; gap: .5rem; border-bottom: 1px dashed rgba(255,255,255,.2);
  padding-bottom: .5rem; margin-bottom: .75rem;
}
@media (min-width: 640px) { .menu-item-head { flex-direction: row; justify-content: space-between; align-items: baseline; gap: 1rem; } }
.menu-item-name { color: #fff; font-family: var(--font-serif); font-size: 1.25rem; font-weight: 700; transition: color .2s; }
.menu-item:hover .menu-item-name { color: var(--color-gold); }
.menu-item-price { color: var(--color-gold); font-weight: 700; font-size: 1.125rem; white-space: nowrap; }
.menu-item-desc { color: var(--gray-400); font-size: .875rem; font-style: italic; margin: 0; line-height: 1.6; }

.modal-overlay {
  position: fixed; inset: 0; z-index: 60; display: flex; align-items: center; justify-content: center;
  padding: 1rem; background: rgba(0,0,0,.8); backdrop-filter: blur(4px);
}
.modal-box { border-radius: 12px; width: 100%; background: var(--color-dark-surface); border: 1px solid rgba(255,255,255,.1); max-height: 90vh; overflow-y: auto; box-shadow: 0 25px 50px rgba(0,0,0,.6); }
.modal-box.w-2xl { max-width: 42rem; }
.modal-box.w-md { max-width: 28rem; }
.modal-box.w-lg { max-width: 32rem; }
.modal-header { display: flex; justify-content: space-between; align-items: center; padding: 1.5rem; border-bottom: 1px solid rgba(255,255,255,.1); }
.modal-header h3 { font-size: 1.25rem; font-family: var(--font-serif); color: #fff; }
.modal-close { background: none; border: none; color: var(--gray-400); }
.modal-close:hover { color: #fff; }
.menu-detail-body { padding: 1.5rem; display: flex; flex-direction: column; gap: 2rem; align-items: flex-start; }
@media (min-width: 768px) { .menu-detail-body { flex-direction: row; padding: 2rem; } }
.menu-detail-img { width: 100%; aspect-ratio: 1/1; object-fit: cover; border-radius: 8px; border: 1px solid rgba(255,255,255,.1); }
@media (min-width: 768px) { .menu-detail-img { width: 50%; } }
.menu-detail-info { display: flex; flex-direction: column; flex: 1; width: 100%; }
.menu-detail-name { font-size: 1.875rem; font-family: var(--font-serif); color: #fff; margin-bottom: .5rem; }
.menu-detail-price { font-size: 1.5rem; color: var(--color-gold); font-weight: 700; margin-bottom: 1.5rem; display: block; }
.menu-detail-desc { color: var(--gray-300); line-height: 1.6; margin-bottom: 2rem; }
.menu-detail-footer { margin-top: auto; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.1); }
.menu-detail-footer .btn { width: 100%; }

/* ===================== BOOK TABLE ===================== */
.book-form { padding: 2rem; border-radius: 12px; box-shadow: 0 25px 50px rgba(0,0,0,.4); background: var(--color-dark-surface); border: 1px solid rgba(255,255,255,.05); }
.book-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; margin-bottom: 1.5rem; }
@media (min-width: 768px) { .book-grid { grid-template-columns: repeat(3, 1fr); } }
input[type="date"], input[type="time"] { color-scheme: dark; }
.preorder-toggle { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 1rem; }
.preorder-btn { padding: .5rem 1rem; border-radius: 6px; transition: all .2s; background: transparent; color: #fff; border: 1px solid var(--gray-700); }
.preorder-btn:hover { border-color: var(--color-gold); }
.preorder-btn.active { background: var(--color-gold); color: #000; font-weight: 500; border-color: var(--color-gold); }
.preorder-list { border: 1px solid var(--gray-700); border-radius: 6px; padding: 1rem; max-height: 300px; overflow-y: auto; display: flex; flex-direction: column; gap: 1rem; }
.preorder-row { display: flex; justify-content: space-between; align-items: center; padding: .75rem; background: rgba(0,0,0,.5); border-radius: 6px; border: 1px solid rgba(255,255,255,.05); }
.preorder-row-left { display: flex; align-items: center; gap: 1rem; }
.preorder-row-left img { width: 3rem; height: 3rem; border-radius: 4px; object-fit: cover; }
.preorder-row-left h4 { color: #fff; font-weight: 500; }
.preorder-row-left span { color: var(--color-gold); font-size: .875rem; }
.qty-controls { display: flex; align-items: center; gap: .75rem; }
.qty-btn { width: 2rem; height: 2rem; display: flex; align-items: center; justify-content: center; border-radius: 9999px; background: var(--gray-800); color: #fff; border: none; transition: background .2s, color .2s; }
.qty-btn:hover { background: var(--color-gold); color: #000; }
.qty-value { color: #fff; min-width: 1.5rem; text-align: center; }
.deposit-box { margin-bottom: 2rem; padding: 1rem; border-radius: 6px; background: rgba(205,164,94,.1); border: 1px solid rgba(205,164,94,.3); text-align: center; }
.deposit-box .amount { color: var(--color-gold); font-weight: 700; font-size: 1.25rem; margin-left: .5rem; }
.deposit-box .note { color: var(--gray-400); font-size: .875rem; font-style: italic; }
.book-submit { text-align: center; }
.loading-text { color: var(--color-gold); }
.loading-slot { margin-bottom: 1rem; height: 2.5rem; }

/* ===================== CHEFS ===================== */
.chefs-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; }
@media (min-width: 768px) { .chefs-grid { grid-template-columns: repeat(3, 1fr); } }
.chef-card { cursor: pointer; }
.chef-imgwrap { position: relative; overflow: hidden; border-radius: 12px; margin-bottom: 1.5rem; border: 1px solid rgba(255,255,255,.1); transition: border-color .3s; }
.chef-card:hover .chef-imgwrap { border-color: var(--color-gold); }
.chef-img { width: 100%; height: 20rem; object-fit: cover; display: block; transition: transform .5s; }
.chef-card:hover .chef-img { transform: scale(1.1); }
.chef-name { font-family: var(--font-serif); font-size: 1.25rem; color: #fff; margin-bottom: .25rem; }
.chef-pos { color: var(--gray-400); font-size: .875rem; margin: 0; }

/* ===================== CONTACT ===================== */
.contact-map { width: 100%; margin-bottom: 3rem; border-radius: 12px; overflow: hidden; box-shadow: 0 25px 50px rgba(0,0,0,.4); border: 1px solid rgba(255,255,255,.05); height: 400px; }
.contact-map iframe { width: 100%; height: 100%; border: 0; }
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 1fr 2fr; } }
.contact-info { display: flex; flex-direction: column; gap: 2rem; }
.contact-info-item { display: flex; align-items: flex-start; gap: 1rem; }
.contact-info-icon { width: 3rem; height: 3rem; border-radius: 9999px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; background: rgba(205,164,94,.1); color: var(--color-gold); }
.contact-info-item h3 { font-size: 1.25rem; font-family: var(--font-serif); color: #fff; margin-bottom: .5rem; }
.contact-info-item p { color: var(--gray-400); white-space: pre-line; }
.contact-form { padding: 2rem; border-radius: 12px; box-shadow: 0 25px 50px rgba(0,0,0,.4); background: var(--color-dark-surface); border: 1px solid rgba(255,255,255,.05); display: flex; flex-direction: column; gap: 1.5rem; }
.contact-form-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 768px) { .contact-form-grid { grid-template-columns: repeat(2, 1fr); } }
.success-msg { color: var(--green-400); background: rgba(74,222,128,.1); padding: .75rem 1.25rem; border-radius: 6px; display: inline-block; }

/* ===================== FOOTER ===================== */
.footer { padding-top: 4rem; padding-bottom: 2rem; background: #000; border-top: 1px solid rgba(255,255,255,.1); }
.footer-grid { max-width: 1280px; margin: 0 auto; padding: 0 1rem; display: grid; grid-template-columns: 1fr; gap: 3rem; margin-bottom: 3rem; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: repeat(4, 1fr); } }
.footer-logo { font-family: var(--font-serif); font-size: 1.5rem; letter-spacing: .1em; color: #fff; text-transform: uppercase; display: block; margin-bottom: 1.5rem; transition: color .2s; }
.footer-logo:hover { color: var(--color-gold); }
.footer-addr { font-size: .875rem; color: var(--gray-400); display: flex; flex-direction: column; gap: .5rem; }
.footer-addr p { white-space: pre-line; }
.footer-addr .mt { margin-top: 1rem; }
.footer-addr strong { color: #fff; }
.footer-social { display: flex; gap: 1rem; margin-top: 1.5rem; }
.footer-social a { width: 2.5rem; height: 2.5rem; border-radius: 9999px; display: flex; align-items: center; justify-content: center; color: #fff; background: #28251f; transition: background .2s; }
.footer-social a:hover { background: var(--color-gold); }
.footer-heading { font-size: 1.125rem; font-weight: 700; color: #fff; margin-bottom: 1.5rem; text-transform: uppercase; letter-spacing: .05em; }
.footer-links { font-size: .875rem; color: var(--gray-400); display: flex; flex-direction: column; gap: .75rem; }
.footer-newsletter p { font-size: .875rem; color: var(--gray-400); margin-bottom: 1rem; }
.footer-subscribe { display: flex; border-radius: 9999px; overflow: hidden; border: 1px solid var(--gray-700); }
.footer-subscribe input { background: transparent; border: none; padding: .5rem 1rem; color: #fff; font-size: .875rem; flex: 1; min-width: 0; }
.footer-subscribe input:focus { outline: none; }
.footer-subscribe button { background: var(--color-gold); color: #000; padding: .5rem 1.5rem; font-weight: 500; border: none; }
.footer-subscribe button:hover { background: var(--color-gold-hover); }
.footer-bottom { text-align: center; font-size: .875rem; color: var(--gray-400); padding-top: 2rem; border-top: 1px solid rgba(255,255,255,.1); max-width: 1280px; margin: 0 auto; }
.footer-bottom strong { color: #fff; }
.footer-bottom .small { margin-top: .5rem; font-size: .75rem; }

/* ===================== LOGIN PAGE ===================== */
.login-page { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; position: relative; overflow: hidden; background: var(--color-dark-bg); }
.login-bg { position: absolute; inset: 0; pointer-events: none; opacity: .2; background-image: url('https://images.unsplash.com/photo-1514933651103-005eec06c04b?q=80&w=1934&auto=format&fit=crop'); background-size: cover; background-position: center; filter: blur(4px); }
.login-overlay { position: absolute; inset: 0; background: rgba(0,0,0,.6); z-index: 0; }
.login-wrap { width: 100%; max-width: 28rem; position: relative; z-index: 10; padding: 0 1rem; }
.login-head { text-align: center; margin-bottom: 2.5rem; }
.login-head .logo { font-size: 1.875rem; }
.login-head .mode { letter-spacing: .2em; text-transform: uppercase; font-size: .875rem; margin-top: .5rem; color: var(--color-gold); }
.login-card { padding: 2rem; border-radius: 8px; box-shadow: 0 25px 50px rgba(0,0,0,.4); background: var(--color-dark-surface); border: 1px solid rgba(255,255,255,.05); }
.login-card h2 { font-size: 1.5rem; color: #fff; font-family: var(--font-serif); margin-bottom: 1.5rem; text-align: center; }
.alert-error { margin-bottom: 1rem; padding: .75rem; border-radius: 6px; background: rgba(239,68,68,.1); border: 1px solid rgba(239,68,68,.2); color: var(--red-400); font-size: .875rem; text-align: center; }
.alert-success { margin-bottom: 1rem; padding: .75rem; border-radius: 6px; background: rgba(34,197,94,.1); border: 1px solid rgba(34,197,94,.2); color: var(--green-400); font-size: .875rem; text-align: center; }
.login-form { display: flex; flex-direction: column; gap: 1.5rem; }
.input-icon-wrap { position: relative; }
.input-icon-wrap .icon-slot { position: absolute; top: 0; bottom: 0; left: 0; padding-left: .75rem; display: flex; align-items: center; pointer-events: none; color: var(--gray-500); }
.input-icon-wrap input { padding-left: 2.5rem; border-radius: 6px; padding-top: .75rem; padding-bottom: .75rem; padding-right: .75rem; }
.login-submit { width: 100%; padding: .75rem 0; border-radius: 6px; }
.login-footer { margin-top: 1.5rem; display: flex; flex-direction: column; align-items: center; gap: .75rem; }
.login-toggle-btn { font-size: .875rem; color: var(--color-gold); background: none; border: none; }
.login-toggle-btn:hover { color: #fff; }
.login-back { font-size: .875rem; color: var(--gray-400); }
.login-back:hover { color: #fff; }

/* ===================== DASHBOARD ===================== */
.dashboard { min-height: 100vh; display: flex; flex-direction: column; background: var(--color-dark-bg); }
@media (min-width: 768px) { .dashboard { flex-direction: row; } }
.sidebar { width: 100%; display: flex; flex-direction: column; background: var(--color-dark-surface); border-right: 1px solid rgba(255,255,255,.05); flex-shrink: 0; }
@media (min-width: 768px) { .sidebar { width: 16rem; } }
.sidebar-head { padding: 1.5rem; }
.sidebar-logo { font-size: 1.25rem; font-family: var(--font-serif); letter-spacing: .1em; color: #fff; text-transform: uppercase; display: block; transition: color .2s; }
.sidebar-logo:hover { color: var(--color-gold); }
.sidebar-tag { font-size: .75rem; text-transform: uppercase; letter-spacing: .2em; margin-top: .25rem; color: var(--color-gold); }
.sidebar-nav { flex: 1; padding: 0 1rem; display: flex; flex-direction: column; gap: .5rem; margin-top: 1rem; }
.sidebar-tab { width: 100%; display: flex; align-items: center; gap: .75rem; padding: .75rem 1rem; border-radius: 8px; transition: color .2s, background .2s; background: none; border: none; color: var(--gray-400); text-align: left; }
.sidebar-tab:hover { color: #fff; }
.sidebar-tab.active { background: rgba(0,0,0,.4); color: var(--color-gold); }
.sidebar-tab span { font-weight: 500; }
.sidebar-foot { padding: 1rem; border-top: 1px solid rgba(255,255,255,.05); }
.sidebar-logout { display: flex; align-items: center; gap: .75rem; color: var(--gray-400); padding: .75rem 1rem; border-radius: 8px; width: 100%; background: none; border: none; transition: color .2s; }
.sidebar-logout:hover { color: var(--red-400); }

.dash-main { flex: 1; padding: 2rem; overflow-y: auto; }
.dash-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2rem; flex-wrap: wrap; gap: 1rem; }
.dash-header h1 { font-size: 1.875rem; font-family: var(--font-serif); color: #fff; }
.dash-header-right { display: flex; align-items: center; gap: 1rem; font-size: .875rem; color: var(--gray-400); }
.avatar-circle { width: 2.5rem; height: 2.5rem; border-radius: 9999px; display: flex; align-items: center; justify-content: center; border: 1px solid rgba(205,164,94,.3); background: rgba(205,164,94,.2); color: var(--color-gold); font-weight: 500; flex-shrink: 0; }

.stat-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 768px) { .stat-grid { grid-template-columns: repeat(4, 1fr); } }
.stat-card { padding: 1.5rem; border-radius: 12px; display: flex; align-items: center; gap: 1rem; background: var(--color-dark-surface); border: 1px solid rgba(255,255,255,.05); }
.stat-icon { width: 3rem; height: 3rem; border-radius: 9999px; display: flex; align-items: center; justify-content: center; background: rgba(205,164,94,.1); color: var(--color-gold); flex-shrink: 0; }
.stat-label { color: var(--gray-400); font-size: .875rem; }
.stat-value { font-size: 1.5rem; font-weight: 700; color: #fff; margin-top: .25rem; }

.dash-split { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 1024px) { .dash-split { grid-template-columns: repeat(2, 1fr); } }
.panel { padding: 1.5rem; border-radius: 12px; background: var(--color-dark-surface); border: 1px solid rgba(255,255,255,.05); }
.panel h3 { font-size: 1.125rem; font-family: var(--font-serif); color: #fff; margin-bottom: 1rem; }
.empty-note { font-size: .875rem; color: var(--gray-500); }
.mini-row { padding: 1rem; background: rgba(0,0,0,.3); border-radius: 8px; border: 1px solid rgba(255,255,255,.05); display: flex; justify-content: space-between; align-items: center; font-size: .875rem; }
.mini-row + .mini-row { margin-top: 1rem; }
.mini-row .name { font-weight: 600; color: #fff; }
.mini-row .sub { font-size: .75rem; color: var(--gray-400); }
.status-badge { font-size: .625rem; padding: .125rem .5rem; border-radius: 4px; border: 1px solid; white-space: nowrap; }
.status-pending { color: var(--yellow-400); border-color: rgba(250,204,21,.2); background: rgba(250,204,21,.1); }
.status-confirmed { color: var(--blue-400); border-color: rgba(96,165,250,.2); background: rgba(96,165,250,.1); }
.status-completed { color: var(--green-400); border-color: rgba(74,222,128,.2); background: rgba(74,222,128,.1); }
.status-cancelled { color: var(--red-400); border-color: rgba(248,113,113,.2); background: rgba(248,113,113,.1); }

.contact-mini { padding: 1rem; background: rgba(0,0,0,.3); border-radius: 8px; border: 1px solid rgba(255,255,255,.05); font-size: .875rem; display: flex; flex-direction: column; gap: .25rem; }
.contact-mini + .contact-mini { margin-top: 1rem; }
.contact-mini-top { display: flex; justify-content: space-between; align-items: center; }
.contact-mini-top .date { font-size: .625rem; color: var(--gray-500); }
.contact-mini .subject { font-size: .75rem; color: var(--color-gold); font-weight: 500; }
.contact-mini .msg { font-size: .75rem; color: var(--gray-400); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ===================== ADMIN TABLES / CARDS (shared) ===================== */
.card-panel { border-radius: 12px; overflow: hidden; background: var(--color-dark-surface); border: 1px solid rgba(255,255,255,.05); }
.card-panel-head { padding: 1.5rem; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid rgba(255,255,255,.05); flex-wrap: wrap; gap: 1rem; }
.card-panel-head h2 { font-size: 1.25rem; font-family: var(--font-serif); color: #fff; }
.table-wrap { overflow-x: auto; }
table { width: 100%; text-align: left; border-collapse: collapse; }
thead tr { color: var(--gray-400); font-size: .875rem; text-transform: uppercase; letter-spacing: .03em; background: rgba(0,0,0,.4); }
thead th { padding: 1rem 1.5rem; font-weight: 500; }
tbody { color: var(--gray-300); }
tbody tr { border-bottom: 1px solid rgba(255,255,255,.05); transition: background-color .2s; }
tbody tr:hover { background: rgba(255,255,255,.05); }
tbody td { padding: 1rem 1.5rem; }
.text-right { text-align: right; }
.empty-row td { padding: 2rem 1.5rem; text-align: center; color: var(--gray-500); }
.table-thumb { width: 3rem; height: 3rem; border-radius: 9999px; object-fit: cover; border: 1px solid rgba(255,255,255,.1); }
.row-actions button { background: none; border: none; padding: .5rem; }
.action-edit { color: var(--blue-400); }
.action-edit:hover { color: #93c5fd; }
.action-delete { color: var(--red-400); }
.action-delete:hover { color: #fca5a5; }
.status-select { background: transparent; border: 1px solid rgba(255,255,255,.1); border-radius: 4px; padding: .25rem .5rem; font-weight: 500; }
.status-select option { background: #000; }

/* modal form grid */
.modal-form { padding: 1.5rem; display: flex; flex-direction: column; gap: 1.5rem; }
.modal-form-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 768px) { .modal-form-grid { grid-template-columns: repeat(2, 1fr); } }
.field { display: flex; flex-direction: column; gap: .5rem; }
.field label { font-size: .875rem; color: var(--gray-400); }
.field-row { display: flex; gap: .5rem; }
.upload-btn { display: flex; align-items: center; justify-content: center; padding: 0 1rem; cursor: pointer; border-radius: 6px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); transition: background .2s; }
.upload-btn:hover { background: rgba(255,255,255,.1); }
.upload-btn input { display: none; }
.img-preview { margin-top: .5rem; height: 5rem; width: 5rem; object-fit: cover; border-radius: 4px; border: 1px solid rgba(255,255,255,.1); }
.modal-actions { display: flex; justify-content: flex-end; gap: 1rem; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,.1); }
.btn-cancel { padding: .5rem 1.5rem; border-radius: 6px; background: transparent; border: 1px solid rgba(255,255,255,.15); color: #fff; }
.btn-cancel:hover { background: rgba(255,255,255,.05); }
.btn-confirm { background: var(--color-gold); color: #000; font-weight: 500; padding: .5rem 1.5rem; border-radius: 6px; border: none; }
.btn-confirm:hover { background: var(--color-gold-hover); }

/* delete confirm dialog */
.confirm-dialog { text-align: center; padding: 1.5rem; }
.confirm-icon { width: 4rem; height: 4rem; border-radius: 9999px; display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem; background: rgba(239,68,68,.1); color: var(--red-500); border: 1px solid rgba(239,68,68,.2); animation: pulse 2s infinite; }
.confirm-dialog h3 { font-size: 1.125rem; font-family: var(--font-serif); color: #fff; margin-bottom: .5rem; font-weight: 600; }
.confirm-dialog p { color: var(--gray-400); font-size: .875rem; margin-bottom: 1.5rem; }
.confirm-actions { display: flex; justify-content: center; gap: .75rem; }
.btn-danger { padding: .625rem 1.25rem; border-radius: 8px; background: var(--red-500); color: #fff; font-weight: 600; border: none; }
.btn-danger:hover { background: var(--red-600); }
.btn-secondary { padding: .625rem 1.25rem; border-radius: 8px; border: 1px solid rgba(255,255,255,.1); color: var(--gray-300); background: transparent; font-weight: 500; }
.btn-secondary:hover { background: rgba(255,255,255,.05); }

/* ===================== SYSTEM MANAGER FORM ===================== */
.system-form { padding: 1.5rem 2rem; display: flex; flex-direction: column; gap: 2rem; }
.system-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 768px) { .system-grid { grid-template-columns: repeat(2, 1fr); } }
.system-col { display: flex; flex-direction: column; gap: 1.5rem; }
.system-col h3 { font-size: 1.125rem; font-family: var(--font-serif); color: var(--color-gold); border-bottom: 1px solid rgba(255,255,255,.1); padding-bottom: .5rem; }
.system-submit-row { padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.1); display: flex; justify-content: flex-end; }

/* ===================== USER MANAGER ===================== */
.user-toolbar { padding: 1.5rem; display: grid; grid-template-columns: 1fr; gap: 1rem; border-bottom: 1px solid rgba(255,255,255,.05); }
@media (min-width: 640px) { .user-toolbar { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .user-toolbar { grid-template-columns: repeat(4, 1fr); } }
.search-wrap { position: relative; }
@media (min-width: 1024px) { .search-wrap { grid-column: span 2; } }
.search-wrap .icon { position: absolute; left: .75rem; top: 50%; transform: translateY(-50%); color: var(--gray-400); }
.search-wrap input { padding-left: 2.5rem; background: rgba(0,0,0,.4); border: 1px solid rgba(255,255,255,.1); border-radius: 8px; padding-top: .625rem; padding-bottom: .625rem; padding-right: 1rem; width: 100%; color: #fff; }
.search-wrap input::placeholder { color: var(--gray-500); }
.toolbar-select { width: 100%; background: rgba(0,0,0,.4); border: 1px solid rgba(255,255,255,.1); border-radius: 8px; padding: .625rem 1rem; color: #fff; cursor: pointer; }
.user-cell { display: flex; align-items: center; gap: .75rem; }
.user-avatar { width: 2.5rem; height: 2.5rem; border-radius: 9999px; display: flex; align-items: center; justify-content: center; background: var(--gray-800); color: var(--gray-300); font-weight: 700; border: 1px solid rgba(255,255,255,.1); flex-shrink: 0; }
.user-cell .name { font-weight: 600; color: #fff; }
.user-cell .email { font-size: .875rem; color: var(--gray-400); }
.user-cell .phone { font-size: .75rem; color: var(--gray-500); margin-top: .125rem; }
.role-badge { display: inline-flex; align-items: center; gap: .375rem; padding: .25rem .625rem; border-radius: 9999px; font-size: .75rem; font-weight: 500; border: 1px solid; }
.role-admin { background: rgba(239,68,68,.1); color: var(--red-400); border-color: rgba(239,68,68,.2); }
.role-staff { background: rgba(96,165,250,.1); color: var(--blue-400); border-color: rgba(96,165,250,.2); }
.role-customer { background: rgba(107,114,128,.1); color: var(--gray-300); border-color: rgba(255,255,255,.05); }
.status-toggle-btn { display: inline-flex; align-items: center; gap: .25rem; padding: .25rem .625rem; border-radius: 9999px; font-size: .75rem; font-weight: 500; border: none; transition: background .2s; }
.status-active { background: rgba(34,197,94,.1); color: var(--green-400); }
.status-active:hover { background: rgba(34,197,94,.2); }
.status-blocked { background: rgba(239,68,68,.1); color: var(--red-400); }
.status-blocked:hover { background: rgba(239,68,68,.2); }
.status-dot { width: .375rem; height: .375rem; border-radius: 9999px; background: var(--green-400); animation: pulse 2s infinite; display: inline-block; }
.customer-stats .count { color: #fff; font-weight: 500; }
.customer-stats .spent { font-size: .75rem; color: var(--color-gold); font-weight: 500; }

.user-modal-head { padding: 1.5rem; border-bottom: 1px solid rgba(255,255,255,.05); display: flex; justify-content: space-between; align-items: center; background: rgba(0,0,0,.2); }
.user-modal-head h3 { font-size: 1.25rem; font-family: var(--font-serif); color: #fff; }
.user-modal-close { color: var(--gray-400); background: none; border: none; padding: .25rem; border-radius: 9999px; }
.user-modal-close:hover { color: #fff; background: rgba(255,255,255,.05); }
.user-form { padding: 1.5rem; display: flex; flex-direction: column; gap: 1rem; max-height: 75vh; overflow-y: auto; }
.user-form label { font-size: .75rem; text-transform: uppercase; letter-spacing: .03em; color: var(--gray-400); display: block; margin-bottom: .375rem; }
.user-form input, .user-form select { width: 100%; background: #000; border: 1px solid var(--gray-800); border-radius: 8px; padding: .75rem; color: #fff; }
.user-form input:focus, .user-form select:focus { outline: none; border-color: var(--color-gold); }
.user-form-grid2 { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 640px) { .user-form-grid2 { grid-template-columns: repeat(2, 1fr); } }
.customer-fields-box { padding: 1rem; background: rgba(0,0,0,.3); border: 1px solid rgba(255,255,255,.05); border-radius: 8px; display: flex; flex-direction: column; gap: 1rem; }
.customer-fields-box .box-title { font-size: .75rem; color: var(--color-gold); text-transform: uppercase; letter-spacing: .03em; font-weight: 600; }
.customer-fields-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }

/* ===================== CONTACTS MANAGER ===================== */
.contacts-layout { display: flex; flex-direction: column; gap: 1.5rem; }
.contacts-stat-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 768px) { .contacts-stat-grid { grid-template-columns: repeat(4, 1fr); } }
.contact-stat-card { background: var(--color-dark-surface); padding: 1.5rem; border-radius: 12px; border: 1px solid rgba(255,255,255,.05); display: flex; align-items: center; gap: 1rem; }
.contact-stat-icon { width: 3rem; height: 3rem; display: flex; align-items: center; justify-content: center; border-radius: 8px; }
.icon-gray { background: rgba(107,114,128,.1); color: var(--gray-400); }
.icon-yellow { background: rgba(250,204,21,.1); color: var(--yellow-400); }
.icon-blue { background: rgba(96,165,250,.1); color: var(--blue-400); }
.icon-green { background: rgba(74,222,128,.1); color: var(--green-400); }
.contact-stat-label { color: var(--gray-400); font-size: .75rem; text-transform: uppercase; letter-spacing: .03em; }
.contact-stat-value { font-size: 1.5rem; font-weight: 700; color: #fff; margin-top: .25rem; }
.contacts-main { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 1024px) { .contacts-main { grid-template-columns: 2fr 1fr; } }
.filter-tabs { display: flex; background: rgba(0,0,0,.4); padding: .25rem; border-radius: 8px; border: 1px solid rgba(255,255,255,.1); font-size: .75rem; }
.filter-tab { padding: .375rem .75rem; border-radius: 6px; font-weight: 500; transition: all .2s; background: none; border: none; color: var(--gray-400); }
.filter-tab:hover { color: #fff; }
.filter-tab.active { background: var(--color-gold); color: #000; }
.msg-list { max-height: 500px; overflow-y: auto; }
.msg-row { padding: 1.25rem; cursor: pointer; display: flex; flex-direction: column; gap: 1rem; border-bottom: 1px solid rgba(255,255,255,.05); transition: background-color .2s; }
@media (min-width: 768px) { .msg-row { flex-direction: row; align-items: center; justify-content: space-between; } }
.msg-row:hover { background: rgba(255,255,255,.05); }
.msg-row.selected { background: rgba(255,255,255,.05); border-left: 2px solid var(--color-gold); }
.msg-row-main { flex: 1; display: flex; flex-direction: column; gap: .25rem; }
.msg-row-top { display: flex; align-items: center; gap: .75rem; }
.msg-row-top .name { font-weight: 600; color: #fff; }
.msg-row-top .date { font-size: .75rem; color: var(--gray-500); }
.msg-row .subject { font-size: .875rem; font-weight: 500; color: var(--color-gold); }
.msg-row .snippet { font-size: .75rem; color: var(--gray-400); max-width: 400px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.msg-row-actions { display: flex; align-items: center; gap: .75rem; }
.msg-empty { padding: 3rem; text-align: center; color: var(--gray-500); }
.msg-empty .icon { opacity: .3; margin-bottom: 1rem; }

.msg-detail-panel { display: flex; flex-direction: column; justify-content: space-between; height: 100%; }
.msg-detail-top { display: flex; flex-direction: column; gap: 1rem; }
.msg-detail-header { border-bottom: 1px solid rgba(255,255,255,.05); padding-bottom: 1rem; }
.msg-detail-header-row { display: flex; justify-content: space-between; align-items: flex-start; }
.msg-detail-header h3 { font-size: 1.125rem; font-family: var(--font-serif); color: #fff; }
.msg-detail-header .email { font-size: .75rem; color: var(--gray-400); margin-top: .25rem; }
.msg-detail-header .time { font-size: .75rem; color: var(--gray-500); margin-top: .125rem; }
.msg-detail-label { font-size: .75rem; color: var(--gray-400); text-transform: uppercase; letter-spacing: .05em; margin-bottom: .25rem; }
.msg-detail-subject { font-size: .875rem; font-weight: 600; color: var(--color-gold); }
.msg-detail-content { font-size: .875rem; color: var(--gray-300); background: rgba(0,0,0,.3); padding: 1rem; border-radius: 8px; border: 1px solid rgba(255,255,255,.05); white-space: pre-line; max-height: 150px; overflow-y: auto; }
.reply-block { border-top: 1px solid rgba(255,255,255,.05); padding-top: 1rem; margin-top: 1rem; }
.reply-block h4 { font-size: .75rem; color: var(--gray-400); text-transform: uppercase; letter-spacing: .05em; margin-bottom: .5rem; display: flex; align-items: center; gap: .25rem; }
.reply-form { display: flex; flex-direction: column; gap: .75rem; }
.reply-form textarea { font-size: .875rem; }
.reply-form-footer { display: flex; justify-content: space-between; align-items: center; }
.mark-status-btn { font-size: .75rem; color: var(--gray-400); background: none; border: none; }
.mark-status-btn:hover { color: #fff; }
.reply-submit { background: var(--color-gold); color: #000; font-size: .75rem; font-weight: 600; padding: .5rem 1rem; border-radius: 6px; border: none; }
.reply-submit:hover { background: var(--color-gold-hover); }
.msg-detail-placeholder { height: 16rem; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; color: var(--gray-500); }
.msg-detail-placeholder .icon { opacity: .3; margin-bottom: .5rem; }
.msg-detail-placeholder p { font-size: .875rem; }

/* ===================== PAYMENT PAGE ===================== */
.payment-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 3rem 1rem; background: var(--color-dark-bg); }
.payment-empty { text-align: center; }
.payment-empty p { color: #fff; margin-bottom: 1rem; }
.payment-empty a, .payment-back { color: var(--color-gold); display: inline-flex; align-items: center; gap: .5rem; background: none; border: none; }
.payment-back:hover { text-decoration: underline; }
.payment-grid { width: 100%; max-width: 64rem; display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 768px) { .payment-grid { grid-template-columns: repeat(2, 1fr); } }
.payment-card { background: var(--color-dark-surface); border: 1px solid rgba(255,255,255,.1); border-radius: 12px; padding: 1.5rem; }
@media (min-width: 768px) { .payment-card { padding: 2rem; } }
.payment-card h2 { font-size: 1.5rem; font-family: var(--font-serif); color: #fff; margin-bottom: 1.5rem; border-bottom: 1px solid rgba(255,255,255,.1); padding-bottom: 1rem; }
.summary-row { display: flex; justify-content: space-between; margin-bottom: 1rem; font-size: 1rem; }
.summary-row .label { color: var(--gray-400); }
.summary-row .value { color: #fff; font-weight: 500; }
.summary-items { padding-top: 1rem; border-top: 1px solid rgba(255,255,255,.1); }
.summary-items .label { color: var(--gray-400); display: block; margin-bottom: .5rem; }
.summary-items ul { display: flex; flex-direction: column; gap: .25rem; }
.summary-items li { color: #fff; display: flex; justify-content: space-between; }
.summary-items li span:last-child { color: var(--gray-400); }
.summary-total { padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.1); display: flex; justify-content: space-between; align-items: flex-end; }
.summary-total .caption { font-size: .875rem; color: var(--gray-400); margin-bottom: .25rem; }
.summary-total .amount { font-size: 1.875rem; font-family: var(--font-serif); color: var(--color-gold); font-weight: 700; }
.pay-methods { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin-bottom: 2rem; }
.pay-method-btn { padding: 1rem; border-radius: 8px; display: flex; flex-direction: column; align-items: center; gap: .75rem; border: 1px solid rgba(255,255,255,.1); background: rgba(0,0,0,.5); color: var(--gray-400); transition: all .2s; }
.pay-method-btn:hover { border-color: var(--gray-500); }
.pay-method-btn.active { border-color: var(--color-gold); background: rgba(205,164,94,.1); color: var(--color-gold); }
.pay-method-btn span { font-weight: 500; }
.pay-body { margin-bottom: 2rem; min-height: 200px; }
.qr-box { text-align: center; background: #fff; padding: 1.5rem; border-radius: 8px; width: 100%; color: #000; }
.qr-box img { margin: 0 auto 1rem; width: 12rem; height: 12rem; border: 1px solid #e5e7eb; border-radius: 4px; padding: .25rem; }
.qr-box .caption { color: #111827; font-size: .875rem; font-weight: 700; }
.qr-detail { margin-top: 1rem; font-size: .75rem; text-align: left; color: #374151; background: #f9fafb; padding: .75rem; border-radius: 6px; border: 1px solid #f3f4f6; display: flex; flex-direction: column; gap: .25rem; }
.qr-detail strong { color: #030712; }
.card-fields { display: flex; flex-direction: column; gap: 1rem; }
.card-fields-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.card-fields label { font-size: .875rem; color: var(--gray-400); display: block; margin-bottom: .5rem; }
.pay-submit { width: 100%; background: var(--color-gold); color: #000; font-weight: 500; padding: 1rem 0; border-radius: 9999px; border: none; display: flex; align-items: center; justify-content: center; transition: background .2s, opacity .2s; }
.pay-submit:hover { background: var(--color-gold-hover); }
.pay-submit:disabled { opacity: .7; }
.spinner { animation: spin 1s linear infinite; margin-right: .75rem; width: 1.25rem; height: 1.25rem; }
.payment-success { background: var(--color-dark-surface); border: 1px solid rgba(255,255,255,.1); padding: 2rem; border-radius: 12px; max-width: 28rem; width: 100%; text-align: center; box-shadow: 0 25px 50px rgba(0,0,0,.5); }
.payment-success .icon-2xl { color: var(--green-500); margin: 0 auto 1.5rem; }
.payment-success h2 { font-size: 1.875rem; font-family: var(--font-serif); color: #fff; margin-bottom: 1rem; }
.payment-success p.desc { color: var(--gray-400); margin-bottom: 1.5rem; }
.payment-success p.redirect { font-size: .875rem; color: var(--gray-500); }

/* ===================== RESPONSIVE HELPERS ===================== */
.line-clamp-1 { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.line-clamp-2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

@media (max-width: 767px) {
  .stat-grid, .whyus-grid, .chefs-grid, .book-grid, .contacts-stat-grid { gap: 1.25rem; }
  .section { padding: 4rem 0; }
}

/* ===================== MVC / RAZOR FORM VALIDATION ===================== */
.validation-summary-errors {
  background: rgba(239,68,68,.1);
  border: 1px solid rgba(239,68,68,.3);
  color: var(--red-400);
  border-radius: 6px;
  padding: .75rem 1rem;
  margin-bottom: 1rem;
  font-size: .875rem;
}
.validation-summary-errors ul { list-style: disc; margin-left: 1.25rem; }
.field-validation-error { color: var(--red-400); font-size: .8rem; display: block; margin-top: .25rem; }
.input-validation-error { border-color: var(--red-500) !important; }
.text-danger { color: var(--red-400); }
.alert-box { padding: .75rem 1rem; border-radius: 6px; font-size: .875rem; margin-bottom: 1rem; }
.alert-box.success { background: rgba(34,197,94,.1); border: 1px solid rgba(34,197,94,.2); color: var(--green-400); }
.alert-box.error { background: rgba(239,68,68,.1); border: 1px solid rgba(239,68,68,.2); color: var(--red-400); }

/* ===================== REVENUE CHART ===================== */
.revenue-chart {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 260px;
  padding: 1rem .5rem 0;
  border-bottom: 1px solid rgba(255,255,255,.1);
  overflow-x: auto;
}
.revenue-bar-col {
  flex: 1 0 22px;
  min-width: 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  height: 100%;
}
.revenue-bar-value {
  font-size: .625rem;
  color: var(--color-gold);
  margin-bottom: .25rem;
  white-space: nowrap;
}
.revenue-bar {
  width: 100%;
  max-width: 26px;
  background: linear-gradient(180deg, var(--color-gold-hover), var(--color-gold));
  border-radius: 3px 3px 0 0;
  transition: height .3s ease;
  min-height: 0;
}
.revenue-bar-label {
  font-size: .625rem;
  color: var(--gray-400);
  margin-top: .5rem;
  white-space: nowrap;
}

/* ===================== BANK APP QUICK-OPEN LINKS ===================== */
.bank-app-links { margin-top: 1.25rem; }
.bank-app-links-title { font-size: .8rem; color: var(--gray-400); margin-bottom: .6rem; text-align: center; }
.bank-app-links-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; }
.bank-app-link-btn {
  display: flex; align-items: center; justify-content: center; text-align: center;
  padding: .6rem .5rem; border-radius: 8px; border: 1px solid rgba(205,164,94,.35);
  color: var(--color-gold); font-size: .78rem; font-weight: 500; background: rgba(205,164,94,.06);
  transition: background .2s, color .2s;
}
.bank-app-link-btn:hover { background: var(--color-gold); color: #000; }
.bank-app-links-note { font-size: .68rem; color: var(--gray-500); margin-top: .6rem; text-align: center; }
@media (max-width: 480px) {
  .bank-app-links-grid { grid-template-columns: repeat(2, 1fr); }
}
