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

:root {
  /* This whole panel is a dark theme (dark green bg, white text). Without this,
     a browser in dark OS/UA mode auto-styles native form controls (text inputs,
     checkboxes, scrollbars) with its own dark heuristics, which can fight the
     page's own white-on-transparent styling and make typed text unreadable. */
  color-scheme: dark;
  --primary: #4A7059;
  --primary-light: #5a8a6b;
  --primary-dark: #3a5a47;
  --accent: #48705A;
  --accent-light: #5a8a6b;
  --bg: #4A7059;
  --bg-secondary: #3d6049;
  --bg-hover: #355539;
  --card-bg: rgba(255,255,255,0.08);
  --card-bg-solid: #527a62;
  --input-bg: rgba(255,255,255,0.1);
  --text-primary: #ffffff;
  --text-secondary: rgba(255,255,255,0.7);
  --text-muted: rgba(255,255,255,0.45);
  --border: rgba(255,255,255,0.18);
  --border-light: rgba(255,255,255,0.1);
  --success: #34d399;
  --warning: #fbbf24;
  --danger: #f87171;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.2);
  --shadow-md: 0 2px 8px rgba(0,0,0,0.25);
  --shadow-lg: 0 4px 16px rgba(0,0,0,0.25);
  --shadow-xl: 0 8px 28px rgba(0,0,0,0.3);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --transition: all 0.2s ease;
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text-primary);
  background: var(--bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

/* ===== AUTH PAGE ===== */
.auth-page {
  min-height: 100vh;
  display: flex;
}

.auth-left {
  flex: 1;
  background: var(--primary);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 3rem;
  position: relative;
  overflow: hidden;
}

.auth-left::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 30% 50%, rgba(255,255,255,0.08) 0%, transparent 60%);
}

.auth-left-content {
  position: relative;
  z-index: 1;
  color: #fff;
  text-align: center;
  max-width: 420px;
}

.auth-logo {
  width: 80px;
  margin-bottom: 2rem;
}

.auth-left h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.auth-left p {
  font-size: 1.0625rem;
  opacity: 0.85;
  line-height: 1.6;
}

.auth-features {
  margin-top: 2.5rem;
  text-align: left;
}

.auth-feature {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  margin-bottom: 1.25rem;
  font-size: 0.9375rem;
  opacity: 0.9;
}

.auth-feature i {
  font-size: 1.25rem;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.15);
  border-radius: 10px;
  flex-shrink: 0;
}

.auth-right {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem;
  background: #3d6049;
}

.auth-form-container {
  width: 100%;
  max-width: 420px;
}

.auth-form-container h2 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.auth-form-container .subtitle {
  color: var(--text-secondary);
  margin-bottom: 2rem;
  font-size: 0.9375rem;
}

.auth-tabs {
  display: flex;
  background: var(--bg-secondary);
  border-radius: var(--radius-md);
  padding: 4px;
  margin-bottom: 1.5rem;
}

.auth-tab {
  flex: 1;
  padding: 0.625rem;
  border: none;
  background: none;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition);
}

.auth-tab.active {
  background: rgba(255,255,255,0.15);
  color: var(--text-primary);
  box-shadow: var(--shadow-sm);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.375rem;
}

.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.9375rem;
  font-family: inherit;
  transition: var(--transition);
  background: var(--input-bg);
  background-color: #4f6f56; /* apna green */
  color: #fff;
}

.form-input,
.space-type {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.9375rem;
    font-family: inherit;
    transition: var(--transition);

    background-color: #4f6f56; /* apna green */
    color: #fff;

    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;

    cursor: pointer;
}

.form-input,
.description_11 {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.9375rem;
    font-family: inherit;
    transition: var(--transition);

    background-color: #4f6f56 !important; /* apna green */
    color: #fff !important;

    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;

    cursor: pointer;
}

/* dropdown options */
.space-type option {
    background: #fff;
    color: #000;
}

.form-input:focus {
  outline: none;
  border-color: rgba(255,255,255,0.4);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.15);
}

.form-input::placeholder { color: var(--text-muted); }

.auth-form-container .form-input::placeholder {
  color: rgba(255, 255, 255, 0.65);
}

