/* ═══════════════════════════════════════════════════════════
   RANIKHET MASJID — RENTAL & PROPERTY MANAGEMENT
   Design: Premium Islamic Elegant + Glassmorphism
   Palette: Emerald Green + Gold + Deep Forest
   Fonts: Cormorant Garamond (display) + Plus Jakarta Sans (body)
═══════════════════════════════════════════════════════════ */

/* ── CSS VARIABLES ── */
:root {
  --primary: #10b981;
  --primary-dark: #059669;
  --primary-light: #34d399;
  --primary-xlight: #d1fae5;
  --gold: #f59e0b;
  --gold-dark: #d97706;
  --gold-light: #fcd34d;
  --gold-xlight: #fef3c7;

  --bg: #ffffff;
  --bg-secondary: #f8fffe;
  --bg-tertiary: #f0fdf4;
  --surface: #ffffff;
  --surface-2: #f9fafb;
  --border: #e5e7eb;
  --border-light: #f3f4f6;

  --text-primary: #0f172a;
  --text-secondary: #374151;
  --text-muted: #6b7280;
  --text-light: #9ca3af;

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.08), 0 2px 6px rgba(0,0,0,0.04);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.10), 0 4px 12px rgba(0,0,0,0.06);
  --shadow-xl: 0 20px 60px rgba(0,0,0,0.12);
  --shadow-gold: 0 8px 32px rgba(245,158,11,0.25);
  --shadow-emerald: 0 8px 32px rgba(16,185,129,0.25);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  --nav-h: 72px;
  --sidebar-w: 260px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.15s ease;
  --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="dark"] {
  --bg: #0a0f0d;
  --bg-secondary: #0f1a14;
  --bg-tertiary: #111f17;
  --surface: #141f1a;
  --surface-2: #1a2820;
  --border: #1e3028;
  --border-light: #162318;
  --text-primary: #f0fdf4;
  --text-secondary: #d1fae5;
  --text-muted: #6ee7b7;
  --text-light: #4ade80;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.3);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.4);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.5);
}

/* ── RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background: var(--bg);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background 0.3s ease, color 0.3s ease;
}

a { text-decoration: none; color: inherit; cursor: pointer; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, select, textarea { font-family: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--bg-secondary); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 3px; }

/* ── TYPOGRAPHY ── */
h1, h2, h3 { font-family: 'Cormorant Garamond', serif; line-height: 1.2; }
h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3vw, 2.8rem); font-weight: 600; }
h3 { font-size: clamp(1.2rem, 2vw, 1.6rem); font-weight: 600; }
em { font-style: italic; color: var(--primary); }

.arabic-text {
  font-family: 'Amiri', serif;
  font-size: 1.1rem;
  direction: rtl;
  color: var(--gold);
  letter-spacing: 0.05em;
}

/* ═══════════════════════════════════════════════════════════
   NAVBAR
═══════════════════════════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 1000;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

[data-theme="dark"] .navbar {
  background: rgba(10,15,13,0.9);
}

.navbar.scrolled {
  box-shadow: var(--shadow-md);
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.nav-brand { flex-shrink: 0; }

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-icon {
  width: 40px; height: 40px;
  color: var(--primary);
  flex-shrink: 0;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo-main {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
}

.logo-sub {
  font-size: 0.65rem;
  font-weight: 500;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-link {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-full);
  transition: var(--transition-fast);
  position: relative;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary);
  background: var(--primary-xlight);
}

[data-theme="dark"] .nav-link:hover,
[data-theme="dark"] .nav-link.active {
  background: rgba(16,185,129,0.15);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.theme-toggle {
  width: 38px; height: 38px;
  border-radius: var(--radius-full);
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.875rem;
  transition: var(--transition-fast);
}

.theme-toggle:hover {
  background: var(--primary-xlight);
  color: var(--primary);
  border-color: var(--primary);
}

.btn-admin {
  padding: 0.5rem 1.25rem;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  display: flex; align-items: center; gap: 0.4rem;
  transition: var(--transition-fast);
  box-shadow: var(--shadow-emerald);
}

.btn-admin:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 40px rgba(16,185,129,0.35);
}

.btn-login {
  padding: 0.5rem 1.25rem;
  background: transparent;
  color: var(--text-secondary);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  display: flex; align-items: center; gap: 0.4rem;
  transition: var(--transition-fast);
}

.btn-login:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-xlight);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}

.hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition-fast);
}

/* ═══════════════════════════════════════════════════════════
   PAGES
═══════════════════════════════════════════════════════════ */
.page { display: none; }
.page.active { display: block; }

/* ═══════════════════════════════════════════════════════════
   HERO SECTION
═══════════════════════════════════════════════════════════ */
.hero {
  min-height: 100vh;
  padding-top: var(--nav-h);
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, #0a1f14 0%, #0d2b1c 40%, #0f3d24 70%, #0a2a1a 100%);
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(16,185,129,0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(245,158,11,0.06) 0%, transparent 40%),
    radial-gradient(circle at 60% 80%, rgba(16,185,129,0.05) 0%, transparent 40%);
}

/* Islamic geometric pattern overlay */
.hero-pattern::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%2310b981' fill-opacity='0.04'%3E%3Cpath d='M30 0l8.66 5v10L30 20l-8.66-5V5L30 0zm0 40l8.66 5v10L30 60l-8.66-5V45L30 40zM0 20l8.66 5v10L0 40l-8.66-5V25L0 20zm60 0l8.66 5v10L60 40l-8.66-5V25L60 20z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-gradient {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 200px;
  background: linear-gradient(to top, var(--bg), transparent);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1400px;
  margin: 0 auto;
  padding: 4rem 2rem;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.25rem;
  background: rgba(245,158,11,0.1);
  border: 1px solid rgba(245,158,11,0.3);
  border-radius: var(--radius-full);
  margin-bottom: 1.5rem;
  width: fit-content;
}

