* {
  box-sizing: border-box;
}

html,
body {
  padding: 0;
  margin: 0;
  height: 100%;
  width: 100%;
  overflow: hidden;
  font-family: sans-serif;
}

.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

.w-full {
  width: 100%;
}

.flex-auto {
  flex: 1 1 auto;
}

.items-center {
  align-items: center;
}

.overflow-auto {
  overflow: auto;
}

.gap-2 {
  gap: 8px;
}

#main {
  display: flex;
  flex-direction: column;
  position: relative;
  height: 100%;
}

nav {
  width: 100%;
  background-color: #872ee1;
  color: white;
  padding: 12px;
  font-weight: 600;
  font-size: 18px;
}

.nav-content {
  display: flex;
  align-items: center;
  gap: 10px;
}

nav a {
  color: white;
  text-decoration: none;
  transition: all 0.2s ease;
}

nav a:hover {
  opacity: 0.9;
  color: white;
}

nav .presented-by {
  font-size: 12px;
  font-weight: normal;
  opacity: 75%;
}

.nav-content .logo {
  display: flex;
  align-items: center;
  line-height: 1;
  height: 28px;
}

.text-content {
  display: flex;
  flex-direction: column;
  gap: 0;
  line-height: 1.2;
}

.banner-ad {
  background-color: #e5cffd;
  transition: all 0.2s ease;
  color: #424b57;
  padding: 8px 0;
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  text-decoration: none;
  text-align: center;
  font-size: 12px;
}

.banner-ad:hover {
  color: #424b57;
  background-color: #e5cffd;
}

@media screen and (max-width: 1400px) {
  .banner-ad {
    flex-direction: column;
  }
}

#service-wrapper {
  width: 100%;
  flex: 1 1 auto;
  overflow: auto;
}

#service-wrapper .service-contents {
  display: flex;
  align-items: flex-start;
  margin: 0 auto;
  max-width: 1000px;
  gap: 40px;
  width: 100%;
}

#service-wrapper .detail-contents {
  display: flex;
  align-items: flex-start;
  margin: 0 auto;
  gap: 40px;
  width: 100%;
}

.service-page {
  font-family: sans-serif;
}

.service-page h1 {
  font-weight: 600;
  margin: 0;
}

.service-page h2 {
  font-weight: 400;
  padding-top: 40px;
  margin-top: 0;
}

.service-page p {
  /* padding: 0 16px 0 16px; */
  color: #424b57;
  line-height: 1.4;
}

.menu {
  list-style: none;
  padding: 24px 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  height: 75vh;
  overflow-y: auto;
}

.menu .sidenav-header {
  font-weight: 600;
  font-size: 16px;
  color: #424b57;
  margin-bottom: 0;
}

.menu .section-nav {
  list-style-type: none;
  padding: 0;
}

.menu a {
  font-size: 14px;
  text-decoration: none;
  display: block;
  color: #424b57;
  transition: all 0.2s ease;
  padding: 4px 0;
  line-height: normal;
}

.menu a:hover {
  color: #872ee1;
}

.menu .section-nav ul {
  list-style-type: none;
  padding-left: 0;
  margin-left: 0;
}

.menu .section-nav ul li {
  margin-left: 5px;
}

.menu .section-nav > li > a {
  font-weight: bold;
}

/* Hide toc on mobile */
.pin-sidebar {
  top: 0;
  width: 240px;
  flex-shrink: 0;
  position: sticky;
  display: block;

  @media screen and (max-width: 768px) {
    display: none;
  }
}

.service-page .service-page-content {
  flex: 1 1 auto;
  padding: 24px 0;
}

.service-page .service-page-content p.copy {
  font-weight: 500;
  line-height: 1.5;
  gap: 8px;
}

.service-details-list {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
}