.auth-form-container .phone-otp-block__head {
  color: #fff;
}

.auth-form-container .phone-otp-status.is-info {
  color: rgba(255, 255, 255, 0.78);
}

.auth-bottom-links {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.75);
  margin-top: 1rem;
  text-align: center;
  line-height: 1.6;
}

.auth-bottom-links a {
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}

.auth-bottom-links a:hover {
  text-decoration: underline;
}

.auth-bottom-links span {
  margin: 0 0.35rem;
  color: rgba(255, 255, 255, 0.45);
}

.form-row {
  display: flex;
  gap: 0.75rem;
}

.form-row .form-group { flex: 1; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-sm);
  font-size: 0.9375rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  text-decoration: none;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  width: 100%;
  padding: 0.875rem;
}

.btn-primary:hover { background: var(--primary-dark); }

.btn-accent {
  background: #48705A;
  color: #fff;
}

.btn-accent:hover { background: #3a5a47; }

.btn-outline {
  background: var(--card-bg);
  color: var(--text-primary);
  border: 1px solid var(--border);
}

.btn-outline:hover {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.3);
}

.btn-ghost {
  background: none;
  color: var(--text-secondary);
  padding: 0.5rem 0.75rem;
}

.btn-ghost:hover { color: var(--text-primary); background: rgba(255,255,255,0.08); }

.btn-white {
  background: #fff;
  color: var(--primary);
  font-weight: 600;
}

.btn-white:hover { background: var(--bg-secondary); }

.social-auth {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--card-bg);
  font-size: 0.9375rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
  color: var(--text-primary);
}

.social-btn:hover { background: rgba(255,255,255,0.15); border-color: rgba(255,255,255,0.3); }

.social-btn img { width: 20px; height: 20px; }

.divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  color: var(--text-muted);
  font-size: 0.8125rem;
}

.divider::before, .divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border-light);
}

.form-footer {
  text-align: center;
  margin-top: 1.5rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.form-footer a {
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}

.form-footer a:hover { text-decoration: underline; }

/* ===== ONBOARDING ===== */
.onboarding-page {
  min-height: 100vh;
  background: var(--bg);
}

.onboarding-header {
  padding: 1.25rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-light);
  position: sticky;
  top: 0;
  background: var(--bg-secondary);
  z-index: 100;
}

.onboarding-logo {
  height: 36px;
}

