/* ============================================================
   Halalroo — Owner Portal
   Design System v1.1 — warm editorial, matches marketing site
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --forest-900: #003F2B;
  --forest-800: #005238;
  --forest-700: #006B48;
  --forest-100: #E8F1EC;

  --cream-50:  #FFFDF8;
  --cream-100: #FAF4E8;
  --cream-200: #F3E7D0;

  --gold-500: #D7A447;
  --gold-400: #E5BD69;
  --gold-100: #FBF1D8;

  --ink-900: #10251F;
  --ink-700: #38534A;
  --ink-500: #6D8179;

  --white: #FFFFFF;
  --error: #C62828;
  --success: #006B48;
  --warning: #B89840;
  --danger: #C62828;

  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-pill: 999px;

  --shadow-card:     0 8px 30px rgba(0, 45, 30, 0.08);
  --shadow-floating: 0 16px 45px rgba(0, 45, 30, 0.12);
  --shadow-button:   0 4px 12px rgba(0, 45, 30, 0.10);

  --font-display: 'DM Serif Display', 'Fraunces', Georgia, serif;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-script:  'Caveat', cursive;
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-900);
  background: var(--cream-50);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--forest-900);
  line-height: 1.15;
  letter-spacing: -0.02em;
}
h1 { font-size: 2.25rem; letter-spacing: -0.03em; }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.2rem; }
h4 { font-family: var(--font-body); font-weight: 700; font-size: 1.05rem; }

a { color: var(--forest-700); text-decoration: none; transition: color 0.15s; }
a:hover { color: var(--gold-500); }

/* ---------- Layout ---------- */
.owner-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.owner-main { padding: 40px 0 80px; }

.owner-page-title {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 400;
  color: var(--forest-900);
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}
.owner-page-sub {
  color: var(--ink-500);
  font-size: 15px;
  margin-bottom: 32px;
  max-width: 560px;
  line-height: 1.55;
}

/* ============================================================
   Header + Navbar
   Light, blurred, matching the marketing site
   ============================================================ */

.owner-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 253, 248, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(0, 63, 43, 0.06);
}

.owner-header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  position: relative;
}

/* ---------- Logo ---------- */
.owner-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  text-decoration: none;
}
.owner-logo:hover { text-decoration: none; }

.owner-logo-img {
  height: 32px;
  width: auto;
  display: block;
}

.owner-logo-label {
  font-size: 9.5px;
  font-weight: 800;
  color: var(--gold-500);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  padding: 4px 8px;
  background: var(--forest-900);
  border-radius: 6px;
  font-family: var(--font-body);
  line-height: 1;
}

/* ---------- Nav ---------- */
.owner-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.owner-nav a {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-700);
  text-decoration: none;
  transition: color 0.15s;
  position: relative;
  padding: 6px 0;
}
.owner-nav a:hover {
  color: var(--forest-700);
  text-decoration: none;
}
.owner-nav a.active {
  color: var(--forest-900);
  font-weight: 700;
}
.owner-nav a.active::after {
  content: "";
  position: absolute;
  bottom: -14px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gold-500);
  border-radius: 1px;
}

/* ---------- Right-side actions ---------- */
.owner-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.owner-header-user {
  font-size: 0.78rem;
  color: var(--ink-500);
  font-weight: 500;
  max-width: 180px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.owner-header-logout {
  background: transparent;
  border: 1px solid rgba(0, 63, 43, 0.15);
  color: var(--forest-900);
  padding: 8px 14px;
  border-radius: 9px;
  font-size: 0.78rem;
  font-weight: 700;
  font-family: var(--font-body);
  cursor: pointer;
  transition: all 0.15s;
  white-space: nowrap;
}
.owner-header-logout:hover {
  background: var(--forest-900);
  color: #FFFFFF;
  border-color: var(--forest-900);
}

.owner-menu-toggle {
  display: none;
  width: 38px;
  height: 38px;
  border-radius: 9px;
  background: transparent;
  border: 1px solid rgba(0, 63, 43, 0.15);
  color: var(--forest-900);
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  transition: all 0.15s;
}
.owner-menu-toggle:hover { background: var(--forest-100); }
.owner-menu-toggle svg { width: 18px; height: 18px; }

/* ---------- Mobile ---------- */
@media (max-width: 900px) {
  .owner-header-inner { padding: 12px 18px; }

  .owner-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: var(--cream-50);
    padding: 16px 18px 20px;
    border-bottom: 1px solid rgba(0, 63, 43, 0.08);
    box-shadow: var(--shadow-floating);
  }
  .owner-nav.open { display: flex; }

  .owner-nav a {
    display: block;
    padding: 12px 14px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 10px;
    color: var(--ink-700);
  }
  .owner-nav a:hover,
  .owner-nav a.active {
    background: var(--forest-100);
    color: var(--forest-900);
  }
  .owner-nav a.active::after { display: none; }

  .owner-menu-toggle { display: flex; }
  .owner-header-user { display: none; }
}