.service-details-list a {
  display: block;
  padding: 4px 8px;
  border-radius: 6px;
  background-color: #f1e5fe;
  color: #872ee1;
  font-weight: 500;
  font-size: 12px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.service-details-list a:hover,
.service-details-list a:visited,
.service-details-list a:focus {
  background-color: #e5cffd;
  color: #5f1f9a;
}

.service-page .service-page-content input {
  padding: 12px 12px;
  border-radius: 6px;
  border: 1px solid #cbcfd5;
  background-color: #fff;
  width: 100%;
  margin-bottom: 20px;
  font-size: 14px;
  transition: all 0.2s ease;
  outline: none;
}

.service-page .service-page-content input:hover {
  border-color: #9199a5;
}

.service-page .service-page-content input:focus {
  border-color: #872ee1;
  box-shadow: 0 0 0 3px rgba(135, 46, 225, 0.3);
}

.service-page .service-button {
  text-decoration: none;
  display: inline-block;
  padding: 12px 24px;
  margin-top: 20px;
  font-size: 16px;
  color: white;
  background-color: #872ee1;
  border: 2px solid #872ee1;
  border-radius: 0;
  transition: background-color 0.3s, color 0.3s;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
}

.service-page .service-button:hover {
  color: #872ee1;
  background-color: white;
}

footer {
  padding: 12px 16px;
  border-top: 1px solid #e1e3e8;
  background-color: white;
  position: fixed;
  bottom: 0;
  width: 100%;
}

footer p {
  margin: 0;
  font-size: 12px;
  text-align: center;
  color: #606774;
}

footer p a {
  text-decoration: none;
  color: #872ee1;
}

.grid {
  display: grid;
}

.grid-cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

#index-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

#index-list a {
  display: block;
  text-decoration: none;
  font-size: 14px;
  color: #872ee1;
}

#index-list a:hover,
#index-list a:visited,
#index-list a:focus {
  color: #5f1f9a;
}

#index-main {
  max-width: 960px;
  width: 100%;
  margin: 0 auto;
  padding: 40px 0;
}

#index-main h1 {
  margin-top: 0;
  margin-bottom: 0;
  font-size: 24px;
}

#index-main input {
  padding: 12px 12px;
  border-radius: 6px;
  border: 1px solid #cbcfd5;
  background-color: #fff;
  width: 100%;
  margin-bottom: 20px;
  font-size: 14px;
  transition: all 0.2s ease;
  outline: none;
}

#index-main input:hover {
  border-color: #9199a5;
}

#index-main input:focus {
  border-color: #872ee1;
  box-shadow: 0 0 0 3px rgba(135, 46, 225, 0.3);
}

.cat-list {
  max-height: 400px;
  overflow: auto;
  border: 1px solid #ddd;
  border-radius: 6px;
  position: relative;
  margin: 20px 0 60px 0;
}

.cat-list ul {
  padding: 12px;
}

.cat-list summary {
  padding: 8px 12px;
  font-size: 14px;
  position: sticky;
  top: 0;
  z-index: 2;
  background: white;
  cursor: pointer;
}
.breadcrumbs {
}

.breadcrumbs .breadcrumb {
  float: left;
  color: #000;
  font-weight: 500;
  margin: 0 5px;
}

.breadcrumbs .breadcrumb a {
  color: #000;
  font-weight: 500;
  text-decoration: none;
}

.breadcrumbs .breadcrumb a:hover {
  color: #872ee1;
}

.detail-page {
  margin: 20px auto 0;
  /* max-width: 800px; */
}
.detail-page p {
  display: block;
  width: 800px;
}
.detail-page .last-updated {
  font-size: 11px;
  color: #666;
}
.detail-page .no-copy-message {
  color: #666;
}

.detail-page .content-section {
  border-radius: 6px;
  position: relative;
  padding: 4px 8px;
  margin: 20px 0;
  width: 100%;
  display: block;
}

/* Override any potential conflicting styles */
.detail-page .content-section h1,
.detail-page .content-section .last-updated,
.detail-page .content-section p {
  width: auto; /* Override the 800px width from .detail-page p */
  margin: inherit;
  padding: inherit;
}
.detail-page .content-section h1 {
  margin-bottom: 0;
  padding-left: 5px;
}

