/* =========================================================
   🌐 Global Styles for All TCM Pages
   ========================================================= */

/* Reset and base */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  min-height: 100vh;
  background-color: #ffffff;
  display: flex;
  flex-direction: column;
}

.section {
  max-width: 1000px;
  margin: 0 auto;
  flex: 1;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 40px 20px;
  text-align: center;
}

/* Typography */
h1, h2, h3 {
  margin: 0.5rem 0;
  font-weight: bold;
  text-align: center;
}

p {
  margin: 0.5rem 0;
  font-size: 1rem;
  color: #333;
}

.subtitle {
  font-size: 14px;
  color: gray;
  margin-top: 10px;
}

/* Header */
header {
  background: linear-gradient(90deg, #0e1e40, #003060);
  color: white;
  padding: 1rem 1rem;
  position: relative;
}

.header-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2.6rem;
  font-weight: bold;
  letter-spacing: -0.06rem;
  background: linear-gradient(90deg, #00ffcc, #00ccff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.header-text {
  text-align: center;
}

.header-text h1 {
  font-size: 2rem;
  margin: 0.3rem 0;
}

.header-text p {
  font-size: 0.95rem;
  margin: 0;
  color: #c7e5ff;
}

/* 🔷 Navigation */
.nav-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 1.5rem;
}

.nav-buttons a {
  background-color: white;
  padding: 10px 20px;
  border-radius: 16px;
  border: 1px solid #e0e0e0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  font-weight: bold;
  text-decoration: none;
  color: #17253e;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.nav-buttons a:hover {
  background-color: #f0f8ff;
  color: #007bff;
}

.active-page {
  color: #1976d2 !important;
  font-weight: bold;
  pointer-events: none;
  opacity: 0.85;
}

/* Footer */
footer {
  background: #0e1e40;
  color: white;
  text-align: center;
  padding: 0.6rem;
  margin-top: auto;
}

/* Buttons */
.cta-button {
  background-color: #cccccc;
  color: #333333;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 16px;
  border: none;
  cursor: pointer;
}

.cta-button:hover {
  background-color: #bbbbbb;
}

/* =========================================================
   🚫 FIX — Hidden must really hide elements
   ========================================================= */
.hidden {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
}

/* =========================================================
   👤 USER STATUS (Login / Logout)
   ========================================================= */

.user-status-box {
  position: fixed;
  top: 15px;
  right: 15px;
  display: flex;
  align-items: center;
  gap: 12px;
  background-color: rgba(0, 51, 102, 0.95);
  color: #fff;
  padding: 8px 16px;
  border-radius: 8px;
  font-weight: bold;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  z-index: 1000;
}

/* Logout / Login button */
.logout-btn {
  background-color: #0077cc;
  color: #fff;
  border: none;
  padding: 6px 12px;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.logout-btn:hover {
  background-color: #005fa3;
}


