/* -------------------- */
/* Import Google Fonts  */
/* -------------------- */
@import url('https://fonts.googleapis.com/css2?family=Kanit:wght@300;400;500;600;700&display=swap');
/* -------------------- */
/* Modern CSS Reset     */
/* -------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  font-size: 16px;
  line-height: 1.6;
  scroll-behavior: smooth;
  font-family: 'Kanit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: #2c3e50;
}
body {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  background-attachment: fixed;
  color: #2c3e50;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  position: relative;
}
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.9) 0%, rgba(118, 75, 162, 0.9) 100%);
  z-index: -2;
}
body::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 70% 80%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
  z-index: -1;
}
img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}
input, button, textarea, select {
  font: inherit;
}
a {
  text-decoration: none;
  color: #3498db;
  transition: all 0.3s ease;
}
a:hover {
  color: #2980b9;
  text-decoration: none;
}
ul {
  list-style: none;
}
/* -------------------- */
/* Utility Classes      */
/* -------------------- */
.container {
  width: 90%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}
.glass-effect {
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}
.card-glass {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}
.card-glass:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
}
.hidden {
  display: none !important;
}
.text-center {
  text-align: center;
}
.mt-1 {
  margin-top: 1rem;
}
.mt-2 {
  margin-top: 1.5rem;
}
.mt-3 {
  margin-top: 2rem;
}
.mb-1 {
  margin-bottom: 1rem;
}
.mb-2 {
  margin-bottom: 1.5rem;
}
.mb-3 {
  margin-bottom: 2rem;
}
.my-1 {
  margin-top: 1rem;
  margin-bottom: 1rem;
}
.my-2 {
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}
.my-3 {
  margin-top: 2rem;
  margin-bottom: 2rem;
}
.p-1 {
  padding: 1rem;
}
.p-2 {
  padding: 1.5rem;
}
.p-3 {
  padding: 2rem;
}
/* Modern heading styles */
h1, h2, h3, h4, h5, h6 {
  color: #2c3e50;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  line-height: 1.3;
  font-weight: 600;
}
h1 {
  font-size: 2.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, #667eea, #764ba2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
h2 {
  font-size: 2rem;
  font-weight: 600;
}
h3 {
  font-size: 1.5rem;
}
h4 {
  font-size: 1.25rem;
}
p {
  margin-bottom: 1rem;
  color: #34495e;
  line-height: 1.8;
}
/* -------------------- */
/* Modern Header & Navigation */
/* -------------------- */
#main-header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  padding: 1rem 0;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}
#main-header nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}
#main-header .logo {
  font-size: 1.8rem;
  font-weight: 700;
  background: linear-gradient(135deg, #667eea, #764ba2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-decoration: none;
  transition: all 0.3s ease;
}
#main-header .logo:hover {
  transform: scale(1.05);
  text-decoration: none;
}
#main-header .nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
#main-header .nav-links a {
  color: #2c3e50;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 25px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  display: flex;
}
#main-header .nav-links a::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #667eea, #764ba2);
  transition: left 0.3s ease;
  z-index: -1;
}
#main-header .nav-links a:hover::before,
#main-header .nav-links a.active::before {
  left: 0;
}
#main-header .nav-links a:hover,
#main-header .nav-links a.active {
  color: white;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}
