:root {
  --primary-color: #001bb7;
  --bg-color: #f1f5f9;
  --text-color: #334155;
  --card-bg: #ffffff;
  --transition: all 0.3s ease;
}

body.dark-mode {
  --bg-color: #0f172a;
  --text-color: #f1f5f9;
  --card-bg: #1e293b;
}

body {
  font-family: "Segoe UI", sans-serif;
  margin: 0;
  padding-top: 80px;
  background-color: var(--bg-color);
  color: var(--text-color);
  transition: var(--transition);
}

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

.page-header {
  text-align: center;
  margin-bottom: 30px;
}

.page-header h1 {
  color: var(--primary-color);
  font-size: 2.5rem;
}

.main-navbar {
  position: fixed;
  top: 0;
  width: 100%;
  height: 60px;
  background: var(--card-bg);
  display: flex;
  align-items: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

.nav-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  padding: 0 20px;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--primary-color);
  text-decoration: none;
}

.mode-toggle {
  cursor: pointer;
  font-size: 1.2rem;
  color: var(--primary-color);
}

.dropdown-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.dropdown-column {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.dropdown__box {
  background: var(--card-bg);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}

.label {
  padding: 15px 20px;
  background: var(--primary-color);
  color: white;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.label::after {
  content: "\2b";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  transition: transform 0.3s ease;
}

.dropdown__box.active .label::after {
  content: "\f068";
  transform: rotate(180deg);
}

.content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  display: flex;
  flex-direction: column;
}

.dropdown__box.active .content {
  max-height: 500px;
  padding: 10px 0;
}

.content a {
  padding: 12px 20px;
  text-decoration: none;
  color: inherit;
  font-size: 0.95rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: 0.2s;
}

.content a:hover {
  background: rgba(0, 27, 183, 0.1);
  color: var(--primary-color);
  padding-left: 25px;
}

.btn-container {
  display: none;
  width: 100%;
  margin: 10px 0 20px;
}

.load-more-btn {
  flex: 1;
  padding: 14px;
  background-color: var(--primary-color);
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

.load-more-btn.less-btn {
  background-color: #64748b;
}

@media (max-width: 768px) {

  .dropdown-grid {
    display: flex;
    flex-direction: column;
  }
  .dropdown-column {
    display: contents;
  }
  .btn-container {
    display: flex;
  }
}