@media (max-width: 520px) {
  .owner-logo-img { height: 26px; }
  .owner-logo-label { display: none; }
  .owner-header-inner { padding: 10px 16px; gap: 12px; }
  .owner-header-actions { gap: 8px; }
  .owner-header-logout { padding: 7px 12px; font-size: 0.72rem; }
  .owner-menu-toggle { width: 34px; height: 34px; }
}
/* ============================================================
   Auth screens (login / setup)
   ============================================================ */

.owner-auth-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  background: var(--cream-50);
}

.owner-auth-card {
  width: 100%;
  max-width: 440px;
  background: var(--white);
  border: 1px solid rgba(0, 63, 43, 0.06);
  border-radius: var(--r-xl);
  padding: 44px 36px;
  box-shadow: var(--shadow-floating);
}
@media (max-width: 480px) { .owner-auth-card { padding: 32px 22px; } }

.owner-auth-logo {
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
}
.owner-auth-logo img { height: 52px; width: auto; }
.owner-auth-logo svg { width: 64px; height: 64px; }

.owner-auth-title {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 400;
  letter-spacing: -0.03em;
  text-align: center;
  margin-bottom: 8px;
  color: var(--forest-900);
}
.owner-auth-sub {
  font-size: 14.5px;
  color: var(--ink-500);
  text-align: center;
  margin-bottom: 28px;
  line-height: 1.55;
}

/* ============================================================
   Forms
   ============================================================ */

.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 7px;
  color: var(--ink-900);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid rgba(0, 63, 43, 0.12);
  border-radius: var(--r-sm);
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--ink-900);
  background: var(--white);
  transition: border-color 0.15s, box-shadow 0.15s;
  appearance: none;
  -webkit-appearance: none;
}
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%236D8179' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--forest-700);
  box-shadow: 0 0 0 3px rgba(0, 107, 72, 0.1);
}
.form-group textarea { resize: vertical; min-height: 110px; font-family: inherit; }
.form-group .hint {
  font-size: 12.5px;
  color: var(--ink-500);
  margin-top: 6px;
  line-height: 1.5;
}