#main-header .menu-toggle {
  display: none;
  background: linear-gradient(135deg, #667eea, #764ba2);
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: white;
  padding: 0.8rem;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
  transition: all 0.3s ease;
}
#main-header .menu-toggle:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}
/* -------------------- */
/* Main Content Area    */
/* -------------------- */
#app-root {
  flex-grow: 1;
  padding: 2rem 0;
}
/* Page specific headers */
.page-header {
  padding: 2rem 0;
  margin-bottom: 2rem;
  text-align: center;
}
.page-header h1 {
  font-size: 2.5rem;
  margin-top: 0;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #667eea, #764ba2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.page-header p {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 0;
  font-weight: 300;
}
/* -------------------- */
/* Modern Footer        */
/* -------------------- */
#main-footer {
  background: rgba(44, 62, 80, 0.95);
  backdrop-filter: blur(20px);
  color: #ecf0f1;
  padding: 2rem 0;
  text-align: center;
  font-size: 0.875rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: auto;
}
#main-footer p {
  margin-bottom: 0.25rem;
  color: #bdc3c7;
}
#main-footer a {
  color: #3498db;
}
/* -------------------- */
/* Modern Forms         */
/* -------------------- */
.form-group {
  margin-bottom: 1.5rem;
}
.form-group label {
  display: block;
  margin-bottom: 0.8rem;
  font-weight: 600;
  color: #2c3e50;
  font-size: 0.95rem;
}
.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"],
.form-group input[type="search"],
.form-group input[type="number"],
.form-group input[type="tel"],
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 1rem 1.2rem;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 12px;
  font-size: 1rem;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  color: #2c3e50;
}
.form-group textarea {
  min-height: 120px;
  resize: vertical;
  line-height: 1.6;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
  background: rgba(255, 255, 255, 0.95);
  transform: translateY(-2px);
}
.form-error {
  color: #e74c3c;
  font-size: 0.875em;
  margin-top: 0.5rem;
  padding: 0.5rem;
  background: rgba(231, 76, 60, 0.1);
  border-radius: 8px;
  border-left: 4px solid #e74c3c;
}
/* -------------------- */
/* Modern Buttons       */
/* -------------------- */
.btn {
  display: inline-block;
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  border: none;
  border-radius: 12px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  font-family: 'Kanit', sans-serif;
}
.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}
.btn:hover::before {
  left: 100%;
}
.btn-primary {
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: #fff;
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(102, 126, 234, 0.4);
  color: #fff;
  text-decoration: none;
}
.btn-secondary {
  background: linear-gradient(135deg, #95a5a6, #7f8c8d);
  color: #fff;
  box-shadow: 0 8px 25px rgba(149, 165, 166, 0.3);
}
.btn-secondary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(149, 165, 166, 0.4);
  color: #fff;
  text-decoration: none;
}
.btn-danger {
  background: linear-gradient(135deg, #e74c3c, #c0392b);
  color: #fff;
  box-shadow: 0 8px 25px rgba(231, 76, 60, 0.3);
}
.btn-danger:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(231, 76, 60, 0.4);
  color: #fff;
  text-decoration: none;
}
.btn-success {
  background: linear-gradient(135deg, #27ae60, #2ecc71);
  color: #fff;
  box-shadow: 0 8px 25px rgba(46, 204, 113, 0.3);
}
.btn-success:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(46, 204, 113, 0.4);
  color: #fff;
  text-decoration: none;
}
.btn-block {
  display: block;
  width: 100%;
}
/* -------------------- */
/* Modern Cards         */
/* -------------------- */
.card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
}
.card:hover::before {
  opacity: 1;
}
.card-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-top: 0;
  margin-bottom: 1rem;
  color: #2c3e50;
}
.card-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}
.card-title a:hover {
  color: #667eea;
  text-decoration: none;
}
.card-subtitle {
  font-size: 1rem;
  color: #7f8c8d;
  margin-bottom: 0.8rem;
  font-weight: 500;
}
.card-text {
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  color: #34495e;
  line-height: 1.7;
}
.card-description {
  font-style: italic;
  color: #5a6268;
  background: rgba(102, 126, 234, 0.05);
  padding: 1rem;
  border-radius: 12px;
  border-left: 4px solid #667eea;
}
/* -------------------- */
/* Modern Modal         */
/* -------------------- */
.modal-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(10px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  padding: 1rem;
}
.modal-container:not(.hidden) {
  opacity: 1;
  visibility: visible;
}
.modal-content {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  padding: 2rem;
  border-radius: 20px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
  width: 100%;
  max-width: 500px;
  position: relative;
  transform: translateY(-50px) scale(0.9);
  transition: all 0.3s ease;
  max-height: 90vh;
  overflow-y: auto;
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.modal-container:not(.hidden) .modal-content {
  transform: translateY(0) scale(1);
}
.modal-content h3 {
  margin-top: 0;
  margin-bottom: 1.5rem;
  font-size: 1.6rem;
  color: #2c3e50;
  font-weight: 600;
}
.modal-content .form-group {
  margin-bottom: 1.5rem;
}
.modal-footer {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
}
.modal-close-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
  color: #7f8c8d;
  opacity: 0.8;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}
