.bndes--series-header {
  background-color: var(--primary-color);
  height: auto;
  margin-bottom: 40px;
  padding-bottom: 20px;
  padding-top: 0;
}

.bndes--series-header-content {
  color: white;
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 80px;
}

.bndes--series-header-left {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

@media (max-width: 768px) {
  .bndes--series-header-content {
    flex-direction: column;
    align-items: start;
    text-align: left;
    padding-top: 0;
    gap: 20px;
  }
}

.bndes--series-header-subtitle {
  font-size: 14px;
  font-weight: 400;
  opacity: 0.9;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.bndes--series-header-title {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.2;
}

.bndes--series-header-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.bndes--series-filter-group {
  max-width: 850px;
}

.bndes--series-input-area {
  display: flex;
  align-items: end;
  gap: 30px;
}

.bndes--series-dropdown-final-area {
  display: flex;
  align-items: end;
  gap: 20px;
}

@media (max-width: 768px) {
  .bndes--series-input-area {
    flex-direction: column;
  }

  .bndes--series-filter-group {
    width: 100%;
  }

  .bndes--series-dropdown-final-area {
    justify-content: space-between;
    width: 100%;
  }
}

.bndes--series-dropdown-label {
  margin-bottom: 10px;
}

.bndes--series-filter-label {
  font-size: 16px;
  color: white;
  margin-bottom: 10px;
}

.bndes--series-dropdown {
  position: relative;
  width: 400px;
}

.bndes--series-dropdown.small {
  width: 250px;
}

@media (max-width: 768px) {
  .bndes--series-dropdown.small {
    width: 100%;
  }
}

.bndes--series-input {
  background-color: transparent;
  border: 2px solid white;
  border-radius: 4px;
  color: white;
  padding: 12px 40px 12px 16px;
  font-size: 16px;
  width: 100%;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='white' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}

.bndes--series-input:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.3);
}

.bndes--series-input::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.bndes--series-dropdown-list {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background-color: var(--primary-color);
  border: 2px solid var(--primary-color);
  border-top: none;
  border-radius: 0 0 8px 8px;
  max-height: 280px;
  overflow: hidden;
  z-index: 1000;
  display: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.bndes--series-dropdown.active .bndes--series-dropdown-list {
  display: block;
}

.bndes--series-dropdown-header {
  padding: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.bndes--series-dropdown-title {
  color: white;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
  line-height: 16px;
}

.bndes--series-dropdown-search {
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 4px;
  color: white;
  padding: 8px 12px;
  font-size: 14px;
  width: 100%;
  outline: none;
}

.bndes--series-dropdown-search::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.bndes--series-dropdown-search:focus {
  background-color: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.5);
}

.bndes--series-dropdown-options {
  max-height: 180px;
  overflow-y: auto;
}

.bndes--series-dropdown-item {
  padding: 12px 16px;
  color: white;
  cursor: pointer;
  transition: background-color 0.2s ease;
  font-size: 14px;
  line-height: 14px;
}

.bndes--series-dropdown-item:hover,
.bndes--series-dropdown-item.selected {
  background-color: var(--light-blue);
}

.bndes--series-dropdown-options::-webkit-scrollbar {
  width: 6px;
}

.bndes--series-dropdown-options::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1);
}

.bndes--series-dropdown-options::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.3);
  border-radius: 3px;
}

.bndes--series-dropdown-options::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.5);
}

