:root {
  --primary-color: #0066cc;
  --secondary-color: #004999;
  --text-color: #222;
  --bg-color: #fff;
	
  --gray: #f2f2f2;
  --checked-in: #f00;
  --day-flight: #00f;
  --day-train: #c0f;
  --day-event: #0f0;
	
  --yellow: yellow;	
	
  --top-bar: #999;
  --bottom-bar: #f2f2f2;
}

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

html, body {
  height: 100%;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--bg-color);
}

/* ========== Layout Basics ========== */
body {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem;
}

img, video {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ========== Headings & Text ========== */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

p {
  margin-bottom: 1rem;
}

/* ========== Links ========== */
a {
  color: var(--primary-color);
  text-decoration: none;
}
a:hover {
  color: var(--secondary-color);
  text-decoration: underline;
}

/* ========== Forms ========== */
input, select, textarea, button {
  font: inherit;
  padding: 0.5em;
  border: 1px solid #ccc;
  border-radius: 4px;
  margin-bottom: 1rem;
}

input:focus, textarea:focus, select:focus {
  border-color: var(--primary-color);
  outline: none;
}

button {
  background-color: var(--primary-color);
  color: #fff;
  border: none;
  cursor: pointer;
}
button:hover {
  background-color: var(--secondary-color);
}

/* ========== Utility Classes ========== */
.text-center {
  text-align: center;
}

.fleft {float:left;}
.fright {float:right;}

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 2rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 2rem; }

.p-1 { padding: 0.5rem; }
.p-2 { padding: 1rem; }
.p-3 { padding: 2rem; }

.hidden { display: none !important; }

/* ========== Responsive Container ========== */
.container {
  width: 100%;
  padding: 1rem;
  margin: 0 auto;
}

/* ========== Media Queries ========== */
@media (max-width: 768px) {
  body {
    padding: 0.5rem;
  }

  h1 {
    font-size: 1.75rem;
  }
}
