/* Section layout */
.downloads-listing {
  width: 100%;
  padding: 60px 30px;
  background: #fff;
}

/* Main Heading */
.downloads-heading {
  font-size: 4rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
}

/* Filter & Search Controls */
.downloads-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-bottom: 30px;
}

.downloads-controls select,
.downloads-controls input {
  padding: 12px 16px;
  font-size: 1.6rem;
  border-radius: 6px;
  border: 1px solid #ccc;
  width: 350px;
}

.downloads-controls button {
  padding: 12px 24px;
  width: 150px;
  font-size: 1.6rem;
  background: #111;
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.downloads-controls button:hover {
  background-color: #333;
}

/* Table Wrapper */
.downloads-table-wrapper {
  overflow-x: auto;
}

/* Table Styling */
.downloads-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1rem;
}

.downloads-table thead {
  background-color: #f0f0f0;
}

.downloads-table thead tr th{
  text-align: center;
}

.downloads-table td:last-child {
  text-align: center;
}

.downloads-table th,
.downloads-table td {
  padding: 16px 20px;
  border: 1px solid #ddd;
  text-align: left;
  font-size: 1.6rem;
}

/* Download Button */
.download-table-btn {
  background-color: #111;
  color: #fff;
  padding: 8px 16px;
  text-decoration: none;
  border-radius: 4px;
  font-size: 1.6rem;
  font-weight: 500;
  display: inline-block;
}

.download-table-btn:hover {
  background-color: #333;
}

.custom-dropdown {
  position: relative;
  width: 300px;
  font-size: 1.6rem;
  cursor: pointer;
}

.dropdown-selected {
  background: #111;
  color: #fff;
  padding: 12px 16px;
  border-radius: 6px;
  border: 1px solid #444;
  user-select: none;
  display: flex;
  justify-content: space-between;
}

.dropdown-options {
  list-style: none;
  padding: 0;
  margin: 0;
  position: absolute;
  top: 110%;
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 6px;
  display: none;
  z-index: 1000;
  box-shadow: 0 6px 12px rgba(0,0,0,0.1);
  max-height: 200px;
  overflow-y: auto;
}

.dropdown-options li {
  padding: 12px 16px;
  border-bottom: 1px solid #eee;
  transition: background 0.2s;
}

.dropdown-options li:hover {
  background: #f0f0f0;
}

.dropdown-options li:last-child {
  border-bottom: none;
}

/* Active class to show options */
.custom-dropdown.active .dropdown-options {
  display: block;
}

.pagination-container {
  margin-top: 30px;
  text-align: center;
}

.page-btn {
  background: #eee;
  border: none;
  padding: 10px 14px;
  margin: 0 4px;
  cursor: pointer;
  border-radius: 6px;
  font-weight: 600;
  color: #333;
}

.page-btn.active {
  background: #000;
  color: #fff;
}



/* Responsive Design */
@media (max-width: 768px) {
  .downloads-heading {
    font-size: 3rem;
  }

  .downloads-controls {
    flex-direction: column;
    align-items: stretch;
  }

  .downloads-controls select,
  .downloads-controls input,
  .downloads-controls button {
    width: 100%;
  }

  .downloads-table th,
  .downloads-table td {
    font-size: 1.6rem;
    padding: 12px;
  }
}

@media (max-width: 468px){

}