
/* === Modernized Enhancements (2025 Refresh) === */

/* Base Reset and Font */
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body, input, textarea, select, button {
  font-family: 'Open Sans', 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #333;
  background-color: #f8f9fa;
  margin: 0;
  padding: 0;
}

/* Header Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  color: #222;
  margin-bottom: 0.5em;
}

/* Paragraphs */
p {
  margin-bottom: 1em;
}

/* Link Styling */
a {
  color: #0077cc;
  text-decoration: none;
  transition: color 0.2s ease;
}
a:hover {
  color: #005fa3;
  text-decoration: underline;
}

/* Container Enhancements */
#wrapper {
  max-width: 100%;
  margin: 0 auto;
  padding: 0;
}

/* Navigation Updates */
#navigation {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #025c83;
  padding: 0.5rem 1rem;
  flex-wrap: wrap;
}
#nav-logo {
  flex-shrink: 0;
}
#nav-logo img {
  height: 90px;
  width: auto;
  max-width: 100%;
  display: block;
}
.nav-links {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links li {
  margin: 0 0.5rem;
}
.nav-links a {
  color: #fff;
  padding: 10px 15px;
  text-decoration: none;
  font-weight: bold;
  text-transform: uppercase;
  transition: background-color 0.3s ease;
}
.nav-links a:hover,
.nav-links .active a {
  background-color: #014c6f;
  border-radius: 4px;
}

/* Responsive Banner */
#banner {
  display: flex;
  flex-direction: column-reverse;
  gap: 1rem;
  width: 100%;
  max-width: 100%;
  margin-bottom: 2rem;
}
@media (min-width: 768px) {
  #banner {
    flex-direction: row;
  }
}
#banner .banner_image img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* Buttons Modernized */
button, input[type="submit"], input[type="button"] {
  background-color: #0077cc;
  border: none;
  padding: 10px 20px;
  color: #fff;
  border-radius: 5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.3s ease;
}
button:hover, input[type="submit"]:hover, input[type="button"]:hover {
  background-color: #005fa3;
}

/* Forms */
input[type="text"], input[type="password"], textarea, select {
  width: 100%;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
  margin-bottom: 1em;
}

/* Footer Cleanup */
#footer {
  background-color: #343a40;
  color: #ccc;
  padding: 2rem;
}
#footer a {
  color: #66afe9;
}
#footer a:hover {
  color: #ffffff;
}

/* Responsive Tables */
table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1rem;
}
th, td {
  border: 1px solid #dee2e6;
  padding: 0.75rem;
  text-align: left;
}
thead {
  background-color: #e9ecef;
  font-weight: bold;
}

/* Utility */
.text-center {
  text-align: center !important;
}
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.p-4 { padding: 1rem; }
.rounded { border-radius: 6px; }
.shadow {
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

/* === Layout Structure === */
#page-layout {
  display: flex;
  flex-direction: row;
  min-height: 100vh;
}

/* Left-Hand Navigation Panel */
#left-nav {
  width: 220px;
  background-color: #f1f4f6;
  border-right: 1px solid #ccc;
  padding: 1rem;
  flex-shrink: 0;
  overflow-y: auto;
}
#left-nav h3 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  color: #025c83;
  text-transform: uppercase;
  font-weight: bold;
}
#left-nav ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}
#left-nav li {
  margin-bottom: 0.75rem;
}
#left-nav a {
  display: block;
  color: #333;
  text-decoration: none;
  font-weight: 500;
  padding: 0.4rem 0.6rem;
  border-radius: 4px;
  transition: background-color 0.2s ease;
}
#left-nav a:hover,
#left-nav a.active {
  background-color: #d1ecf4;
  color: #025c83;
  font-weight: bold;
}

/* Main Content Area */
#main_content {
  flex: 1;
  padding: 1rem;
  background-color: #ffffff;
}