.form-error {
  color: var(--error);
  font-size: 12.5px;
  margin-top: 6px;
  font-weight: 600;
  display: none;
}
.form-group.has-error input,
.form-group.has-error select,
.form-group.has-error textarea { border-color: var(--error); }
.form-group.has-error .form-error { display: block; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
@media (max-width: 480px) {
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .form-row .form-group { margin-bottom: 18px; }
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: var(--r-md);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14.5px;
  border: none;
  cursor: pointer;
  transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  line-height: 1;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none !important; }

.btn-primary { background: var(--forest-900); color: #FFFFFF; }
.btn-primary:hover:not(:disabled) {
  background: var(--forest-800);
  box-shadow: 0 8px 20px rgba(0, 63, 43, 0.22);
}

.btn-gold { background: var(--gold-500); color: var(--forest-900); }
.btn-gold:hover:not(:disabled) {
  background: var(--gold-400);
  box-shadow: 0 8px 20px rgba(215, 164, 71, 0.32);
}

.btn-secondary {
  background: transparent;
  border: 1.5px solid var(--forest-900);
  color: var(--forest-900);
}
.btn-secondary:hover:not(:disabled) {
  background: var(--forest-900);
  color: #FFFFFF;
}

.btn-block { width: 100%; }
.btn-sm { padding: 9px 15px; font-size: 13px; border-radius: var(--r-sm); }

/* ============================================================
   Banners / alerts
   ============================================================ */

.owner-banner {
  padding: 14px 16px;
  border-radius: var(--r-md);
  font-size: 13.5px;
  font-weight: 500;
  margin-bottom: 20px;
  line-height: 1.5;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.owner-banner svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 1px; }
.owner-banner.error {
  background: rgba(198, 40, 40, 0.06);
  border: 1px solid rgba(198, 40, 40, 0.22);
  color: var(--error);
}
.owner-banner.success {
  background: var(--forest-100);
  border: 1px solid rgba(0, 107, 72, 0.22);
  color: var(--success);
}
.owner-banner.warning {
  background: var(--gold-100);
  border: 1px solid rgba(215, 164, 71, 0.35);
  color: #8A6300;
}
.owner-banner.info {
  background: var(--forest-100);
  border: 1px solid rgba(0, 107, 72, 0.15);
  color: var(--forest-700);
}

/* ============================================================
   Sections + cards
   ============================================================ */

.owner-section { margin-top: 32px; }

.owner-section-title {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 800;
  color: var(--ink-500);
  font-family: var(--font-body);
}

.owner-section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.owner-section-link {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--forest-700);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: color 0.15s;
  white-space: nowrap;
}
.owner-section-link:hover { color: var(--gold-500); text-decoration: none; }
.owner-section-link svg { width: 12px; height: 12px; }

.owner-card {
  background: var(--white);
  border: 1px solid rgba(0, 63, 43, 0.06);
  border-radius: var(--r-lg);
  padding: 20px 22px;
  box-shadow: var(--shadow-card);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.owner-card + .owner-card { margin-top: 12px; }
.owner-card.interactive { cursor: pointer; }
.owner-card.interactive:hover {
  border-color: rgba(215, 164, 71, 0.4);
  transform: translateY(-2px);
  box-shadow: var(--shadow-floating);
}

.owner-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  font-family: var(--font-body);
  color: var(--ink-900);
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}
.owner-card-meta {
  font-size: 13.5px;
  color: var(--ink-500);
  font-weight: 500;
}
.owner-card-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.owner-section-empty {
  background: var(--white);
  border: 1px dashed rgba(0, 63, 43, 0.15);
  border-radius: var(--r-lg);
  padding: 24px;
  font-size: 13.5px;
  color: var(--ink-500);
  text-align: center;
  line-height: 1.55;
}

/* ============================================================
   Status pills
   ============================================================ */

.owner-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 11px;
  border-radius: var(--r-pill);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-family: var(--font-body);
  white-space: nowrap;
}
.owner-pill.pending { background: var(--gold-100); color: #8A6300; }
.owner-pill.approved { background: var(--forest-100); color: var(--forest-700); }
.owner-pill.rejected { background: rgba(198, 40, 40, 0.08); color: var(--error); }
.owner-pill svg { width: 12px; height: 12px; }

/* ============================================================
   Empty + loading
   ============================================================ */

.owner-empty {
  background: var(--white);
  border: 1px dashed rgba(0, 63, 43, 0.15);
  border-radius: var(--r-xl);
  padding: 52px 24px;
  text-align: center;
}
.owner-empty-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--forest-100);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--forest-700);
}
.owner-empty-icon svg { width: 28px; height: 28px; }
.owner-empty h3 {
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ink-900);
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}
.owner-empty p {
  color: var(--ink-500);
  font-size: 14.5px;
  line-height: 1.6;
  max-width: 420px;
  margin: 0 auto;
}

.owner-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  color: var(--ink-500);
  font-size: 14.5px;
  gap: 12px;
}
.owner-spinner {
  width: 22px;
  height: 22px;
  border: 2.5px solid rgba(0, 107, 72, 0.15);
  border-top-color: var(--forest-700);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.owner-footer {
  text-align: center;
  font-size: 12.5px;
  color: var(--ink-500);
  padding: 32px 20px 0;
}

/* ============================================================
   Photo grid
   ============================================================ */

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--forest-700);
  margin-bottom: 16px;
  padding: 6px 0;
  transition: color 0.15s;
}
.back-link:hover { color: var(--gold-500); text-decoration: none; }
.back-link svg { width: 14px; height: 14px; }

