/* Minimal responsive styles */
body {
  font-family: Arial, Helvetica, sans-serif;
  background: #f4f6f8;
  color: #111;
  margin: 0;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 16px;
  width: 100%;
  box-sizing: border-box;
}

@media (max-width:768px) {
  .container {
    padding: 8px;
  }
}

img, table, .content, .sidebar {
  max-width: 100%;
  overflow-wrap: break-word;
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
}

/* =============================
   HEADER & NAVIGATION
   ============================= */
.site-header {
  background: linear-gradient(135deg, #1a1a2e, #3a0ca3);
  border-bottom: none;
  padding: 10px 15px;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

/* Logo */
.brand {
  display: flex;
  align-items: center;
  font-weight: bold;
  font-size: 1.3rem;
  text-decoration: none;
  color: #ffffff;
}

.site-logo {
  height: 70px;
  width: auto;
  margin-right: 10px;
}

/* Navigation */
.main-nav {
  display: flex;
  gap: 15px;
}

.main-nav a {
  text-decoration: none;
  color: #ffffff;
  padding: 8px 14px;
  font-weight: 500;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.main-nav a:hover {
  background: #6a0dad;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);
}

/* Hamburger */
.nav-toggle {
  display: none;
  font-size: 28px;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
}

/* Mobile Responsive Navigation */
@media (max-width:768px) {
  .nav-toggle {
    display: block;
    z-index: 1100;
  }

  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100%;
    width: 240px;
    background: linear-gradient(135deg, #1a1a2e, #3a0ca3);
    flex-direction: column;
    padding-top: 70px;
    transition: right 0.3s ease-in-out;
    box-shadow: -4px 0 10px rgba(0, 0, 0, 0.1);
  }

  .main-nav.open {
    right: 0;
  }

  .main-nav a {
    padding: 15px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    text-align: left;
    font-size: 16px;
  }

  .main-nav a:hover {
    background: #6a0dad;
    color: #fff;
    transform: none;
    box-shadow: none;
  }
}

/* =============================
   REST OF STYLES
   ============================= */

/* Content */
.content {
  background: #fff;
  padding: 14px;
  border-radius: 6px;
}

/* Tables */
.table {
  width: 100%;
  border-collapse: collapse;
}

.table th, .table td {
  padding: 8px;
  border-bottom: 1px solid #eee;
  text-align: left;
}

/* Table Responsive */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 20px;
  border-radius: 10px;
  border: 1px solid #3a0ca3;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  background: linear-gradient(145deg, #ffffff, #f5f0ff);
}

/* Sidebar layout only */
.sidebar {
  padding: 15px;
}

@media (max-width:992px) {
  .wrapper {
    flex-direction: column;
    align-items: center;
  }
  .sidebar {
    display: block;
    width: 100%;
    max-width: 400px;
    margin-top: 15px;
    border-top: 1px solid #ddd;
  }
  .content {
    width: 100%;
    max-width: 100%;
  }
}

/* Breadcrumbs */
.breadcrumbs-center {
  text-align: center;
  margin: 15px 0;
}

.breadcrumb {
  display: inline-block;
  font-size: 15px;
  font-weight: 500;
  background: #f9f9f9;
  padding: 8px 14px;
  border-radius: 6px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.breadcrumb a {
  color: #3a0ca3;
  text-decoration: none;
  transition: color 0.2s ease-in-out;
}

.breadcrumb a:hover {
  color: #6a0dad;
  text-decoration: underline;
}

.breadcrumb a + a::before,
.breadcrumb a + span::before {
  content: "/";
  margin: 0 6px;
  color: #666;
}

.breadcrumb span {
  color: #333;
  font-weight: 600;
}

/* 3D Table Styles */
.table-3d {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
}

.table-3d thead th {
  border: 2px solid #3a0ca3;
  padding: 8px;
  background: #3a0ca3;
  color: #fff;
  box-shadow: inset 0 -2px 5px rgba(0,0,0,0.2);
  border-radius: 1px;
  text-align: left;
}

.table-3d tbody td {
  border: 2px solid #3a0ca3;
  padding: 8px;
  box-shadow: 2px 2px 6px rgba(0,0,0,0.1);
  border-radius: 4px;
}

.table-3d tbody td a {
  text-decoration: none;
  color: #3a0ca3;
  display: block;
}

/* Hover effect on rows */
.table-3d tbody tr:hover td {
  background: #efe9fb;
  box-shadow: 2px 2px 8px rgba(0,0,0,0.15);
}

/* Responsive horizontal scroll */
.table-3d-wrapper {
  overflow-x: auto;
}

/* Pagination */
.pagination {
  margin: 15px 0;
  text-align: center;
}

.pagination a {
  display: inline-block;
  padding: 10px 15px;
  margin: 0 3px;
  border: 1px solid #ddd;
  border-radius: 4px;
  text-decoration: none;
  color: #333;
  font-size: 16px;
  transition: all 0.2s;
}

.pagination a:hover {
  background: #f0f0f0;
}

.pagination a.active {
  background: #3a0ca3;
  color: #fff;
  border-color: #3a0ca3;
  font-weight: bold;
}

.pagination a.prev,
.pagination a.next {
  font-weight: bold;
}

.pagination-flex {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 5px;
  margin: 15px 0;
  text-align: center;
}

.pagination-break {
  flex-basis: 100%;
  height: 0;
}

/* Footer */
body .site-footer {
  background: linear-gradient(135deg, #1a1a2e, #3a0ca3);
  color: #e0e0e0;
  padding: 40px 20px 20px 20px;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.2);
  text-align: center;
  font-family: 'Arial', sans-serif;
}

body .site-footer .footer-social {
  margin-bottom: 20px;
}

body .site-footer .footer-social a {
  margin: 0 10px;
  display: inline-block;
  transition: all 0.3s ease;
}

body .site-footer .footer-social a:hover .social-icon {
  transform: scale(1.2);
}

body .site-footer .footer-social .social-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  filter: brightness(0) invert(1);
  transition: transform 0.3s ease;
}

body .site-footer .footer-nav {
  margin-bottom: 20px;
}

body .site-footer .footer-nav .nav-btn {
  display: inline-block;
  margin: 5px 8px;
  padding: 10px 20px;
  background-color: rgba(255,255,255,0.1);
  border-radius: 8px;
  color: #e0e0e0;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
}

body .site-footer .footer-nav .nav-btn:hover {
  background-color: #6a0dad;
  color: #fff;
}

body .site-footer .footer-privacy a {
  color: #e0e0e0;
  text-decoration: underline;
  font-weight: 500;
  transition: color 0.3s ease;
}

body .site-footer .footer-privacy a:hover {
  color: #b388ff;
}

body .site-footer .footer-bottom {
  font-weight: 500;
  margin-bottom: 10px;
}

body .site-footer .disclaimer {
  font-size: 0.85em;
  line-height: 1.5;
  max-width: 600px;
  margin: 0 auto;
  color: #cccccc;
}


/* Sidebar */
.sidebar {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  width: 100%;
}

.sidebar:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.sidebar h3 {
  font-size: 20px;
  color: #3a0ca3;
  margin-bottom: 15px;
  border-bottom: 2px solid #f0f0f0;
  padding-bottom: 8px;
  font-weight: 600;
}

.sidebar ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar li {
  margin-bottom: 10px;
}

.sidebar a {
  display: block;
  text-decoration: none;
  color: #333;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 16px;
  transition: all 0.3s ease;
}

.sidebar a:hover,
.sidebar a.active {
  background: #3a0ca3;
  color: #fff;
}

.sidebar a.state-link {
  color: #3a0ca3;
  font-weight: 600;
}

.sidebar a.state-link:hover {
  background: #6a0dad;
  color: #fff;
}

@media (max-width: 992px) {
  .sidebar {
    width: 100%;
    max-width: 100%;
    margin-top: 15px;
  }
}

@media (max-width: 768px) {
  .sidebar {
    padding: 15px;
  }

  .sidebar h3 {
    font-size: 18px;
  }

  .sidebar a {
    font-size: 15px;
    padding: 8px 10px;
  }
}


/* Go To Top Button */
#goTopBtn {
  display: none;
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 9999;
  background: #3a0ca3;
  border: none;
  outline: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 6px 15px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

#goTopBtn svg {
  width: 24px;
  height: 24px;
  pointer-events: none;
  fill: #fff;
}

#goTopBtn:hover {
  background: #6a0dad;
  transform: translateY(-3px) scale(1.1);
  box-shadow: 0 10px 20px rgba(0,0,0,0.25);
}

@media (max-width: 768px) {
  #goTopBtn {
    width: 45px;
    height: 45px;
    bottom: 20px;
    right: 20px;
  }
  #goTopBtn svg {
    width: 20px;
    height: 20px;
  }
}