.onboarding-progress {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.progress-step {
  width: 32px;
  height: 4px;
  border-radius: 2px;
  background: var(--border-light);
  transition: var(--transition);
}

.progress-step.completed { background: var(--primary); }
.progress-step.active { background: var(--primary); width: 48px; }

.onboarding-content {
  max-width: 640px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

.onboarding-step {
  display: none;
  animation: fadeInUp 0.4s ease;
}

.onboarding-step.active { display: block; }

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

.onboarding-step h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.onboarding-step .step-desc {
  color: var(--text-secondary);
  font-size: 1.0625rem;
  margin-bottom: 2.5rem;
  line-height: 1.6;
}

.option-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

.option-card {
  border: 2px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  cursor: pointer;
  transition: var(--transition);
  text-align: left;
  background: var(--card-bg);
}

.option-card:hover { border-color: rgba(255,255,255,0.3); }
.option-card.selected { border-color: #fff; background: rgba(255,255,255,0.12); }

.option-card i {
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
  display: block;
  color: #fff;
}

.option-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.option-card p {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

.onboarding-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.25rem 2rem;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
}

.onboarding-footer .btn-primary {
  width: auto;
  padding: 0.75rem 2rem;
}

/* Welcome screen */
.welcome-illustration {
  width: 100%;
  max-width: 400px;
  margin: 0 auto 2rem;
  display: block;
  border-radius: var(--radius-lg);
}

.welcome-stats {
  display: flex;
  gap: 2rem;
  justify-content: center;
  margin: 2rem 0;
}

.welcome-stat {
  text-align: center;
}

.welcome-stat .number {
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}

.welcome-stat .label {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  margin-top: 0.25rem;
}

/* ===== DASHBOARD LAYOUT ===== */
.dashboard-layout {
  display: flex;
  min-height: 100vh;
}

.sidebar {
  width: 260px;
  background: #3a5a47;
  border-right: 1px solid var(--border-light);
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  z-index: 200;
  transition: transform 0.3s ease;
}

.sidebar-logo {
  padding: 1.5rem 1.25rem;
  border-bottom: 1px solid var(--border-light);
}

.sidebar-logo a {
  display: inline-flex;
  line-height: 0;
}

.sidebar-logo img {
  height: 32px;
}

.sidebar-nav {
  flex: 1;
  padding: 0.75rem;
  overflow-y: auto;
}

.nav-section {
  margin-bottom: 0.5rem;
}

.nav-section-label {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  padding: 0.75rem 0.75rem 0.375rem;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.625rem 0.75rem;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: var(--transition);
  cursor: pointer;
}

.nav-item:hover { background: rgba(255,255,255,0.08); color: var(--text-primary); }

.nav-item.active {
  background: rgba(255,255,255,0.12);
  color: #fff;
  font-weight: 600;
}

.nav-item i { font-size: 1.125rem; width: 20px; text-align: center; }

.nav-item .badge {
  margin-left: auto;
  background: var(--accent);
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 700;
  padding: 0.125rem 0.5rem;
  border-radius: 10px;
}

.sidebar-footer {
  padding: 1rem 1.25rem;
  border-top: 1px solid var(--border-light);
}

a.sidebar-user-link {
  display: block;
  text-decoration: none;
  color: inherit;
  border-radius: var(--radius-sm);
  margin: -0.25rem;
  padding: 0.25rem;
  transition: var(--transition);
}

a.sidebar-user-link:hover {
  background: rgba(255, 255, 255, 0.08);
}

.sidebar-user {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.sidebar-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.875rem;
}

.sidebar-user-info .name {
  font-size: 0.875rem;
  font-weight: 600;
  color: #fff;
}

.sidebar-user-info .role {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.6);
}

.sidebar-logout-form {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-logout-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.5rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.8125rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}

.sidebar-logout-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

/* Main Content */
.main-content {
  flex: 1;
  margin-left: 260px;
  background: var(--bg-secondary);
  min-height: 100vh;
}

.main-header {
  background: #3d6049;
  padding: 1rem 2rem;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
}

.main-header h1 {
  font-size: 1.5rem;
  font-weight: 700;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.header-search {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 0.5rem 1rem;
  width: 280px;
  transition: var(--transition);
}

.header-search:focus-within {
  border-color: rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.12);
}

.header-search i { color: var(--text-muted); font-size: 0.875rem; }

.header-search input {
  border: none;
  background: none;
  font-size: 0.875rem;
  font-family: inherit;
  width: 100%;
  color: var(--text-primary);
}

.header-search input:focus { outline: none; }

.icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border-light);
  background: var(--card-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  color: var(--text-secondary);
  position: relative;
}

.icon-btn:hover { background: rgba(255,255,255,0.15); color: var(--text-primary); }

.icon-btn .dot {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  border: 2px solid #fff;
}

.main-body { padding: 2rem; }

/* ===== STAT CARDS ===== */
.stat-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.stat-card {
  background: var(--card-bg);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  border: 1px solid var(--border-light);
  transition: var(--transition);
}

.stat-card:hover { box-shadow: var(--shadow-md); background: rgba(255,255,255,0.12); }

.stat-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.stat-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.stat-icon.green { background: rgba(255,255,255,0.12); color: #fff; }
.stat-icon.blue { background: rgba(96,165,250,0.2); color: #93c5fd; }
.stat-icon.amber { background: rgba(251,191,36,0.2); color: #fbbf24; }
.stat-icon.rose { background: rgba(251,113,133,0.2); color: #fca5a5; }

.stat-trend {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
}

.stat-trend.up { color: var(--success); background: rgba(52,211,153,0.15); }
.stat-trend.down { color: var(--danger); background: rgba(248,113,113,0.15); }

.stat-value {
  font-size: 1.875rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.8125rem;
  color: var(--text-secondary);
}

/* ===== CONTENT CARDS ===== */
.content-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.content-card {
  background: var(--card-bg);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  overflow: hidden;
}

.card-header {
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-light);
}

.card-header h2 {
  font-size: 1.0625rem;
  font-weight: 700;
}

.card-body { padding: 1.5rem; }
.card-body.no-pad { padding: 0; }

/* ===== BOOKINGS TABLE ===== */
.bookings-table {
  width: 100%;
  border-collapse: collapse;
}

.bookings-table th {
  text-align: left;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-secondary);
  padding: 0.875rem 1.5rem;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-light);
}

.bookings-table td {
  padding: 1rem 1.5rem;
  font-size: 0.875rem;
  border-bottom: 1px solid var(--border-light);
  vertical-align: middle;
}

.bookings-table tr:last-child td { border-bottom: none; }

.bookings-table tr:hover td { background: rgba(255,255,255,0.04); }

.guest-info {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

.guest-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.guest-name { font-weight: 600; }
.guest-email { font-size: 0.75rem; color: var(--text-secondary); }

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.25rem 0.625rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
}

.status-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.status-confirmed { background: rgba(52,211,153,0.15); color: var(--success); }
.status-confirmed::before { background: var(--success); }
.status-pending { background: rgba(251,191,36,0.15); color: var(--warning); }
.status-pending::before { background: var(--warning); }
.status-cancelled { background: rgba(248,113,113,0.15); color: var(--danger); }
.status-cancelled::before { background: var(--danger); }
.status-completed { background: rgba(96,165,250,0.15); color: #93c5fd; }
.status-completed::before { background: #93c5fd; }

/* ===== LISTING CARD ===== */
.listing-item {
  display: flex;
  gap: 1rem;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--border-light);
  transition: var(--transition);
}

.listing-item:last-child { border-bottom: none; }
.listing-item:hover { background: rgba(255,255,255,0.04); }

.listing-thumb {
  width: 80px;
  height: 60px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  flex-shrink: 0;
}

.listing-info { flex: 1; min-width: 0; }

.listing-info h4 {
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.125rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.listing-info .location {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.listing-meta {
  text-align: right;
  flex-shrink: 0;
}

.listing-price {
  font-weight: 700;
  font-size: 0.875rem;
}

.listing-rating {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.listing-rating i { color: #fbbf24; }

/* ===== ACTIVITY ===== */
.activity-item {
  display: flex;
  gap: 0.875rem;
  padding: 0.875rem 0;
  border-bottom: 1px solid var(--border-light);
}

.activity-item:last-child { border-bottom: none; }

.activity-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  flex-shrink: 0;
}

.activity-icon.booking { background: rgba(255,255,255,0.12); color: #fff; }
.activity-icon.review { background: rgba(251,191,36,0.2); color: #fbbf24; }
.activity-icon.payment { background: rgba(96,165,250,0.2); color: #93c5fd; }
.activity-icon.alert { background: rgba(251,113,133,0.2); color: #fca5a5; }

.activity-text {
  font-size: 0.8125rem;
  line-height: 1.5;
}

.activity-text strong { font-weight: 600; }

.activity-time {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.125rem;
}

/* ===== QUICK ACTIONS ===== */
.quick-actions {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.quick-action {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  color: var(--text-primary);
}

.quick-action:hover {
  border-color: rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.08);
}

.quick-action i {
  font-size: 1.25rem;
  color: #fff;
}

.quick-action span {
  font-size: 0.8125rem;
  font-weight: 600;
}

/* ===== ADD LISTING ===== */
.listing-wizard {
  max-width: 680px;
  margin: 0 auto;
  padding: 2rem;
}

.wizard-step {
  display: none;
  animation: fadeInUp 0.4s ease;
}

.wizard-step.active { display: block; }

.wizard-step h1 {
  font-family: 'Playfair Display', serif;
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.wizard-step .step-desc {
  color: var(--text-secondary);
  font-size: 1rem;
  margin-bottom: 2rem;
}

.property-type-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.property-type-card {
  border: 2px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.5rem 1rem;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
}

.property-type-card:hover { border-color: rgba(255,255,255,0.3); }
.property-type-card.selected { border-color: #fff; background: rgba(255,255,255,0.12); }

.property-type-card i {
  font-size: 2rem;
  color: #fff;
  margin-bottom: 0.75rem;
  display: block;
}

.property-type-card h3 { font-size: 0.9375rem; font-weight: 600; }
.property-type-card p { font-size: 0.75rem; color: var(--text-secondary); margin-top: 0.25rem; }

.counter-group {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border-light);
}

.counter-label h3 { font-size: 0.9375rem; font-weight: 600; }
.counter-label p { font-size: 0.8125rem; color: var(--text-secondary); }

.counter-control {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.counter-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--card-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  font-size: 1.125rem;
  color: var(--text-secondary);
}

.counter-btn:hover { border-color: rgba(255,255,255,0.3); color: var(--text-primary); }
.counter-btn:disabled { opacity: 0.3; cursor: not-allowed; }

.counter-value {
  font-size: 1.125rem;
  font-weight: 600;
  width: 24px;
  text-align: center;
}

.amenity-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

.amenity-chip {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  font-size: 0.8125rem;
  font-weight: 500;
}

.amenity-chip:hover { border-color: rgba(255,255,255,0.3); }
.amenity-chip.selected { border-color: #fff; background: rgba(255,255,255,0.12); color: #fff; }
.amenity-chip i { font-size: 1.125rem; }

/* Photo Upload */
.photo-upload-zone {
  border: 2px dashed var(--border);
  border-radius: var(--radius-md);
  padding: 3rem;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  margin-bottom: 1.5rem;
}

.photo-upload-zone:hover { border-color: rgba(255,255,255,0.4); background: rgba(255,255,255,0.05); }

.photo-upload-zone i {
  font-size: 2.5rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.photo-upload-zone h3 { font-size: 1rem; font-weight: 600; margin-bottom: 0.25rem; }
.photo-upload-zone p { font-size: 0.8125rem; color: var(--text-secondary); }

.photo-upload-zone.is-dragover {
  border-color: rgba(255, 255, 255, 0.65);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.12);
}

.photo-upload-hint {
  font-size: 0.75rem !important;
  color: var(--text-muted) !important;
  margin-top: 0.35rem;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
}

.photo-grid-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 2rem 1rem;
  border: 1px dashed var(--border);
  border-radius: var(--radius-md);
  color: var(--text-secondary);
}

.photo-grid-empty i {
  font-size: 2rem;
  color: var(--text-muted);
  display: block;
  margin-bottom: 0.5rem;
}

.photo-grid-empty span {
  display: block;
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

.photo-item {
  aspect-ratio: 1;
  border-radius: var(--radius-sm);
  overflow: hidden;
  position: relative;
  cursor: grab;
}

.photo-item.is-dragging {
  opacity: 0.55;
}

.photo-item.is-drop-target {
  outline: 2px solid rgba(255, 255, 255, 0.55);
  outline-offset: 2px;
}

.photo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  user-select: none;
}

.photo-item-badges {
  position: absolute;
  left: 6px;
  bottom: 6px;
  right: 6px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.35rem;
  pointer-events: none;
}

.photo-cover-badge {
  background: var(--primary);
  color: #fff;
  font-size: 0.6875rem;
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 600;
}

.photo-order-badge {
  margin-left: auto;
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
  font-size: 0.6875rem;
  padding: 2px 8px;
  border-radius: 999px;
  font-weight: 600;
}

.photo-item-actions {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: rgba(0, 0, 0, 0.45);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.photo-item:hover .photo-item-actions {
  opacity: 1;
}

.photo-action-btn {
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 50%;
  background: #fff;
  color: #374151;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.photo-action-btn.is-primary {
  color: #f59e0b;
}

.photo-action-btn--danger {
  color: #dc2626;
}

.photo-action-btn:hover {
  transform: scale(1.05);
}

.photo-item .remove-photo {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(0,0,0,0.6);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  opacity: 0;
  transition: var(--transition);
}

.photo-item:hover .remove-photo { opacity: 1; }

/* Property Videos */
.host-video-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.host-video-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.03);
}

.host-video-item video {
  width: 160px;
  max-width: 40%;
  border-radius: var(--radius-sm);
  background: #000;
}

.host-video-item-meta {
  flex: 1;
  min-width: 0;
}

.host-video-item-name {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  word-break: break-word;
}

.host-video-item-size {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

.host-video-item-remove {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: rgba(220,38,38,0.15);
  color: #dc2626;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.host-video-item-remove:hover { background: rgba(220,38,38,0.3); }

.host-video-empty {
  text-align: center;
  padding: 2rem 1rem;
  border: 1px dashed var(--border);
  border-radius: var(--radius-md);
  color: var(--text-secondary);
}

.host-video-empty i {
  font-size: 2rem;
  color: var(--text-muted);
  display: block;
  margin-bottom: 0.5rem;
}

.host-video-empty span {
  display: block;
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

/* Price Input */
.price-input-container {
  position: relative;
  margin-bottom: 2rem;
}

.price-symbol {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-secondary);
}

.price-input {
  width: 100%;
  padding: 1.25rem 1rem 1.25rem 2.5rem;
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 2rem;
  font-weight: 700;
  font-family: inherit;
  text-align: center;
  color: var(--text-primary);
  background: var(--input-bg);
}

.price-input:focus { outline: none; border-color: rgba(255,255,255,0.4); }

.price-suggestion {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.08);
  padding: 0.875rem 1.25rem;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.price-suggestion i { color: #fff; }

/* Wizard Footer */
.wizard-footer {
  position: fixed;
  bottom: 0;
  left: 260px;
  right: 0;
  padding: 1.25rem 2rem;
  background: #3d6049;
  border-top: 1px solid var(--border-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
}

.wizard-progress {
  height: 3px;
  background: var(--border-light);
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
}

.wizard-progress-bar {
  height: 100%;
  background: var(--primary);
  transition: width 0.4s ease;
}

/* ===== EMPTY STATE ===== */
.empty-state {
  text-align: center;
  padding: 4rem 2rem;
}

.empty-state i {
  font-size: 3rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.empty-state h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.empty-state p {
  color: var(--text-secondary);
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
}

/* ===== CHART PLACEHOLDER ===== */
.chart-placeholder {
  height: 200px;
  background: linear-gradient(180deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.01) 100%);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: flex-end;
  padding: 1rem;
  gap: 0.5rem;
}

.chart-bar {
  flex: 1;
  background: rgba(255,255,255,0.5);
  border-radius: 4px 4px 0 0;
  opacity: 0.7;
  transition: var(--transition);
  min-height: 8px;
}

.chart-bar:hover { opacity: 1; background: #fff; }

/* ===== REVIEW PREVIEW ===== */
.review-item {
  padding: 1rem 0;
  border-bottom: 1px solid var(--border-light);
}

.review-item:last-child { border-bottom: none; }

.review-header {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  margin-bottom: 0.5rem;
}

.review-stars { color: #fbbf24; font-size: 0.8125rem; }

.review-meta {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.review-text {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.5;
}

/* ===== RESPONSIVE ===== */
.mobile-header {
  display: none;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  background: #3a5a47;
  border-bottom: 1px solid var(--border-light);
  position: sticky;
  top: 0;
  z-index: 150;
}

.mobile-header img { height: 28px; }

.sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 190;
}

@media (max-width: 1024px) {
  .stat-cards { grid-template-columns: repeat(2, 1fr); }
  .content-grid { grid-template-columns: 1fr; }
  .property-type-grid { grid-template-columns: repeat(2, 1fr); }
  .amenity-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ===== USER GUEST ACCOUNT (narrow sidebar + main; do not use .main-content here) ===== */
.user-account-shell {
  min-height: 100vh;
  background: var(--bg);
}

.user-side {
  width: 260px;
  flex-shrink: 0;
  background: #3a5a47;
  border-right: 1px solid var(--border-light);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
}

.user-side-brand {
  font-weight: 800;
  margin-bottom: 1rem;
  font-size: 1rem;
  color: var(--text-primary);
}

.user-side nav a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 0.75rem;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.875rem;
  margin-bottom: 0.25rem;
}

.user-side nav a:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-primary);
}

.user-side nav a.active {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-weight: 600;
}

.user-main {
  flex: 1;
  min-width: 0;
  margin-left: 260px;
  padding: 1.5rem 2rem 2.5rem;
  background: var(--bg);
  min-height: 100vh;
}

.user-main--chat > .support-chat-main {
  padding: 0;
  max-width: 800px;
}

.user-page-title {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 0.25rem;
}

.user-page-lead {
  color: var(--text-secondary);
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.user-stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.user-stat-card {
  background: var(--card-bg);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.25rem;
}

.user-stat-card .n {
  font-size: 1.5rem;
  font-weight: 800;
}

.user-stat-card .l {
  font-size: 0.75rem;
  color: var(--text-secondary);
  margin-top: 0.25rem;
}

/* Guest booking cards (shared with user bookings list) */
.user-booking-card {
  background: var(--card-bg);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  overflow: hidden;
  transition: var(--transition);
}

.user-booking-card:hover {
  box-shadow: var(--shadow-md);
}

.user-booking-card-body {
  display: flex;
  gap: 1.25rem;
  padding: 1.25rem;
}

.user-booking-card-img {
  width: 160px;
  height: 120px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  flex-shrink: 0;
}

.user-booking-card-content {
  flex: 1;
  min-width: 0;
}

.user-booking-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.5rem;
}

.user-booking-card-title {
  font-size: 1rem;
  font-weight: 700;
}

.user-booking-card-id {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.125rem;
}

.user-wishlist-remove {
  width: 36px;
  height: 36px;
  border: 1px solid var(--border-light);
  border-radius: 999px;
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
}

.user-wishlist-remove i {
  color: #ef4444;
}

.user-wishlist-remove:hover {
  background: #fff5f5;
}

.user-booking-card-details {
  display: flex;
  gap: 2rem;
  margin-top: 0.75rem;
  flex-wrap: wrap;
}

.user-booking-detail .label {
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  font-weight: 600;
}

.user-booking-detail .value {
  font-size: 0.875rem;
  font-weight: 600;
  margin-top: 0.125rem;
}

.user-booking-filters {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.user-filter-pills {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.user-filter-pill {
  padding: 0.5rem 1rem;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-light);
  background: var(--card-bg);
  font-size: 0.8125rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  color: var(--text-secondary);
  font-family: inherit;
}

.user-filter-pill:hover {
  border-color: rgba(255, 255, 255, 0.3);
  color: var(--text-primary);
}

.user-filter-pill.active {
  background: #fff;
  color: #4A7059;
  border-color: #fff;
}

.user-filter-pill .count {
  background: rgba(255, 255, 255, 0.2);
  padding: 0.125rem 0.375rem;
  border-radius: 8px;
  font-size: 0.6875rem;
  margin-left: 0.375rem;
}

.user-filter-pill.active .count {
  background: rgba(74, 112, 89, 0.15);
}

.user-booking-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

.user-booking-stat-card {
  background: var(--card-bg);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  text-align: center;
}

.user-booking-stat-card .num {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-primary);
}

.user-booking-stat-card .lbl {
  font-size: 0.75rem;
  color: var(--text-secondary);
  margin-top: 0.25rem;
}

.user-booking-stat-card .trend {
  font-size: 0.6875rem;
  font-weight: 600;
  margin-top: 0.375rem;
}

.user-booking-stat-card .trend.up {
  color: var(--success);
}

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

  .user-main {
    margin-left: 0;
    padding: 1.25rem 1rem 2rem;
  }

  .user-side {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid var(--border-light);
  }

  .user-booking-card-body {
    flex-direction: column;
  }

  .user-booking-card-img {
    width: 100%;
    height: 180px;
  }

  .sidebar { transform: translateX(-100%); }
  .sidebar.open { transform: translateX(0); }
  .sidebar-overlay.open { display: block; }
  .mobile-header { display: flex; }
  .main-content { margin-left: 0; }
  .main-header { display: none; }
  .stat-cards { grid-template-columns: 1fr 1fr; }
  .auth-page { flex-direction: column; }
  .auth-left { padding: 2rem; min-height: auto; }
  .auth-left h1 { font-size: 1.75rem; }
  .auth-features { display: none; }
  .option-grid { grid-template-columns: 1fr; }
  .wizard-footer { left: 0; }
  .photo-grid { grid-template-columns: repeat(2, 1fr); }
  .quick-actions { grid-template-columns: 1fr; }
}