.form-card {
  background: var(--white);
  border: 1px solid rgba(0, 63, 43, 0.06);
  border-radius: var(--r-xl);
  padding: 32px;
  box-shadow: var(--shadow-card);
}
@media (max-width: 560px) { .form-card { padding: 22px; } }

.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(0, 63, 43, 0.06);
}
@media (max-width: 480px) {
  .form-actions { flex-direction: column-reverse; }
  .form-actions .btn { width: 100%; }
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 12px;
  margin-bottom: 20px;
}
.photo-item {
  position: relative;
  aspect-ratio: 1;
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid rgba(0, 63, 43, 0.06);
  background: var(--cream-100);
}
.photo-item img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.photo-item .photo-actions {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.65) 100%);
  opacity: 0; transition: opacity 0.15s;
  display: flex; flex-direction: column;
  justify-content: space-between; padding: 8px;
}
.photo-item:hover .photo-actions { opacity: 1; }
@media (hover: none) { .photo-item .photo-actions { opacity: 1; } }

.photo-top-actions { display: flex; justify-content: flex-end; gap: 6px; }
.photo-btn {
  width: 30px; height: 30px; border-radius: var(--r-sm);
  background: rgba(255, 255, 255, 0.92); border: none;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all 0.15s; color: var(--ink-900);
}
.photo-btn:hover { background: var(--white); transform: scale(1.05); }
.photo-btn.danger { color: var(--error); }
.photo-btn svg { width: 14px; height: 14px; }

.photo-bottom-actions { display: flex; justify-content: space-between; gap: 6px; }
.photo-order {
  position: absolute; top: 8px; left: 8px;
  background: rgba(0, 0, 0, 0.65); color: #FFFFFF;
  font-size: 10.5px; font-weight: 800;
  padding: 3px 8px; border-radius: var(--r-sm);
  font-family: var(--font-body);
}

.upload-tile {
  aspect-ratio: 1;
  border: 2px dashed rgba(0, 63, 43, 0.16);
  border-radius: var(--r-md);
  background: rgba(0, 107, 72, 0.02);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 8px; cursor: pointer; transition: all 0.15s;
  color: var(--forest-700); padding: 12px; text-align: center;
}
.upload-tile:hover { border-color: var(--gold-500); background: var(--gold-100); }
.upload-tile svg { width: 28px; height: 28px; }
.upload-tile span { font-size: 12px; font-weight: 700; font-family: var(--font-body); }

.upload-progress {
  width: 100%; height: 4px;
  background: rgba(0, 107, 72, 0.1); border-radius: 2px;
  overflow: hidden; margin-top: 8px;
}
.upload-progress-bar {
  height: 100%; background: var(--gold-500);
  width: 30%; animation: indeterminate 1.2s ease-in-out infinite;
}
@keyframes indeterminate {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(300%); }
}

.info-card {
  background: rgba(0, 107, 72, 0.03);
  border: 1px solid rgba(0, 63, 43, 0.06);
  border-radius: var(--r-lg);
  padding: 8px 22px;
}
.info-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid rgba(0, 63, 43, 0.06);
  font-size: 14px;
}
.info-row:last-child { border-bottom: none; }
.info-label {
  color: var(--ink-500); font-weight: 600;
  display: flex; align-items: center; gap: 8px;
}
.info-label svg { width: 14px; height: 14px; opacity: 0.7; }
.info-value { color: var(--ink-900); font-weight: 700; text-align: right; }
.info-value.muted { color: var(--ink-500); font-weight: 500; font-style: italic; }

/* ============================================================
   Hero pattern (used on dashboard + deals)
   ============================================================ */

.owner-hero { padding-bottom: 32px; }

.owner-hero-eyebrow {
  font-family: var(--font-script);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--gold-500);
  display: inline-block;
  transform: rotate(-1.5deg);
  margin-bottom: 2px;
}