.bndes--series-action-btn {
  background-color: white;
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  min-width: 48px;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.bndes--series-action-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.bndes--series-action-btn svg {
  width: 20px;
  height: 20px;
  fill: var(--primary-color);
}

/* Themes Filter Header (Element 2) */
.bndes--themes-header {
  background-color: var(--primary-color);
  color: white;
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 80px;
}

.bndes--themes-header-left {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.bndes--themes-header-subtitle {
  font-size: 14px;
  font-weight: 400;
  opacity: 0.9;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.bndes--themes-header-title {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.2;
}

.bndes--themes-header-right {
  display: flex;
  align-items: center;
  gap: 24px;
}

.bndes--themes-filter-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.bndes--themes-filter-label {
  font-size: 16px;
  font-weight: 500;
  color: white;
}

.bndes--themes-dropdown {
  position: relative;
  min-width: 200px;
}

.bndes--themes-input {
  background-color: transparent;
  border: 2px solid white;
  border-radius: 4px;
  color: white;
  padding: 12px 40px 12px 16px;
  font-size: 16px;
  width: 100%;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='white' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}

.bndes--themes-input:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.3);
}

.bndes--themes-input::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.bndes--themes-dropdown-list {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background-color: var(--primary-color);
  border: 2px solid var(--primary-color);
  border-top: none;
  border-radius: 0 0 8px 8px;
  max-height: 280px;
  overflow: hidden;
  z-index: 1000;
  display: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.bndes--themes-dropdown.active .bndes--themes-dropdown-list {
  display: block;
}

.bndes--themes-dropdown-header {
  padding: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.bndes--themes-dropdown-title {
  color: white;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
}

.bndes--themes-dropdown-search {
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 4px;
  color: white;
  padding: 8px 12px;
  font-size: 14px;
  width: 100%;
  outline: none;
}

.bndes--themes-dropdown-search::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.bndes--themes-dropdown-search:focus {
  background-color: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.5);
}

.bndes--themes-dropdown-options {
  max-height: 180px;
  overflow-y: auto;
}

.bndes--themes-dropdown-item {
  padding: 12px 16px;
  color: white;
  cursor: pointer;
  transition: background-color 0.2s ease;
  font-size: 14px;
}

.bndes--themes-dropdown-item:hover,
.bndes--themes-dropdown-item.selected {
  background-color: var(--light-blue);
}

.bndes--themes-dropdown-options::-webkit-scrollbar {
  width: 6px;
}

.bndes--themes-dropdown-options::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1);
}

.bndes--themes-dropdown-options::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.3);
  border-radius: 3px;
}

.bndes--themes-dropdown-options::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.5);
}

.bndes--themes-date-group {
  display: flex;
  align-items: center;
  gap: 16px;
}

.bndes--themes-date-label {
  font-size: 16px;
  font-weight: 500;
  color: white;
}

.bndes--themes-date-inputs {
  display: flex;
  align-items: center;
  gap: 12px;
}

.bndes--themes-date-field {
  display: flex;
  align-items: center;
  gap: 8px;
}

.bndes--themes-date-field-label {
  font-size: 14px;
  color: white;
  font-weight: 400;
}

.bndes--themes-date-input {
  background-color: transparent;
  border: 2px solid white;
  border-radius: 4px;
  color: white;
  padding: 12px 16px;
  font-size: 16px;
  width: 140px;
  cursor: pointer;
}

.bndes--themes-date-input:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.3);
}

.bndes--themes-date-input::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.bndes--themes-action-btn {
  background-color: white;
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.bndes--themes-action-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.bndes--themes-action-btn svg {
  width: 20px;
  height: 20px;
  fill: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 768px) {
  .bndes--series-header,
  .bndes--themes-header {
    flex-direction: column;
    gap: 20px;
    padding: 20px;
    text-align: center;
  }

  .bndes--series-header-right,
  .bndes--themes-header-right {
    flex-direction: column;
    gap: 16px;
    width: 100%;
  }

  .bndes--themes-date-group {
    flex-direction: column;
    gap: 12px;
  }

  .bndes--themes-date-inputs {
    flex-direction: column;
    gap: 12px;
  }

  .bndes--series-dropdown,
  .bndes--themes-dropdown,
  .bndes--themes-date-input {
    flex-grow: 1;
    min-width: unset;
  }
}

.bndes--series-listing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

@media (max-width: 768px) {
  .bndes--series-listing-grid {
    grid-template-columns: 1fr;
  }
}

.bndes--series-input-area-date {
  display: flex;
  gap: 10px;
}

.bndes--date-filter-item {
  display: flex;
  align-items: center;
  align-content: center;
  gap: 5px;
}

.bndes--date-filter-label {
  font-size: 14px;
  color: white;
}

.bndes--date-input {
  border: 2px solid white;
  border-radius: 4px;
  color: white;
  min-width: 120px;
  padding: 12px;
  font-size: 16px;
  background-color: var(--primary-color);
}

.bndes--clear-filters-btn {
  background: #f5f5f5;
  border: 1px solid #ddd;
  padding: 8px 16px;
  border-radius: 4px;
  cursor: pointer;
  margin-left: 10px;
  font-size: 14px;
  transition: background-color 0.2s;
}

.bndes--clear-filters-btn:hover {
  background: #e0e0e0;
}