.columns {
  display: flex;
  justify-content: center;
  gap: 20px;
  padding: 0 20px;
}

.column-left {
  max-width: 25%;
  min-width: 200px;
  width: 100%;
  padding-left: 80px;
  padding-top: 50px;
}

.column-middle {
  flex: 1 1 auto;
  padding: 0 24px;
}

.column-right {
  max-width: 20%;
  width: 100%;
  padding-right: 24px;
  padding-top: 50px;
}

@media screen and (max-width: 768px) {
  .column-left,
  .column-middle,
  .column-right {
    padding: 0;
  }

  .columns {
    flex-direction: column;
    gap: 10px;
  }

  .column-right {
    max-width: 100%;
  }
}

.suggestions-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
}

.suggestions-card {
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  padding: 20px;
  margin-bottom: 20px;
}

.suggestions-card h2 {
  font-weight: 400;
  padding-top: 40px;
  margin-top: 0;
}

.suggestions-card p {
  color: #666;
  margin-bottom: 20px;
  line-height: 1.6;
}

.suggestions-card .form-group {
  margin-bottom: 20px;
}

.suggestions-card label {
  display: block;
  margin-bottom: 5px;
  font-weight: 500;
  color: #374151;
}

.suggestions-card select,
textarea {
  width: 100%;
  margin-bottom: 20px;
  padding: 10px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  background-color: #fff;
  transition: all 0.2s ease;
}

.suggestions-card select:focus,
textarea:focus {
  border-color: #872ee1;
  box-shadow: 0 0 0 3px rgba(135, 46, 225, 0.3);
}

.suggestions-card textarea {
  min-height: 150px;
  resize: vertical;
}

.suggestions-button {
  display: flex;
  justify-content: flex-end;
}

.suggestions-container .submit-button {
  text-decoration: none;
  display: inline-block;
  padding: 12px 24px;
  margin-top: 20px;
  font-size: 16px;
  color: white;
  background-color: #872ee1;
  border: 2px solid #872ee1;
  border-radius: 0;
  transition: background-color 0.3s, color 0.3s;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
}

.suggestions-container .submit-button:hover {
  color: #872ee1;
  background-color: white;
}

.info-text {
  padding: 0px;
  font-size: 13px;
  color: #666;
  line-height: 20px;
}

#autocomplete:focus {
  box-shadow: none !important;
}

#autocomplete-list {
  display: none;
  background-color: #fff;
  position: absolute;
  margin-top: 132px;
  width: 900px;
  border: 1px solid #872ee1;
}
.autocomplete-item {
  padding: 4px 6px;
  font-size: 16px;
}

.autocomplete-item:hover {
  background-color: #fcf4ff;
  cursor: pointer;
}

.autocomplete-item .badge {
  font-size: 12px;
  border-radius: 5px;
  background-color: #f1c9ff;
  padding: 3px 6px;
}

.autocomplete-item .service {
  padding: 4px 6px;
  font-weight: 500;
}

.region-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 11px;
  margin-bottom: 40px;
}

.region-table td:first-child {
  width: 1px;
  white-space: nowrap;
}

.region-table tr:hover {
  background-color: #f5f5f5;
}

.region-table .subcategory {
  width: 50%;
}

.region-table .table-title {
  font-weight: bold;
  font-size: 16px;
  color: #333;
  caption-side: top;
}

.region-table .table-caption {
  font-size: 11px;
  caption-side: top;
  padding: 0;
}

/* .table-container {
  max-height: 60vh;
  overflow-y: auto;
} */

/* .table-container::-webkit-scrollbar {
  width: 8px;
}

.table-container::-webkit-scrollbar-track {
  background: #f1f1f1;
}

.table-container::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 4px;
}

.table-container::-webkit-scrollbar-thumb:hover {
  background: #a8a8a8;
} */