.owner-hero-title {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 400;
  color: var(--forest-900);
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.owner-hero-sub {
  color: var(--ink-500);
  font-size: 15px;
  margin-top: 10px;
  max-width: 560px;
  line-height: 1.55;
}

@media (max-width: 640px) {
  .owner-hero-title { font-size: 1.9rem; }
  .owner-hero-eyebrow { font-size: 1.2rem; }
}

/* ============================================================
   Stat strip (dashboard + deals)
   ============================================================ */

.owner-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 32px;
}

.owner-stat {
  background: var(--white);
  border: 1px solid rgba(0, 63, 43, 0.06);
  border-radius: var(--r-lg);
  padding: 18px 20px;
  box-shadow: var(--shadow-card);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  color: inherit;
  display: block;
}
.owner-stat:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-floating);
  border-color: rgba(215, 164, 71, 0.3);
  text-decoration: none;
}

.owner-stat-icon {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: var(--forest-100);
  color: var(--forest-700);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.owner-stat.gold .owner-stat-icon {
  background: var(--gold-100);
  color: #8A6300;
}
.owner-stat-icon svg { width: 15px; height: 15px; }

.owner-stat-value {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--forest-900);
  letter-spacing: -0.03em;
  line-height: 1;
  font-weight: 400;
}

.owner-stat-label {
  font-size: 11px;
  font-weight: 800;
  color: var(--ink-500);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-top: 8px;
  font-family: var(--font-body);
}

@media (max-width: 720px) {
  .owner-stats { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   Quick actions
   ============================================================ */

.owner-quick-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 36px;
}

.owner-quick-action {
  background: var(--white);
  border: 1px solid rgba(0, 63, 43, 0.06);
  border-radius: var(--r-lg);
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow-card);
}
.owner-quick-action:hover {
  border-color: rgba(215, 164, 71, 0.4);
  transform: translateY(-2px);
  box-shadow: var(--shadow-floating);
  text-decoration: none;
}

.owner-quick-action-icon {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: var(--forest-100);
  color: var(--forest-700);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.owner-quick-action.gold .owner-quick-action-icon {
  background: var(--gold-100);
  color: #8A6300;
}
.owner-quick-action-icon svg { width: 17px; height: 17px; }

.owner-quick-action-body { flex: 1; min-width: 0; }

.owner-quick-action-label {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink-900);
  letter-spacing: -0.01em;
}

.owner-quick-action-sub {
  font-size: 12px;
  color: var(--ink-500);
  margin-top: 2px;
}

@media (max-width: 720px) {
  .owner-quick-actions { grid-template-columns: 1fr; }
}

/* ============================================================
   Restaurant cards (dashboard)
   ============================================================ */

.owner-restaurant-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--white);
  border: 1px solid rgba(0, 63, 43, 0.06);
  border-radius: var(--r-lg);
  padding: 14px 18px;
  box-shadow: var(--shadow-card);
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  color: inherit;
  margin-bottom: 10px;
}
.owner-restaurant-card:hover {
  border-color: rgba(215, 164, 71, 0.4);
  transform: translateY(-2px);
  box-shadow: var(--shadow-floating);
  text-decoration: none;
}

.owner-restaurant-thumb {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--forest-900);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
  position: relative;
}
.owner-restaurant-thumb img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.owner-restaurant-thumb-initial {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--gold-500);
  line-height: 1;
}

.owner-restaurant-body { flex: 1; min-width: 0; }