.hero-title {
  display: flex;
  flex-direction: column;
  gap: 0.1em;
  margin-bottom: 1.5rem;
}

.hero-title-line1 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 400;
  color: rgba(255,255,255,0.7);
  font-style: italic;
}

.hero-title-line2 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 700;
  color: #ffffff;
  line-height: 1;
}

.hero-title-line3 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 700;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.hero-subtitle {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.6);
  max-width: 480px;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.btn-primary-hero {
  padding: 0.875rem 2rem;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  border-radius: var(--radius-full);
  font-size: 0.95rem;
  font-weight: 600;
  display: flex; align-items: center; gap: 0.5rem;
  transition: var(--transition);
  box-shadow: 0 8px 32px rgba(16,185,129,0.4);
}

.btn-primary-hero:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 48px rgba(16,185,129,0.5);
}

.btn-secondary-hero {
  padding: 0.875rem 2rem;
  background: rgba(255,255,255,0.08);
  color: white;
  border: 1.5px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-full);
  font-size: 0.95rem;
  font-weight: 600;
  display: flex; align-items: center; gap: 0.5rem;
  transition: var(--transition);
  backdrop-filter: blur(10px);
}

.btn-secondary-hero:hover {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.4);
  transform: translateY(-2px);
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-stat .stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1;
}

.hero-stat span:not(.stat-num):not(.stat-label) {
  font-size: 1.5rem;
  color: var(--gold-light);
  font-weight: 700;
}

.hero-stat .stat-label {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 0.25rem;
}

.hero-stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.15);
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-mosque-art {
  width: 100%;
  max-width: 480px;
  animation: floatMosque 6s ease-in-out infinite;
}

.mosque-svg {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 20px 60px rgba(16,185,129,0.2));
}

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

.hero-scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.4);
  font-size: 0.75rem;
  animation: bounce 2s ease-in-out infinite;
}

.scroll-dot {
  width: 6px; height: 6px;
  background: var(--gold);
  border-radius: 50%;
}

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

/* ═══════════════════════════════════════════════════════════
   SECTION COMMONS
═══════════════════════════════════════════════════════════ */
.section-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 5rem 2rem;
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-tag {
  display: inline-block;
  padding: 0.35rem 1rem;
  background: var(--primary-xlight);
  color: var(--primary-dark);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

[data-theme="dark"] .section-tag {
  background: rgba(16,185,129,0.15);
  color: var(--primary-light);
}

.section-title {
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.section-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
}

.section-cta {
  text-align: center;
  margin-top: 3rem;
}

.btn-outline-gold {
  padding: 0.875rem 2.5rem;
  background: transparent;
  color: var(--gold-dark);
  border: 2px solid var(--gold);
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  display: inline-flex; align-items: center; gap: 0.5rem;
  transition: var(--transition);
}

.btn-outline-gold:hover {
  background: var(--gold);
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

/* ═══════════════════════════════════════════════════════════
   ABOUT SECTION
═══════════════════════════════════════════════════════════ */
.about-section {
  background: var(--bg-secondary);
}

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

.about-card {
  padding: 2.5rem 2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.about-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--gold));
  opacity: 0;
  transition: var(--transition);
}

.about-card:hover::before,
.about-card.featured::before { opacity: 1; }

.about-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.about-card.featured {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  border-color: transparent;
  box-shadow: var(--shadow-emerald);
}

.about-card.featured h3,
.about-card.featured p { color: white; }

.about-icon {
  width: 64px; height: 64px;
  border-radius: var(--radius-lg);
  background: var(--primary-xlight);
  color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 1.5rem;
  transition: var(--transition);
}

.about-card.featured .about-icon {
  background: rgba(255,255,255,0.2);
  color: white;
}

.about-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.about-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ═══════════════════════════════════════════════════════════
   ROOMS PREVIEW
═══════════════════════════════════════════════════════════ */
.rooms-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.room-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: var(--transition);
  cursor: pointer;
}

.room-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.room-card-header {
  padding: 1.5rem;
  background: linear-gradient(135deg, var(--bg-tertiary), var(--bg-secondary));
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  border-bottom: 1px solid var(--border);
}

.room-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
}

