
:root {
  --primary-color: #d0811b;
  --secondary-color: #2B4E87;
  --text-dark: #3a3a3a;
  --bg-light: #f9f9f9;
  --bg-card: #ffffff;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background-color: var(--bg-light);
  color: var(--text-dark);
  margin: 0;
  padding: 0 20px;
  padding-top: 80px;
  transition: padding-top 0.3s ease;
}

h2 {
  color: var(--secondary-color);
  border-bottom: 2px solid #ccc;
  padding-bottom: 5px;
  margin-top: 1.5rem;
  margin-bottom: 1rem;
}

.navbar {
  background-color: #d0811b;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.4s;
}

.navbar.hidden {
  transform: translateY(-100%);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 15px;
}

.nav-logo .logo {
  height: 40px;
  transition: transform 0.3s ease;
}

.nav-logo .logo:hover {
  transform: scale(1.1) rotate(-5deg);
}

.site-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: white;
}

.nav-links {
  display: flex;
  gap: 25px;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  padding: 8px 15px;
  border-radius: 5px;
  transition: all 0.3s ease;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: white;
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav-links a:hover::after {
  width: 70%;
}

.nav-links a:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

hr {
  display: none;
}

.elegant-footer {
  background-color: var(--secondary-color);
  color: white;
  padding: 2rem 1rem;
  text-align: center;
  box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.1);
}

.elegant-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #d0811b, #2B4E87, #d0811b);
  animation: gradientFlow 8s ease infinite;
  background-size: 200% 200%;
}

.elegant-footer p {
  margin: 0;
  font-size: 1rem;
}

@keyframes gradientFlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

form input, form select, form textarea, button {
  padding: 10px;
  margin: 5px 0;
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #ccc;
  border-radius: 4px;
}

button {
  background-color: var(--primary-color);
  color: white;
  border: none;
  cursor: pointer;
}

button:hover {
  background-color: var(--secondary-color);
}

table {
  border-collapse: collapse;
  width: 100%;
  margin-top: 10px;
  background-color: var(--bg-card);
  font-size: 0.95rem;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
}

th {
  background-color: var(--secondary-color);
  color: white;
  padding: 12px 15px;
  text-align: left;
}

td {
  padding: 10px 15px;
  border: 1px solid #ddd;
}

table tr:nth-child(even) {
  background-color: #f9f9f9;
}

table tr:hover {
  background-color: #f1f1f1;
}

.menu-links a {
  border-left: 4px solid var(--secondary-color);
}

.menu-links a:hover {
  color: var(--secondary-color);
}

.btn-primary {
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
}

.btn-primary:hover {
  background-color: #1f3e68;
  border-color: #1f3e68;
}