.owner-restaurant-name {
  font-size: 15.5px;
  font-weight: 700;
  color: var(--ink-900);
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.owner-restaurant-meta {
  font-size: 12.5px;
  color: var(--ink-500);
  margin-top: 4px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.owner-restaurant-dot {
  width: 3px; height: 3px; border-radius: 1.5px;
  background: currentColor; opacity: 0.5;
}
.owner-restaurant-meta strong {
  color: var(--forest-700);
  font-weight: 700;
}
.owner-restaurant-chev {
  color: var(--ink-500);
  flex-shrink: 0;
  opacity: 0.5;
  transition: opacity 0.15s;
}
.owner-restaurant-card:hover .owner-restaurant-chev {
  opacity: 1;
  color: var(--gold-500);
}

/* ============================================================
   Deals: preview panel on dashboard
   ============================================================ */

.owner-deals-preview {
  background: linear-gradient(135deg, var(--gold-100), rgba(215, 164, 71, 0.05));
  border: 1px solid rgba(215, 164, 71, 0.28);
  border-radius: var(--r-xl);
  padding: 20px;
  margin-bottom: 12px;
}

.owner-deals-chip-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.owner-deals-chip {
  background: rgba(255, 255, 255, 0.9);
  border-radius: var(--r-pill);
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 700;
  color: #6A4A00;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.owner-deals-chip strong {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 400;
  color: #4A3300;
}

.owner-live-deal {
  background: var(--white);
  border-radius: var(--r-md);
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(215, 164, 71, 0.15);
  text-decoration: none;
  color: inherit;
  transition: all 0.15s;
}
.owner-live-deal + .owner-live-deal { margin-top: 8px; }
.owner-live-deal:hover {
  border-color: rgba(215, 164, 71, 0.4);
  text-decoration: none;
}

.owner-live-pulse {
  width: 8px; height: 8px;
  border-radius: 4px;
  background: #006B48;
  flex-shrink: 0;
  animation: owner-pulse 1.8s ease-in-out infinite;
}
@keyframes owner-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0, 107, 72, 0.5); }
  50% { box-shadow: 0 0 0 6px rgba(0, 107, 72, 0); }
}

.owner-live-deal-body { flex: 1; min-width: 0; }

.owner-live-deal-title {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink-900);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.owner-live-deal-meta {
  font-size: 11.5px;
  color: var(--ink-500);
  margin-top: 2px;
}

.owner-live-deal-badge {
  background: rgba(0, 107, 72, 0.1);
  color: #006B48;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.05em;
  padding: 3px 8px;
  border-radius: var(--r-pill);
  white-space: nowrap;
}

/* Deals empty card (dashboard) — now mobile responsive */
.owner-deals-empty {
  background: rgba(255, 255, 255, 0.7);
  border-radius: var(--r-md);
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px dashed rgba(215, 164, 71, 0.4);
}

.owner-deals-empty-body { flex: 1; min-width: 0; }

.owner-deals-empty-title {
  font-size: 13.5px;
  font-weight: 700;
  color: #4A3300;
}

.owner-deals-empty-sub {
  font-size: 11.5px;
  color: #8A6300;
  margin-top: 2px;
}

@media (max-width: 560px) {
  .owner-deals-empty {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px 18px;
  }
  .owner-deals-empty .owner-quick-action-icon {
    margin: 0 0 4px 0;
  }
  .owner-deals-empty-body { flex: none; }
  .owner-deals-empty .btn {
    width: 100%;
    margin-top: 4px;
  }
}

/* ============================================================
   Onboarding card
   ============================================================ */

.owner-onboarding {
  background: var(--white);
  border: 1px solid rgba(0, 63, 43, 0.06);
  border-radius: var(--r-xl);
  padding: 48px 32px;
  text-align: center;
  box-shadow: var(--shadow-card);
}

.owner-onboarding-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--forest-100);
  color: var(--forest-700);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.owner-onboarding-icon svg { width: 32px; height: 32px; }

.owner-onboarding h3 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 400;
  color: var(--forest-900);
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}
.owner-onboarding p {
  color: var(--ink-500);
  font-size: 14.5px;
  line-height: 1.6;
  max-width: 460px;
  margin: 0 auto 24px;
}

/* ============================================================
   Utility
   ============================================================ */

.hidden { display: none !important; }
.text-center { text-align: center; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.muted-text { color: var(--ink-500); font-size: 12.5px; }

/* Shared pill used on deals + verification pages */
.deals-pill {
  padding: 8px 14px;
  border-radius: var(--r-pill);
  background: var(--white);
  border: 1px solid rgba(0, 63, 43, 0.1);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-700);
  cursor: pointer;
  transition: all 0.15s;
  white-space: nowrap;
}
.deals-pill:hover { border-color: var(--forest-700); }
.deals-pill.active {
  background: var(--forest-900);
  color: #FFFFFF;
  border-color: var(--forest-900);
}