/* =========================================
   1. GLOBAL VARIABLES & THEMES
   ========================================= */
:root {
  /* Dark Mode (Default) */
  --bg-color: #0f0f12;
  --sidebar-bg: #16161a;
  --card-bg: #1c1c21;
  --input-bg: #25252b;
  --text-main: #ffffff;
  --text-dim: #94a3b8;
  --accent: #2d9bf0;
  --accent-hover: #1e88e5;
  --danger: #ef4444;
  --border: #2d2d35;
  --modal-overlay: rgba(0, 0, 0, 0.8);
  --shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
}

body.light-mode {
  /* Light Mode Toggle */
  --bg-color: #f8fafc;
  --sidebar-bg: #ffffff;
  --card-bg: #ffffff;
  --input-bg: #f1f5f9;
  --text-main: #1e293b;
  --text-dim: #64748b;
  --border: #e2e8f0;
  --modal-overlay: rgba(15, 23, 42, 0.3);
  --shadow: 0 10px 30px -10px rgba(148, 163, 184, 0.2);
}

/* =========================================
   2. BASE STYLES
   ========================================= */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: var(--bg-color);
  color: var(--text-main);
  line-height: 1.6;
  transition: background 0.3s ease, color 0.3s ease;
}

/* Layout Wrapper */
.app-layout {
  display: flex;
  min-height: 100vh;
}

/* =========================================
   4. MAIN CONTENT & HERO BANNER
   ========================================= */

.main-container {
  margin-left: 260px;
  flex: 1;
  padding: 2rem 3rem;
  min-height: 100vh;
  display: flex;           /* Crucial: allows vertical growth */
  flex-direction: column;  /* Stack banner and rooms vertically */
  transition: all 0.3s ease;
}

.hero-section.banner {
  background: linear-gradient(135deg, var(--accent) 0%, #1e3a8a 100%);
  padding: 2.5rem 2rem;
  border-radius: 24px;
  color: white;
  margin-bottom: 3rem;
  box-shadow: var(--shadow);
  
  /* Use flexbox to put text-div and burger-div side-by-side */
  display: flex;
  justify-content: space-between; 
  align-items: center; /* This vertically centers them perfectly */
  position: relative;
  overflow: hidden;
}

.hero-section h1 {
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 0; /* Changed from 0.5rem to 0 to align with burger */
  line-height: 1;
}

.hero-section p {
  opacity: 0.9;
  font-size: 1.1rem;
}



.empty-auth-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
  text-align: center;
  background: var(--card-bg); /* Adapts to light/dark mode */
  border: 2px dashed var(--border);
  border-radius: 16px;
  margin-top: 2rem;
}

.empty-auth-state i {
  font-size: 4rem;
  color: var(--accent);
  margin-bottom: 1.5rem;
  opacity: 0.5;
}

.empty-auth-state h2 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--text-main);
}

.empty-auth-state p {
  color: var(--text-dim);
  max-width: 300px;
  margin-bottom: 1.5rem;
}