.room-floor-badge {
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

.room-status-badge {
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.status-available { background: #d1fae5; color: #065f46; }
.status-occupied { background: #fee2e2; color: #991b1b; }
.status-maintenance { background: #fef3c7; color: #92400e; }
.status-reserved { background: #ede9fe; color: #5b21b6; }

[data-theme="dark"] .status-available { background: rgba(16,185,129,0.2); color: #6ee7b7; }
[data-theme="dark"] .status-occupied { background: rgba(239,68,68,0.2); color: #fca5a5; }
[data-theme="dark"] .status-maintenance { background: rgba(245,158,11,0.2); color: #fcd34d; }
[data-theme="dark"] .status-reserved { background: rgba(139,92,246,0.2); color: #c4b5fd; }

.room-card-body {
  padding: 1.25rem 1.5rem;
}

.room-type {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.5rem;
}

.room-rent {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-primary);
}

.room-rent span {
  font-size: 0.85rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: var(--text-muted);
  font-weight: 400;
}

.room-amenities {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.75rem;
}

.amenity-tag {
  padding: 0.2rem 0.6rem;
  background: var(--bg-tertiary);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  color: var(--text-muted);
}

.room-card-footer {
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 0.75rem;
}

.btn-room-action {
  flex: 1;
  padding: 0.6rem;
  border-radius: var(--radius-md);
  font-size: 0.8rem;
  font-weight: 600;
  transition: var(--transition-fast);
  text-align: center;
}

.btn-room-primary {
  background: var(--primary);
  color: white;
}

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

.btn-room-secondary {
  background: var(--bg-secondary);
  color: var(--text-secondary);
  border: 1px solid var(--border);
}

.btn-room-secondary:hover {
  background: var(--primary-xlight);
  color: var(--primary);
  border-color: var(--primary);
}

/* ═══════════════════════════════════════════════════════════
   PAYMENT SECTION
═══════════════════════════════════════════════════════════ */
.payment-section {
  background: linear-gradient(135deg, #0a1f14, #0d2b1c);
  position: relative;
  overflow: hidden;
}

.payment-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%2310b981' fill-opacity='0.04'%3E%3Cpath d='M30 0l8.66 5v10L30 20l-8.66-5V5L30 0z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.payment-section .section-tag {
  background: rgba(245,158,11,0.15);
  color: var(--gold-light);
}

.payment-section .section-title { color: white; }
.payment-section .section-subtitle { color: rgba(255,255,255,0.5); }

.payment-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  position: relative;
  z-index: 1;
}

.payment-card {
  padding: 2rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-xl);
  text-align: center;
  transition: var(--transition);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.payment-card:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(16,185,129,0.4);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.payment-icon {
  width: 64px; height: 64px;
  border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 1.25rem;
}

.payment-icon.upi { background: rgba(16,185,129,0.2); color: var(--primary-light); }
.payment-icon.qr { background: rgba(245,158,11,0.2); color: var(--gold-light); }
.payment-icon.bank { background: rgba(99,102,241,0.2); color: #a5b4fc; }
.payment-icon.cash { background: rgba(34,197,94,0.2); color: #86efac; }

.payment-card h3 {
  font-size: 1.1rem;
  color: white;
  margin-bottom: 0.75rem;
}

.payment-card p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.payment-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: rgba(16,185,129,0.2);
  color: var(--primary-light);
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ═══════════════════════════════════════════════════════════
   PROPERTIES SECTION
═══════════════════════════════════════════════════════════ */
.featured-properties-section {
  background: var(--bg-secondary);
}

.properties-preview-grid,
.properties-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.property-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: var(--transition);
  cursor: pointer;
}

.property-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold);
}

.property-card-img {
  height: 180px;
  background: linear-gradient(135deg, var(--bg-tertiary), var(--bg-secondary));
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem;
  color: var(--primary);
  position: relative;
  overflow: hidden;
}

.property-purpose-tag {
  position: absolute;
  top: 1rem; right: 1rem;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
}

.purpose-rent { background: var(--primary); color: white; }
.purpose-sell { background: var(--gold); color: white; }

.property-card-body { padding: 1.25rem 1.5rem; }

.property-type-tag {
  font-size: 0.7rem;
  color: var(--primary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.5rem;
}

.property-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.property-location {
  font-size: 0.8rem;
  color: var(--text-muted);
  display: flex; align-items: center; gap: 0.3rem;
  margin-bottom: 0.75rem;
}

.property-price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold-dark);
}

.property-price span {
  font-size: 0.8rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: var(--text-muted);
  font-weight: 400;
}

.property-card-footer {
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.property-owner {
  font-size: 0.8rem;
  color: var(--text-muted);
  display: flex; align-items: center; gap: 0.4rem;
}

.btn-contact-prop {
  padding: 0.5rem 1rem;
  background: var(--primary);
  color: white;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  transition: var(--transition-fast);
}

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

/* ═══════════════════════════════════════════════════════════
   CONTACT SECTION
═══════════════════════════════════════════════════════════ */
.contact-section { background: var(--bg); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  align-items: start;
}

.contact-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.contact-icon {
  width: 44px; height: 44px;
  border-radius: var(--radius-md);
  background: var(--primary-xlight);
  color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.contact-item h4 {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.contact-item p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.contact-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
}

/* ═══════════════════════════════════════════════════════════
   FORM ELEMENTS
═══════════════════════════════════════════════════════════ */
.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--bg-secondary);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  color: var(--text-primary);
  transition: var(--transition-fast);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  background: var(--surface);
  box-shadow: 0 0 0 3px rgba(16,185,129,0.1);
}

.form-group input[readonly] {
  opacity: 0.6;
  cursor: not-allowed;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-section-title {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary);
  margin: 1.5rem 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
}

.checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.checkbox-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
  cursor: pointer;
}

.checkbox-item input[type="checkbox"] {
  width: auto;
  accent-color: var(--primary);
}

.btn-submit {
  width: 100%;
  padding: 0.875rem;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-weight: 600;
  display: flex; align-items: center; justify-content: center; gap: 0.5rem;
  transition: var(--transition);
  box-shadow: var(--shadow-emerald);
}

.btn-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 40px rgba(16,185,129,0.4);
}

/* ═══════════════════════════════════════════════════════════
   PAGE HERO MINI
═══════════════════════════════════════════════════════════ */
.page-hero-mini {
  padding: calc(var(--nav-h) + 3rem) 2rem 3rem;
  background: linear-gradient(135deg, #0a1f14, #0d2b1c);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero-mini::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%2310b981' fill-opacity='0.04'%3E%3Cpath d='M30 0l8.66 5v10L30 20l-8.66-5V5L30 0z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.page-hero-content { position: relative; z-index: 1; }
.page-hero-mini h1 { color: white; margin-bottom: 0.75rem; }
.page-hero-mini p { color: rgba(255,255,255,0.6); font-size: 1rem; }

/* ═══════════════════════════════════════════════════════════
   ROOMS PAGE TOOLBAR
═══════════════════════════════════════════════════════════ */
.rooms-toolbar,
.properties-toolbar {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 2rem;
  padding: 1.25rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
}

.search-bar {
  flex: 1;
  min-width: 200px;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 1rem;
  background: var(--bg-secondary);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-full);
  transition: var(--transition-fast);
}

.search-bar:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(16,185,129,0.1);
}

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

.search-bar input {
  flex: 1;
  border: none;
  background: none;
  outline: none;
  font-size: 0.875rem;
  color: var(--text-primary);
}

.filter-group {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  flex-wrap: wrap;
}

.filter-group select {
  padding: 0.6rem 1rem;
  background: var(--bg-secondary);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  color: var(--text-secondary);
  outline: none;
  cursor: pointer;
  transition: var(--transition-fast);
}

.filter-group select:focus {
  border-color: var(--primary);
}

.view-toggle {
  display: flex;
  gap: 0.25rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0.25rem;
}

.view-btn {
  width: 32px; height: 32px;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-size: 0.8rem;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition-fast);
}

.view-btn.active {
  background: var(--primary);
  color: white;
}

.rooms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.rooms-grid.list-view {
  grid-template-columns: 1fr;
}

.rooms-grid.list-view .room-card {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
}

.rooms-grid.list-view .room-card-header {
  border-bottom: none;
  border-right: 1px solid var(--border);
}

.rooms-grid.list-view .room-card-footer {
  border-top: none;
  border-left: 1px solid var(--border);
}

.btn-add-property {
  padding: 0.6rem 1.25rem;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: white;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  display: flex; align-items: center; gap: 0.4rem;
  transition: var(--transition-fast);
  white-space: nowrap;
}

.btn-add-property:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-gold);
}

/* ═══════════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════════ */
.footer {
  background: #0a1f14;
  color: rgba(255,255,255,0.7);
  padding-top: 4rem;
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem 3rem;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--primary-light);
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.footer-logo svg { width: 32px; height: 32px; }

.footer-brand p {
  font-size: 0.85rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.5);
  margin-bottom: 1rem;
}

.footer-arabic {
  font-family: 'Amiri', serif;
  font-size: 1.5rem;
  color: var(--gold);
  direction: rtl;
}

.footer-links h4 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: white;
  margin-bottom: 1.25rem;
}

