:root {
  --primary: #004080; 
  --primary-dark: #002b5e;
  --secondary: #D4AF37; 
  --bg: #f0f4f8;
  --card-bg: #ffffff;
  --text: #333333;
  --success: #2ecc71;
  --warning: #f39c12;
  --danger: #e74c3c;
  --info: #3498db;
  --review: #9b59b6;
}

body { 
  font-family: 'Segoe UI', Roboto, sans-serif; 
  padding: 0; 
  margin: 0; 
  background: var(--bg); 
  color: var(--text); 
}

/* NAVBAR STYLES */
.navbar { 
  background: linear-gradient(135deg, var(--primary), var(--primary-dark)); 
  color: white; 
  padding: 12px 20px; 
  display: flex; 
  align-items: center; 
  justify-content: space-between; 
  position: sticky; 
  top: 0; 
  z-index: 1000; 
  box-shadow: 0 4px 15px rgba(0,0,0,0.2); 
  border-bottom: 3px solid var(--secondary); 
}
.admin-nav {
  border-bottom: 3px solid var(--danger); /* Visual indicator for Admin mode */
}
.nav-left { display: flex; align-items: center; gap: 15px; }
.logo-img { height: 40px; background: #ffffff; border-radius: 8px; padding: 3px; box-shadow: 0 2px 8px rgba(0,0,0,0.3); object-fit: contain;}
.portal-title { font-weight: 700; font-size: 1.2rem; letter-spacing: 1px; text-shadow: 1px 1px 2px rgba(0,0,0,0.3); }

/* MAIN CONTENT & PANELS */
.main-content { max-width: 900px; margin: 25px auto; padding: 0 15px; }

.panel { 
  background: var(--card-bg); 
  padding: 30px; 
  border-radius: 16px; 
  box-shadow: 0 8px 24px rgba(0,0,0,0.06); 
  margin-bottom: 25px; 
  border: 1px solid rgba(0,0,0,0.03); 
}

.welcome-banner { 
  background: linear-gradient(to right, #eaf2fb, #ffffff); 
  border-left: 5px solid var(--primary); 
  padding: 20px 25px; 
  border-radius: 12px; 
  margin-bottom: 25px; 
  color: #333; 
  box-shadow: 0 4px 10px rgba(0,0,0,0.03); 
}
.welcome-banner h3 { margin: 0 0 10px 0; color: var(--primary); font-size: 1.2rem; }
.welcome-banner p { margin: 0 0 10px 0; font-size: 14px; line-height: 1.5; }
.welcome-banner ul { margin: 0; padding-left: 20px; font-size: 13.5px; line-height: 1.6; }
.welcome-banner li { margin-bottom: 5px; }

/* INPUTS */
input[type="text"], input[type="date"], input[type="email"], input[type="password"], select { 
  width: 100%; 
  padding: 14px 16px; 
  margin: 8px 0 15px 0; 
  font-size: 15px; 
  border-radius: 10px; 
  border: 1px solid #ced4da; 
  box-sizing: border-box; 
  background: #fdfdfd; 
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.02); 
  transition: all 0.2s ease; 
}
input[type="text"]:focus, input[type="date"]:focus, input[type="email"]:focus, input[type="password"]:focus, select:focus { 
  outline: none; 
  border-color: var(--info); 
  background: #ffffff; 
  box-shadow: 0 0 0 4px rgba(52, 152, 219, 0.15), inset 0 2px 4px rgba(0,0,0,0.01); 
}

/* BUTTONS */
.btn { 
  padding: 12px 20px; 
  border-radius: 10px; 
  border: none; 
  cursor: pointer; 
  font-weight: bold; 
  font-size: 14px; 
  display: inline-flex; 
  align-items: center; 
  justify-content: center; 
  gap: 8px; 
  width: 100%; 
  box-sizing: border-box; 
  position: relative; 
  overflow: hidden; 
  box-shadow: 0 4px 6px rgba(0,0,0,0.1), inset 0 1px 0 rgba(255,255,255,0.2); 
  transition: all 0.2s cubic-bezier(0.25, 0.8, 0.25, 1); 
}
.btn:hover { 
  transform: translateY(-2px); 
  box-shadow: 0 7px 14px rgba(0,0,0,0.15), inset 0 1px 0 rgba(255,255,255,0.3); 
  filter: brightness(105%); 
}
.btn:active { 
  transform: translateY(2px); 
  box-shadow: 0 1px 2px rgba(0,0,0,0.1), inset 0 3px 5px rgba(0,0,0,0.15); 
  filter: brightness(95%); 
}

.btn-primary { background: var(--primary); color: white; border: 1px solid var(--primary-dark); }
.btn-warning { background: var(--warning); color: white; border: 1px solid #d68910; }
.btn-info { background: var(--info); color: white; border: 1px solid #2980b9; }
.btn-success { background: var(--success); color: white; border: 1px solid #27ae60; }
.btn-outline { background: transparent; border: 2px solid var(--primary); color: var(--primary); box-shadow: none; }
.btn-outline:hover { background: #f4f7f6; box-shadow: 0 4px 8px rgba(0,64,128,0.1); }

/* MOBILE RESPONSIVENESS */
@media (max-width: 600px) {
  .navbar { padding: 10px 15px; } 
  .portal-title { font-size: 1rem; } 
  .logo-img { max-width: 100px; height: 30px; }
  .panel, .welcome-banner { padding: 20px 15px; border-radius: 12px;} 
}