.modal-close-btn:hover {
  background: #e74c3c;
  color: white;
  opacity: 1;
  transform: scale(1.1);
}
/* -------------------- */
/* Enhanced Responsive Design */
/* -------------------- */
@media (max-width: 768px) {
  html {
    font-size: 15px;
  }
  .container {
    width: 95%;
    padding-left: 1rem;
    padding-right: 1rem;
  }
  h1 {
    font-size: 2rem;
  }
  .page-header {
    padding: 1.5rem 0;
  }
  .page-header h1 {
    font-size: 2rem;
  }
  .page-header p {
    font-size: 1rem;
  }
  /* Enhanced mobile forms */
  .form-group input[type="text"],
  .form-group input[type="email"],
  .form-group input[type="password"],
  .form-group input[type="search"],
  .form-group input[type="number"],
  .form-group input[type="tel"],
  .form-group textarea,
  .form-group select {
    padding: 1rem 1.2rem;
    font-size: 1rem;
    border-radius: 12px;
  }
  .btn {
    padding: 1rem 1.5rem;
    font-size: 1rem;
    border-radius: 12px;
  }
  #home-search-form input[type="search"] {
    width: 100%;
    margin-right: 0;
    margin-bottom: 1rem;
  }
  #home-search-form button {
    width: 100%;
  }
  .filters-sidebar {
    margin-bottom: 2rem;
  }
  .form-row {
    flex-direction: column;
  }
  .form-row .form-group {
    margin-right: 0 !important;
    margin-left: 0 !important;
  }
  /* Enhanced mobile navigation */
  #main-header {
    padding: 1rem 0;
  }
  #main-header .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0 0 20px 20px;
  }
  #main-header .nav-links.active {
    display: flex;
  }
  #main-header .nav-links li {
    margin: 0;
    width: 100%;
  }
  #main-header .nav-links li a {
    display: block;
    padding: 1rem 1.5rem;
    text-align: left;
    border-radius: 12px;
    margin-bottom: 0.5rem;
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.3);
  }
  #main-header .nav-links li:last-child a {
    margin-bottom: 0;
  }
  #main-header .nav-links li a:hover,
  #main-header .nav-links li a.active {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    transform: translateX(5px);
  }
  #main-header .menu-toggle {
    display: block;
  }
  /* Enhanced mobile cards */
  .card {
    padding: 1.5rem;
    border-radius: 16px;
    margin-bottom: 1.5rem;
  }
  .card-title {
    font-size: 1.2rem;
  }
}
@media (max-width: 480px) {
  html {
    font-size: 14px;
  }
  .page-header h1 {
    font-size: 1.8rem;
  }
  .card {
    padding: 1.2rem;
    border-radius: 12px;
  }
  .card-title {
    font-size: 1.1rem;
  }
  .modal-content {
    padding: 1.5rem;
    max-width: 95%;
    border-radius: 16px;
  }
  .modal-content h3 {
    font-size: 1.3rem;
  }
  .modal-footer {
    flex-direction: column;
    gap: 0.8rem;
  }
  .modal-footer .btn {
    width: 100%;
  }
  /* Enhanced mobile tables */
  .table-responsive-container {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
  }
  .table-responsive-container table {
    min-width: 600px;
  }
  .table th, .table td {
    white-space: nowrap;
    padding: 0.8rem;
  }
  .btn-xs {
    padding: .4rem .6rem;
    font-size: .75rem;
    line-height: 1.5;
    border-radius: .4rem;
  }
  /* Enhanced mobile buttons */
  .btn {
    padding: 1rem 1.2rem;
    font-size: 0.95rem;
  }
}
/* -------------------- */
/* Modern Alerts        */
/* -------------------- */
#alert-global-container {
  position: fixed;
  top: 2rem;
  right: 2rem;
  z-index: 9999;
  width: auto;
  max-width: 400px;
}
.alert {
  position: relative;
  padding: 1.2rem 3rem 1.2rem 1.5rem;
  margin-bottom: 1rem;
  border: none;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  opacity: 0.98;
  font-size: 0.95rem;
  backdrop-filter: blur(10px);
  animation: slideInFromRight 0.3s ease-out;
}
@keyframes slideInFromRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 0.98;
  }
}
.alert-dismissible .alert-close-btn {
  position: absolute;
  top: 50%;
  right: 1rem;
  transform: translateY(-50%);
  padding: 0.5rem;
  color: inherit;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1;
  opacity: 0.7;
  cursor: pointer;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}