.footer-links a {
  display: block;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 0.6rem;
  transition: var(--transition-fast);
}

.footer-links a:hover { color: var(--primary-light); }

.footer-contact h4 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: white;
  margin-bottom: 1.25rem;
}

.footer-contact p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 0.6rem;
  display: flex; align-items: center; gap: 0.5rem;
}

.footer-contact p i { color: var(--primary-light); }

.footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}

.footer-social a {
  width: 36px; height: 36px;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.6);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.875rem;
  transition: var(--transition-fast);
}

.footer-social a:hover {
  background: var(--primary);
  color: white;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1.5rem 2rem;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
  max-width: 1400px;
  margin: 0 auto;
}

/* ═══════════════════════════════════════════════════════════
   ADMIN PANEL
═══════════════════════════════════════════════════════════ */
.admin-panel {
  display: flex;
  min-height: 100vh;
  background: var(--bg-secondary);
}

.admin-panel.hidden { display: none; }

/* Sidebar */
.admin-sidebar {
  width: var(--sidebar-w);
  background: var(--surface);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0; left: 0; bottom: 0;
  z-index: 200;
  transition: var(--transition);
  overflow-y: auto;
}

[data-theme="dark"] .admin-sidebar {
  background: #0f1a14;
  border-color: #1e3028;
}

.sidebar-brand {
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-bottom: 1px solid var(--border);
}

.sidebar-logo {
  width: 36px; height: 36px;
  color: var(--primary);
  flex-shrink: 0;
}

.sidebar-title {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
}

.sidebar-role {
  display: block;
  font-size: 0.65rem;
  color: var(--primary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.sidebar-nav {
  flex: 1;
  padding: 1rem 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.nav-section-label {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-light);
  padding: 0.75rem 0.75rem 0.25rem;
  margin-top: 0.5rem;
}

.sidebar-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 0.875rem;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: var(--transition-fast);
  cursor: pointer;
  position: relative;
}

.sidebar-link:hover {
  background: var(--bg-tertiary);
  color: var(--text-primary);
}

.sidebar-link.active {
  background: var(--primary-xlight);
  color: var(--primary-dark);
  font-weight: 600;
}

[data-theme="dark"] .sidebar-link.active {
  background: rgba(16,185,129,0.15);
  color: var(--primary-light);
}

.sidebar-link i {
  width: 18px;
  text-align: center;
  font-size: 0.875rem;
}

.badge-count {
  margin-left: auto;
  background: var(--primary);
  color: white;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-full);
  min-width: 20px;
  text-align: center;
}

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

.sidebar-exit {
  width: 100%;
  padding: 0.7rem 0.875rem;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  display: flex; align-items: center; gap: 0.75rem;
  transition: var(--transition-fast);
}

.sidebar-exit:hover {
  background: #fee2e2;
  color: #dc2626;
}

/* Admin Main */
.admin-main {
  flex: 1;
  margin-left: var(--sidebar-w);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  transition: var(--transition);
}

/* Admin Topbar */
.admin-topbar {
  height: 64px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.5rem;
  position: sticky;
  top: 0;
  z-index: 100;
  gap: 1rem;
}

.topbar-left {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex: 1;
}

.sidebar-toggle {
  width: 36px; height: 36px;
  border-radius: var(--radius-md);
  background: var(--bg-secondary);
  color: var(--text-secondary);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.875rem;
  transition: var(--transition-fast);
}

