/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Roboto:wght@300;400;500;700&display=swap');

/* ===== CSS Variables ===== */
:root {
  --navy: #1a1a4e;
  --navy-dark: #111135;
  --navy-light: #2a2a6e;
  --orange: #e86c1a;
  --orange-dark: #c55a12;
  --orange-light: #f07c30;
  --orange-bg: #fff3eb;
  --accent-yellow: #f5a623;
  --accent-green: #27ae60;
  --white: #ffffff;
  --off-white: #f5f6fa;
  --gray-100: #f0f0f0;
  --gray-200: #e0e0e0;
  --gray-400: #9e9e9e;
  --gray-600: #666666;
  --gray-800: #333333;
  --text-primary: #1a1a2e;
  --text-secondary: #4a4a6a;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.12);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.15);
  --border-radius: 8px;
  --transition: all 0.25s ease;
}

/* ===== Reset & Base ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 14px;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: 'Inter', 'Roboto', sans-serif;
  color: var(--text-primary);
  background: var(--off-white);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

button {
  cursor: pointer;
  font-family: inherit;
  border: none;
  outline: none;
}

input {
  font-family: inherit;
  outline: none;
}

ul {
  list-style: none;
}

/* ===== Scrollbar Styling ===== */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--gray-100);
}

::-webkit-scrollbar-thumb {
  background: var(--navy-light);
  border-radius: 3px;
}

/* ===== Page Layout ===== */
.page-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow-x: hidden;
}

main.main-content {
  flex: 1;
  overflow-x: hidden;
}

/* ===== Auth Visibility Helpers ===== */
body.logged-in .logged-out-only {
  display: none !important;
}

body.logged-out .logged-in-only {
  display: none !important;
}