.alert-dismissible .alert-close-btn:hover,
.alert-dismissible .alert-close-btn:focus {
  opacity: 1;
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-50%) scale(1.1);
}
/* Enhanced alert colors */
.alert-success {
  color: #155724;
  background: linear-gradient(135deg, rgba(40, 167, 69, 0.9), rgba(25, 135, 84, 0.9));
  border-left: 4px solid #28a745;
}
.alert-danger {
  color: #721c24;
  background: linear-gradient(135deg, rgba(220, 53, 69, 0.9), rgba(176, 42, 55, 0.9));
  border-left: 4px solid #dc3545;
}
.alert-warning {
  color: #856404;
  background: linear-gradient(135deg, rgba(255, 193, 7, 0.9), rgba(227, 172, 6, 0.9));
  border-left: 4px solid #ffc107;
}
.alert-info {
  color: #0c5460;
  background: linear-gradient(135deg, rgba(23, 162, 184, 0.9), rgba(20, 108, 148, 0.9));
  border-left: 4px solid #17a2b8;
}
/* Enhanced loading spinner */
.spinner {
  border: 4px solid rgba(102, 126, 234, 0.1);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border-top: 4px solid #667eea;
  margin: 3rem auto;
  animation: modernSpin 1s linear infinite;
}
@keyframes modernSpin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
/* Loading overlay */
.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(102, 126, 234, 0.1);
  backdrop-filter: blur(5px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9998;
}
/* Enhanced auth forms */
.auth-form-container {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  padding: 3rem;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  max-width: 450px;
  margin: 2rem auto;
}
.auth-form-container h2 {
  text-align: center;
  margin-bottom: 2rem;
  color: #2c3e50;
  font-weight: 600;
}
/* -------------------- */
/* Auth Pages           */
/* -------------------- */
.auth-page {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 70vh;
  padding: 2rem 0;
}
.auth-form-container {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  padding: 3rem;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  max-width: 450px;
  width: 100%;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}
