html {
  scroll-behavior: smooth;
}

#contentContainer h4 {
  font-size: 2rem !important;
}

#contentContainer div {
  font-size: 1.25rem !important;
}

#menu4a h4 {
  font-size: 2rem !important;
  color: var(--color-primary);
  margin-bottom: 1rem;
}

#menu4a .align-items-stretch h4 {
  font-size: 1.5rem !important;
  color: var(--color-secondary) !important;
  margin-bottom: 1rem;
}

#menu4a .align-items-stretch p {
  font-size: 0.82rem !important;
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.country-item {
  text-align: center;
  margin: 10px;
  padding: 5px;
  border: 2px solid transparent;
  border-radius: 5px;
  cursor: pointer;
  transition: border 0.2s ease-in-out;
  width: 100px;
}

.country-item img {
  width: 100%;
  height: auto;
  padding: 1px;
  object-fit: cover;
  display: block;
  margin: 0 auto 5px;
}

.country-item:hover {
  border: 4px solid #ffffff;
}

.country-item.active {
  border: 4px solid #fcd600;
}

#agents a {
  text-decoration: none;
  color: rgb(255, 255, 255);
  font-family: var(--font-primary);
}

.agent-title {
  color: var(--color-light);
  margin-top: 2rem;
}

#agents,
#import-details {
  background: var(--color-primary);
}

#agents button {
  border: 1px solid #ffffff;
  border-radius: 2px;
  background: var(--color-primary);
}

#agents button:hover {
  background: #898989;
  border: 0px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .country-item {
    width: 80px;
  }

  #countryContainer {
    flex-wrap: wrap;
    justify-content: center;
  }

  .btn {
    font-size: 14px;
    padding: 6px 12px;
  }
}

@media (max-width: 480px) {
  .country-item {
    width: 70px;
  }

  .btn {
    font-size: 12px;
    padding: 5px 10px;
  }
}

.container-sidebar {
  display: flex;
  height: 80vh;
}

.sidebar {
  width: 30%;
  border-radius: 50px;
  background-color: var(--color-light);
  padding: 20px;
  overflow-y: auto;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE and Edge */
}

/* Hide scrollbar for WebKit-based browsers (Chrome, Safari) */
.sidebar::-webkit-scrollbar {
  display: none;
}

.content {
  width: 70%;
  padding: 20px;
  margin-left: 10px;
  overflow-y: auto; /* allow scroll */
  background-color: rgb(243, 243, 243);
  border-radius: 50px;
  height: 80vh;
  scroll-behavior: auto;
  position: relative;

  /* Hide scrollbar - cross-browser support */
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE & Edge legacy */
}

.content::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

#useful-links a {
  color: #0d6efd !important;
}

#useful-links a:hover {
  color: var(--color-secondary) !important;
}

.side-menu-item {
  padding: 12px;
  margin: 10px 0;
  background-color: var(--color-primary);
  border-radius: 50px;
  cursor: pointer;
  color: white;
  transition: background-color 0.3s;
}

.side-menu-item:hover {
  background-color: rgb(5, 122, 185);
}

.submenu {
  margin-left: 10px;
  margin-top: 5px;
  display: none;
}

.sub-item {
  background-color: transparent;
  color: black;
  margin: 6px 0;
  padding: 8px 12px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 14px;
}

.sub-item:hover {
  background-color: rgb(255, 157, 157);
}

.content {
  width: 70%;
  padding: 20px;
  margin-left: 10px;
  overflow-y: auto;
  background-color: rgb(243, 243, 243);
  border-radius: 50px 50px 50px 50px;
  height: 80vh;
  scroll-behavior: auto;
  position: relative;
}

.content-section {
  margin-bottom: 60px;
}

.highlight {
  background-color: #f0f0f0;
  padding: 10px;
  border-left: 5px solid #444;
  margin-bottom: 15px;
}

h4 {
  margin-top: 0;
  color: navy;
}