.sidebar-toggle:hover {
  background: var(--primary-xlight);
  color: var(--primary);
}

.topbar-search {
  flex: 1;
  max-width: 400px;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 1rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
}

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

.topbar-search input {
  flex: 1;
  border: none;
  background: none;
  outline: none;
  font-size: 0.85rem;
  color: var(--text-primary);
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.topbar-notif {
  width: 36px; height: 36px;
  border-radius: var(--radius-full);
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.875rem;
  color: var(--text-secondary);
  cursor: pointer;
  position: relative;
  transition: var(--transition-fast);
}

.topbar-notif:hover { background: var(--primary-xlight); color: var(--primary); }

.notif-dot {
  position: absolute;
  top: 6px; right: 6px;
  width: 8px; height: 8px;
  background: #ef4444;
  border-radius: 50%;
  border: 2px solid var(--surface);
}

.topbar-profile {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.profile-avatar {
  width: 36px; height: 36px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.875rem;
  font-weight: 700;
}

.profile-info {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.profile-name {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-primary);
}

.profile-role {
  font-size: 0.65rem;
  color: var(--primary);
  font-weight: 500;
}

.btn-logout {
  width: 32px; height: 32px;
  border-radius: var(--radius-md);
  background: #fee2e2;
  color: #dc2626;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem;
  transition: var(--transition-fast);
}

.btn-logout:hover { background: #dc2626; color: white; }

/* Admin Content */
.admin-content {
  flex: 1;
  padding: 2rem;
  overflow-y: auto;
}

.admin-tab { display: none; }
.admin-tab.active { display: block; }

.tab-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.tab-header h2 { font-size: 1.8rem; }

.tab-date {
  font-size: 0.8rem;
  color: var(--text-muted);
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 0.4rem 0.875rem;
  border-radius: var(--radius-full);
}

.btn-tab-action {
  padding: 0.6rem 1.25rem;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  display: flex; align-items: center; gap: 0.4rem;
  transition: var(--transition-fast);
  box-shadow: var(--shadow-emerald);
}

.btn-tab-action:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(16,185,129,0.35);
}

.tab-toolbar {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.tab-toolbar .search-bar { flex: 1; min-width: 200px; }

.tab-toolbar select {
  padding: 0.6rem 1rem;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  color: var(--text-secondary);
  outline: none;
  cursor: pointer;
}

/* Dashboard Cards */
.dashboard-cards {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

.dash-card {
  padding: 1.5rem;
  border-radius: var(--radius-xl);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  cursor: default;
}

.dash-card::before {
  content: '';
  position: absolute;
  top: -20px; right: -20px;
  width: 80px; height: 80px;
  border-radius: 50%;
  opacity: 0.15;
}

.dash-card:hover { transform: translateY(-2px); }

.dash-card.emerald { background: linear-gradient(135deg, #d1fae5, #a7f3d0); }
.dash-card.emerald::before { background: #10b981; }
.dash-card.gold { background: linear-gradient(135deg, #fef3c7, #fde68a); }
.dash-card.gold::before { background: #f59e0b; }
.dash-card.teal { background: linear-gradient(135deg, #ccfbf1, #99f6e4); }
.dash-card.teal::before { background: #0d9488; }
.dash-card.purple { background: linear-gradient(135deg, #ede9fe, #ddd6fe); }
.dash-card.purple::before { background: #7c3aed; }
.dash-card.red { background: linear-gradient(135deg, #fee2e2, #fecaca); }
.dash-card.red::before { background: #ef4444; }
.dash-card.blue { background: linear-gradient(135deg, #dbeafe, #bfdbfe); }
.dash-card.blue::before { background: #3b82f6; }

[data-theme="dark"] .dash-card.emerald { background: rgba(16,185,129,0.15); }
[data-theme="dark"] .dash-card.gold { background: rgba(245,158,11,0.15); }
[data-theme="dark"] .dash-card.teal { background: rgba(13,148,136,0.15); }
[data-theme="dark"] .dash-card.purple { background: rgba(124,58,237,0.15); }
[data-theme="dark"] .dash-card.red { background: rgba(239,68,68,0.15); }
[data-theme="dark"] .dash-card.blue { background: rgba(59,130,246,0.15); }

.dash-card-icon {
  font-size: 1.25rem;
  color: var(--text-secondary);
}

.dash-card.emerald .dash-card-icon { color: #059669; }
.dash-card.gold .dash-card-icon { color: #d97706; }
.dash-card.teal .dash-card-icon { color: #0f766e; }
.dash-card.purple .dash-card-icon { color: #6d28d9; }
.dash-card.red .dash-card-icon { color: #dc2626; }
.dash-card.blue .dash-card-icon { color: #2563eb; }

.dash-card-num {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1;
}

.dash-card-label {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
}

.dash-card-trend {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-full);
  width: fit-content;
}

.dash-card-trend.up { background: rgba(16,185,129,0.15); color: #059669; }
.dash-card-trend.down { background: rgba(239,68,68,0.15); color: #dc2626; }
.dash-card-trend.neutral { background: rgba(107,114,128,0.15); color: #6b7280; }

/* Dashboard Grid */
.dashboard-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.dash-widget {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.widget-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
}

.widget-header h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.widget-action {
  font-size: 0.75rem;
  color: var(--primary);
  font-weight: 600;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  background: var(--primary-xlight);
  transition: var(--transition-fast);
}

.widget-action:hover { background: var(--primary); color: white; }

/* Recent Payments List */
.recent-payments-list,
.recent-tenants-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.payment-item,
.tenant-item {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 0.75rem;
  background: var(--bg-secondary);
  border-radius: var(--radius-md);
  transition: var(--transition-fast);
}

.payment-item:hover,
.tenant-item:hover { background: var(--bg-tertiary); }

.payment-item-icon,
.tenant-item-avatar {
  width: 36px; height: 36px;
  border-radius: var(--radius-full);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.875rem;
  flex-shrink: 0;
  font-weight: 700;
}

.payment-item-icon { background: var(--primary-xlight); color: var(--primary); }
.tenant-item-avatar { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: white; }

.payment-item-info,
.tenant-item-info { flex: 1; min-width: 0; }

.payment-item-name,
.tenant-item-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.payment-item-meta,
.tenant-item-meta {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.payment-item-amount {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary-dark);
  white-space: nowrap;
}

/* Room Status Chart */
.room-status-chart {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.status-bar-item {
  display: flex;
  align-items: center;
  gap: 0.875rem;
}

.status-bar-label {
  font-size: 0.8rem;
  color: var(--text-secondary);
  width: 90px;
  flex-shrink: 0;
}

.status-bar-track {
  flex: 1;
  height: 8px;
  background: var(--bg-secondary);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.status-bar-fill {
  height: 100%;
  border-radius: var(--radius-full);
  transition: width 1s ease;
}

.status-bar-fill.available { background: var(--primary); }
.status-bar-fill.occupied { background: #ef4444; }
.status-bar-fill.maintenance { background: var(--gold); }
.status-bar-fill.reserved { background: #8b5cf6; }

.status-bar-count {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  width: 30px;
  text-align: right;
}

/* Quick Actions */
.quick-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.qa-btn {
  padding: 1rem;
  background: var(--bg-secondary);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  display: flex; align-items: center; gap: 0.5rem;
  transition: var(--transition-fast);
}

.qa-btn:hover {
  background: var(--primary-xlight);
  border-color: var(--primary);
  color: var(--primary-dark);
}

.qa-btn i { font-size: 0.875rem; }

/* Admin Rooms Grid */
.admin-rooms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.25rem;
}

.admin-room-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  transition: var(--transition);
  position: relative;
}

.admin-room-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

.admin-room-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.admin-room-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
}

.admin-room-actions {
  display: flex;
  gap: 0.4rem;
}

.btn-icon {
  width: 30px; height: 30px;
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem;
  transition: var(--transition-fast);
}

.btn-icon.edit { background: var(--primary-xlight); color: var(--primary); }
.btn-icon.delete { background: #fee2e2; color: #dc2626; }
.btn-icon.edit:hover { background: var(--primary); color: white; }
.btn-icon.delete:hover { background: #dc2626; color: white; }

.admin-room-info {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.admin-room-detail {
  font-size: 0.8rem;
  color: var(--text-muted);
  display: flex; align-items: center; gap: 0.4rem;
}

.admin-room-detail i { color: var(--primary); width: 14px; }

.admin-room-rent {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-top: 0.5rem;
}

/* Data Table */
.tenants-table-wrap {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
}

.data-table thead {
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border);
}

.data-table th {
  padding: 0.875rem 1rem;
  text-align: left;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  white-space: nowrap;
}

.data-table td {
  padding: 0.875rem 1rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-light);
  vertical-align: middle;
}

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

.data-table tbody tr:hover { background: var(--bg-secondary); }

.tenant-name-cell {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.tenant-avatar {
  width: 32px; height: 32px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
}

.tenant-name { font-weight: 600; color: var(--text-primary); }
.tenant-father { font-size: 0.75rem; color: var(--text-muted); }

.rent-status-badge {
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  font-weight: 700;
}

.rent-paid { background: #d1fae5; color: #065f46; }
.rent-pending { background: #fee2e2; color: #991b1b; }
.rent-partial { background: #fef3c7; color: #92400e; }

[data-theme="dark"] .rent-paid { background: rgba(16,185,129,0.2); color: #6ee7b7; }
[data-theme="dark"] .rent-pending { background: rgba(239,68,68,0.2); color: #fca5a5; }

.table-actions {
  display: flex;
  gap: 0.4rem;
}

/* Payments Summary */
.payments-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.pay-sum-card {
  padding: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: var(--shadow-sm);
}

.pay-sum-card i {
  font-size: 1.5rem;
  color: var(--primary);
}

.pay-sum-card.pending i { color: #f59e0b; }
.pay-sum-card.total i { color: #6366f1; }

.pay-sum-card span {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1;
}

.pay-sum-card label {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Admin Properties Grid */
.admin-properties-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}

/* Reports */
.reports-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.report-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2rem;
  text-align: center;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.report-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.report-icon {
  width: 56px; height: 56px;
  border-radius: var(--radius-lg);
  background: var(--primary-xlight);
  color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem;
  margin: 0 auto 1.25rem;
}

.report-card h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  font-family: 'Plus Jakarta Sans', sans-serif;
  margin-bottom: 0.75rem;
}

.report-value {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 0.5rem;
}

.report-value.pending { color: #dc2626; }

.report-card p {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.btn-export {
  width: 100%;
  padding: 0.6rem;
  background: var(--primary-xlight);
  color: var(--primary-dark);
  border-radius: var(--radius-md);
  font-size: 0.8rem;
  font-weight: 600;
  display: flex; align-items: center; justify-content: center; gap: 0.4rem;
  transition: var(--transition-fast);
}

.btn-export:hover { background: var(--primary); color: white; }
.btn-export.excel { background: #d1fae5; color: #065f46; }
.btn-export.excel:hover { background: #059669; color: white; }

/* Settings */
.settings-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.settings-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}

.settings-card h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  font-family: 'Plus Jakarta Sans', sans-serif;
  margin-bottom: 1.5rem;
  display: flex; align-items: center; gap: 0.5rem;
}

.settings-card h3 i { color: var(--primary); }

.btn-save-settings {
  padding: 0.7rem 1.5rem;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  font-weight: 600;
  display: flex; align-items: center; gap: 0.4rem;
  transition: var(--transition-fast);
  margin-top: 0.5rem;
}

.btn-save-settings:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-emerald);
}

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

.theme-opt {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  padding: 0.75rem;
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition-fast);
}

.theme-opt:hover, .theme-opt.active {
  border-color: var(--primary);
  background: var(--primary-xlight);
}

.theme-swatch {
  width: 28px; height: 28px;
  border-radius: var(--radius-full);
}

.theme-opt span {
  font-size: 0.7rem;
  color: var(--text-muted);
  font-weight: 500;
}

.toggle-switch {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
}

.toggle-track {
  width: 44px; height: 24px;
  background: var(--border);
  border-radius: var(--radius-full);
  position: relative;
  transition: var(--transition-fast);
}

.toggle-track.active { background: var(--primary); }

.toggle-thumb {
  position: absolute;
  top: 3px; left: 3px;
  width: 18px; height: 18px;
  background: white;
  border-radius: 50%;
  transition: var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

.toggle-track.active .toggle-thumb { transform: translateX(20px); }

/* ═══════════════════════════════════════════════════════════
   MODALS
═══════════════════════════════════════════════════════════ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  overflow-y: auto;
}

.modal-overlay.active {
  display: flex;
}

.modal {
  background: var(--surface);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 480px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
  animation: modalIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-lg { max-width: 640px; }
.modal-xl { max-width: 800px; }

@keyframes modalIn {
  from { opacity: 0; transform: scale(0.9) translateY(20px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.modal-header {
  padding: 1.5rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  background: var(--surface);
  z-index: 1;
}

.modal-header h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-primary);
  font-family: 'Plus Jakarta Sans', sans-serif;
  display: flex; align-items: center; gap: 0.5rem;
}

.modal-close {
  width: 32px; height: 32px;
  border-radius: var(--radius-full);
  background: var(--bg-secondary);
  color: var(--text-muted);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.875rem;
  transition: var(--transition-fast);
}

.modal-close:hover { background: #fee2e2; color: #dc2626; }

.modal-body { padding: 1.5rem; }

.modal-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: flex-end;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}

.btn-cancel {
  padding: 0.7rem 1.5rem;
  background: var(--bg-secondary);
  color: var(--text-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  font-weight: 600;
  transition: var(--transition-fast);
}

.btn-cancel:hover { background: var(--border); }

.modal-footer-text {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 1rem;
}

.modal-footer-text a {
  color: var(--primary);
  font-weight: 600;
  cursor: pointer;
}

.login-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  background: var(--bg-secondary);
  padding: 0.25rem;
  border-radius: var(--radius-md);
}

.login-tab {
  flex: 1;
  padding: 0.6rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: var(--transition-fast);
}

.login-tab.active {
  background: var(--surface);
  color: var(--primary);
  box-shadow: var(--shadow-sm);
}

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

.hint-text i { color: var(--primary); }

/* Receipt */
.modal-receipt { max-width: 520px; }

.receipt-actions {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.btn-print, .btn-download {
  padding: 0.4rem 0.875rem;
  border-radius: var(--radius-md);
  font-size: 0.75rem;
  font-weight: 600;
  display: flex; align-items: center; gap: 0.3rem;
  transition: var(--transition-fast);
}

.btn-print { background: var(--bg-secondary); color: var(--text-secondary); border: 1px solid var(--border); }
.btn-download { background: var(--primary); color: white; }
.btn-print:hover { background: var(--border); }
.btn-download:hover { background: var(--primary-dark); }

.receipt {
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: white;
  color: #1a1a1a;
}

.receipt-header {
  padding: 1.5rem;
  background: linear-gradient(135deg, #0a1f14, #0d2b1c);
  display: flex;
  align-items: center;
  gap: 1rem;
  position: relative;
}

.receipt-org h2 {
  font-size: 1.2rem;
  color: white;
  font-family: 'Cormorant Garamond', serif;
}

.receipt-org p {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.6);
}

.receipt-stamp {
  position: absolute;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%) rotate(-15deg);
  border: 3px solid #10b981;
  color: #10b981;
  padding: 0.3rem 0.75rem;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  opacity: 0.8;
}

.receipt-title {
  text-align: center;
  padding: 1rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--primary-dark);
  background: var(--primary-xlight);
  border-bottom: 1px solid var(--border);
}

.receipt-meta {
  display: flex;
  justify-content: space-between;
  padding: 0.875rem 1.5rem;
  background: #f9fafb;
  border-bottom: 1px solid var(--border);
  font-size: 0.8rem;
  color: #6b7280;
}

.receipt-meta strong { color: #1a1a1a; }

.receipt-body { padding: 1.25rem 1.5rem; }

.receipt-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.6rem 0;
  border-bottom: 1px dashed #e5e7eb;
  font-size: 0.875rem;
}

.receipt-row:last-child { border-bottom: none; }
.receipt-row span { color: #6b7280; }
.receipt-row strong { color: #1a1a1a; font-weight: 600; }
.receipt-row.total { background: #f0fdf4; margin: 0.5rem -1.5rem; padding: 0.875rem 1.5rem; border-radius: 0; }
.receipt-row.total span { font-weight: 700; color: #065f46; font-size: 0.95rem; }
.receipt-row.total strong { font-size: 1.1rem; color: #059669; }

.receipt-footer {
  padding: 1.25rem 1.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.sig-line {
  width: 120px;
  height: 1px;
  background: #1a1a1a;
  margin-bottom: 0.4rem;
}

.receipt-sig p, .receipt-note p {
  font-size: 0.7rem;
  color: #6b7280;
}

.receipt-note { text-align: right; }

/* ═══════════════════════════════════════════════════════════
   TOAST NOTIFICATIONS
═══════════════════════════════════════════════════════════ */
.toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  pointer-events: none;
}

.toast {
  padding: 0.875rem 1.25rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-primary);
  min-width: 280px;
  max-width: 380px;
  pointer-events: all;
  animation: toastIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  border-left: 4px solid var(--primary);
}

.toast.success { border-left-color: var(--primary); }
.toast.error { border-left-color: #ef4444; }
.toast.warning { border-left-color: var(--gold); }
.toast.info { border-left-color: #3b82f6; }

.toast i { font-size: 1rem; }
.toast.success i { color: var(--primary); }
.toast.error i { color: #ef4444; }
.toast.warning i { color: var(--gold); }
.toast.info i { color: #3b82f6; }

@keyframes toastIn {
  from { opacity: 0; transform: translateX(100%); }
  to { opacity: 1; transform: translateX(0); }
}

/* ═══════════════════════════════════════════════════════════
   NOTIFICATION PANEL
═══════════════════════════════════════════════════════════ */
.notif-panel {
  position: fixed;
  top: 64px; right: 0;
  width: 320px;
  background: var(--surface);
  border-left: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  border-radius: 0 0 0 var(--radius-xl);
  box-shadow: var(--shadow-lg);
  z-index: 500;
  transform: translateX(100%);
  transition: var(--transition);
  max-height: 70vh;
  overflow-y: auto;
}

.notif-panel.open { transform: translateX(0); }

.notif-header {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  background: var(--surface);
}

.notif-header h4 {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.notif-header button {
  color: var(--text-muted);
  font-size: 0.875rem;
  transition: var(--transition-fast);
}

.notif-header button:hover { color: var(--text-primary); }

.notif-list { padding: 0.75rem; }

.notif-item {
  padding: 0.875rem;
  border-radius: var(--radius-md);
  margin-bottom: 0.5rem;
  background: var(--bg-secondary);
  transition: var(--transition-fast);
}

.notif-item:hover { background: var(--bg-tertiary); }

.notif-item-title {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.notif-item-body {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.notif-item-time {
  font-size: 0.7rem;
  color: var(--text-light);
  margin-top: 0.25rem;
}

/* ═══════════════════════════════════════════════════════════
   EMPTY STATE
═══════════════════════════════════════════════════════════ */
.empty-state {
  text-align: center;
  padding: 4rem 2rem;
  color: var(--text-muted);
}

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

.empty-state h3 {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.empty-state p { font-size: 0.875rem; }

/* ═══════════════════════════════════════════════════════════
   MOBILE MENU
═══════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .dashboard-cards { grid-template-columns: repeat(3, 1fr); }
  .payment-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; }
  .footer-container { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .reports-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .hero-content { grid-template-columns: 1fr; gap: 2rem; }
  .hero-visual { display: none; }
  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .dashboard-grid { grid-template-columns: 1fr; }
  .settings-grid { grid-template-columns: 1fr; }
  .admin-sidebar { transform: translateX(-100%); }
  .admin-sidebar.open { transform: translateX(0); }
  .admin-main { margin-left: 0; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-links.mobile-open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 1rem;
    gap: 0.25rem;
    box-shadow: var(--shadow-lg);
    z-index: 999;
  }
  .hamburger { display: flex; }
  .btn-login { display: none; }
  .dashboard-cards { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .hero-stats { gap: 1rem; }
  .hero-stat .stat-num { font-size: 1.8rem; }
  .payment-grid { grid-template-columns: 1fr 1fr; }
  .footer-container { grid-template-columns: 1fr; }
  .payments-summary { grid-template-columns: 1fr; }
  .reports-grid { grid-template-columns: 1fr 1fr; }
  .admin-content { padding: 1rem; }
  .topbar-search { display: none; }
  .profile-info { display: none; }
}

@media (max-width: 480px) {
  .dashboard-cards { grid-template-columns: 1fr 1fr; }
  .payment-grid { grid-template-columns: 1fr; }
  .hero-cta { flex-direction: column; }
  .btn-primary-hero, .btn-secondary-hero { width: 100%; justify-content: center; }
  .reports-grid { grid-template-columns: 1fr; }
  .modal { max-width: 100%; border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
  .modal-overlay { align-items: flex-end; padding: 0; }
}

/* ═══════════════════════════════════════════════════════════
   ANIMATIONS
═══════════════════════════════════════════════════════════ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-30px); }
  to { opacity: 1; transform: translateX(0); }
}

.animate-fade-up { animation: fadeInUp 0.6s ease forwards; }
.animate-fade { animation: fadeIn 0.4s ease forwards; }

/* Stagger children */
.about-grid .about-card:nth-child(1) { animation-delay: 0.1s; }
.about-grid .about-card:nth-child(2) { animation-delay: 0.2s; }
.about-grid .about-card:nth-child(3) { animation-delay: 0.3s; }

/* ═══════════════════════════════════════════════════════════
   PRINT STYLES
═══════════════════════════════════════════════════════════ */
@media print {
  .navbar, .footer, .modal-header .receipt-actions,
  .modal-close, .btn-print, .btn-download { display: none !important; }
  .modal-overlay { position: static; background: none; }
  .modal { box-shadow: none; border: none; }
  .receipt { border: 1px solid #ccc; }
}