.auth-form-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(135deg, #667eea, #764ba2);
}
.auth-header {
  margin-bottom: 2rem;
}
.auth-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: inline-block;
}
.auth-form-container h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: #2c3e50;
  font-weight: 600;
}
.auth-header p {
  color: #7f8c8d;
  font-size: 1rem;
  margin: 0;
}
.auth-footer p {
  color: #7f8c8d;
  margin: 0;
}
.auth-footer a {
  color: #667eea;
  font-weight: 500;
  text-decoration: none;
}
.auth-footer a:hover {
  color: #764ba2;
  text-decoration: underline;
}
/* -------------------- */
/* Job List Page        */
/* -------------------- */
.job-search-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 2rem;
}
.filters-sidebar {
  padding: 2rem;
  margin-bottom: 2rem;
}
.filter-header {
  margin-bottom: 2rem;
  text-align: center;
}
.filter-header h2 {
  font-size: 1.4rem;
  color: #2c3e50;
  margin-bottom: 0.5rem;
}
.filter-header p {
  color: #7f8c8d;
  font-size: 0.9rem;
  margin: 0;
}
.filter-buttons {
  margin-top: 1.5rem;
}
.job-content {
  flex: 1;
}
.job-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}
.job-count {
  font-weight: 600;
  color: #2c3e50;
}
.sort-options select {
  background: rgba(255, 255, 255, 0.9);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  padding: 0.5rem 1rem;
  color: #2c3e50;
  min-width: 150px;
}
.job-listings {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
}
/* Enhanced job cards for job list */
.job-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.job-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.job-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
}
.job-card:hover::before {
  opacity: 1;
}
.job-card h3 {
  font-size: 1.3rem;
  color: #2c3e50;
  margin-bottom: 0.8rem;
  font-weight: 600;
}
.job-card h3 a {
  color: inherit;
  text-decoration: none;
}
.job-card h3 a:hover {
  color: #667eea;
}
.job-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}
.job-meta-item {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  color: #7f8c8d;
}
.job-meta-item .icon {
  font-size: 0.8rem;
}
.job-description {
  color: #34495e;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.job-actions {
  display: flex;
  gap: 1rem;
  margin-top: auto;
}
.job-actions .btn {
  flex: 1;
  padding: 0.8rem 1rem;
  font-size: 0.9rem;
}
@media (min-width: 768px) {
  .job-search-layout {
    grid-template-columns: 320px 1fr;
    gap: 3rem;
  }
  .filters-sidebar {
    margin-bottom: 0;
    position: sticky;
    top: 100px;
    height: fit-content;
  }
}
@media (max-width: 768px) {
  .job-header {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  .job-listings {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .job-card {
    padding: 1.5rem;
  }
  .job-meta {
    flex-direction: column;
    gap: 0.5rem;
  }
  .job-actions {
    flex-direction: column;
    gap: 0.8rem;
  }
}
@media (max-width: 480px) {
  .filters-sidebar {
    padding: 1.5rem;
  }
  .job-card {
    padding: 1.2rem;
    border-radius: 16px;
  }
  .job-card h3 {
    font-size: 1.1rem;
  }
}
/* -------------------- */
/* Breadcrumb           */
/* -------------------- */
.breadcrumb {
  display: flex;
  align-items: center;
  padding: 1rem 1.5rem;
  margin-bottom: 1.5rem;
  border-radius: 12px;
  font-size: 0.95rem;
}
.breadcrumb-link {
  color: #667eea;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}
.breadcrumb-link:hover {
  color: #764ba2;
  text-decoration: none;
}
.breadcrumb-separator {
  margin: 0 0.8rem;
  color: #7f8c8d;
  font-weight: 600;
}
.breadcrumb-current {
  color: #2c3e50;
  font-weight: 600;
}
/* -------------------- */
/* Job Detail Page      */
/* -------------------- */
.job-detail-card {
  padding: 3rem;
  margin-bottom: 3rem;
}
.job-detail-header {
  text-align: center;
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 2px solid rgba(102, 126, 234, 0.2);
}
.job-detail-title {
  font-size: 2.5rem;
  color: #2c3e50;
  margin-bottom: 1rem;
  font-weight: 700;
}
.job-detail-company {
  font-size: 1.3rem;
  color: #667eea;
  margin-bottom: 1.5rem;
  font-weight: 500;
}
.job-detail-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}
.job-meta-card {
  background: rgba(102, 126, 234, 0.05);
  padding: 1.5rem;
  border-radius: 12px;
  text-align: center;
  border-left: 4px solid #667eea;
}
.job-meta-card .icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  display: block;
}
.job-meta-card .label {
  font-size: 0.9rem;
  color: #7f8c8d;
  margin-bottom: 0.3rem;
  font-weight: 500;
}
.job-meta-card .value {
  font-size: 1.1rem;
  color: #2c3e50;
  font-weight: 600;
}
.job-detail-section {
  margin-bottom: 3rem;
}
.job-detail-section h3 {
  font-size: 1.5rem;
  color: #2c3e50;
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid rgba(102, 126, 234, 0.2);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.job-detail-section .content {
  line-height: 1.8;
  color: #34495e;
}
.job-detail-section .content p {
  margin-bottom: 1rem;
}
.job-detail-section .content ul {
  list-style: none;
  padding-left: 0;
}
.job-detail-section .content ul li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
}
.job-detail-section .content ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #27ae60;
  font-weight: bold;
}
.job-actions-section {
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
  padding: 2rem;
  border-radius: 16px;
  text-align: center;
  margin-top: 3rem;
}
.job-actions-section h3 {
  color: #2c3e50;
  margin-bottom: 1.5rem;
  border: none;
}
.job-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
.job-actions .btn {
  padding: 1rem 2rem;
  font-size: 1.1rem;
  min-width: 200px;
}
@media (max-width: 768px) {
  .job-detail-card {
    padding: 2rem;
  }
  .job-detail-title {
    font-size: 2rem;
  }
  .job-detail-company {
    font-size: 1.1rem;
  }
  .job-detail-meta {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .job-meta-card {
    padding: 1rem;
  }
  .job-actions {
    flex-direction: column;
    align-items: center;
  }
  .job-actions .btn {
    width: 100%;
    max-width: 300px;
  }
  .breadcrumb {
    padding: 0.8rem 1rem;
    font-size: 0.9rem;
  }
}
@media (max-width: 480px) {
  .job-detail-card {
    padding: 1.5rem;
  }
  .job-detail-title {
    font-size: 1.6rem;
  }
  .job-detail-section h3 {
    font-size: 1.3rem;
  }
  .job-meta-card .icon {
    font-size: 1.5rem;
  }
}
.table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
}
.table th, .table td {
  border: 1px solid #ddd;
  padding: 0.75rem;
  text-align: left;
  background-color: #FFF;
}
.table th {
  background-color: #f8f9fa;
}
.table tbody tr:nth-of-type(odd) td {
  background-color: #F5F5F5;
}
.page-hr-application-list .page-header {
  text-align: center;
  margin-bottom: 1.5rem;
}
.applicant-card {
  border: 1px solid #ddd;
  padding: 1rem;
  margin-bottom: 1rem;
  border-radius: 4px;
  background-color: #fff;
}
.applicant-card h4 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}
.applicant-card p {
  margin-bottom: 0.3rem;
  font-size: 0.9rem;
}
.applicant-card .resume-link {
  font-weight: bold;
}
.applicant-card .status-select {
  padding: 0.3rem;
  border-radius: 4px;
}
.applicant-card .notes-input {
  width: 100%;
  padding: 0.3rem;
  margin-top: 0.5rem;
  border-radius: 4px;
  border: 1px solid #ccc;
  min-height: 60px;
}
.page-hr-job-management .page-header {
  text-align: left;
  margin-bottom: 1.5rem;
}
/* Aligned left */
.d-flex {
  display: flex;
}
.justify-content-between {
  justify-content: space-between;
}
.align-items-center {
  align-items: center;
}
.hr-job-card {
  border: 1px solid #ddd;
  padding: 1rem;
  margin-bottom: 1rem;
  border-radius: 4px;
  background-color: #fff;
}
.hr-job-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}
.hr-job-card p {
  margin-bottom: 0.3rem;
  font-size: 0.9rem;
}
.hr-job-card .job-status {
  font-weight: bold;
}
.hr-job-card .job-status-open {
  color: green;
}
.hr-job-card .job-status-draft {
  color: orange;
}
.hr-job-card .job-status-closed {
  color: red;
}
.hr-job-card .actions a {
  margin-right: 0.5rem;
}
.hr-job-card .actions {
  display: flex;
}
.filename-display {
  display: block;
  font-size: 0.85em;
  color: #555;
  margin-top: 0.25rem;
}