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

:root {
  --bg-warm-ivory: #FAF8F5;
  --bg-card: #FFFFFF;
  --primary-navy: #0B192C;
  --primary-navy-light: #1E3E62;
  --accent-gold: #C5A059;
  --accent-gold-hover: #B38E46;
  --accent-gold-subtle: #F6F0E4;
  --text-charcoal: #1E293B;
  --text-muted: #64748B;
  --border-light: rgba(226, 232, 240, 0.8);
  --shadow-sm: 0 2px 8px rgba(11, 25, 44, 0.04);
  --shadow-md: 0 8px 24px rgba(11, 25, 44, 0.06);
  --shadow-lg: 0 16px 40px rgba(11, 25, 44, 0.1);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html, body {
  background-color: var(--bg-warm-ivory);
  color: var(--text-charcoal);
  font-family: var(--font-sans);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

/* Mobile-First Typography */
h1, h2, h3, .hotel-title {
  font-family: var(--font-serif);
  color: var(--primary-navy);
  letter-spacing: -0.01em;
}

/* Luxury Touch Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn:active {
  transform: scale(0.97);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-navy), var(--primary-navy-light));
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(11, 25, 44, 0.2);
}

.btn-accent {
  background: linear-gradient(135deg, #D4AF37, var(--accent-gold));
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(197, 160, 89, 0.35);
}

/* Glassmorphic & Shadowed Cards */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* Status Badges */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.badge-SUBMITTED { background: #F1F5F9; color: #475569; }
.badge-ACCEPTED { background: #E0F2FE; color: #0369A1; }
.badge-IN_PROGRESS { background: #FEF3C7; color: #B45309; }
.badge-COMPLETED { background: #DCFCE7; color: #15803D; }
.badge-REJECTED { background: #FEE2E2; color: #B91C1C; }

/* Safe Bottom Area for iPhone gesture bar */
.safe-bottom {
  padding-bottom: calc(20px + env(safe-area-inset-bottom));
}

/* Universal Responsive Layout for Admin / Superadmin / Staff */
.app-layout {
  display: flex;
  min-height: 100vh;
}

.sidebar {
  width: 260px;
  background: var(--primary-navy);
  color: #fff;
  padding: 24px 16px;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.main-content {
  flex: 1;
  padding: 24px;
  width: 100%;
  overflow-x: hidden;
}

/* Mobile Breakpoints (< 768px) */
@media (max-width: 768px) {
  .app-layout {
    flex-direction: column;
  }
  
  .sidebar {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 1000;
    transform: translateX(-100%);
    box-shadow: var(--shadow-lg);
  }

  .sidebar.open {
    transform: translateX(0);
  }

  .main-content {
    padding: 16px;
  }

  .mobile-topbar {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    background: var(--primary-navy);
    color: #fff;
    position: sticky;
    top: 0;
    z-index: 100;
  }
}

.mobile-topbar {
  display: none;
}