/* Public directory styles */
/*.wpdd-directory {
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-family: sans-serif;
}
.wpdd-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}
.wpdd-filters select,
.wpdd-filters input[type=text] {
  padding: 8px 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
  min-width: 150px;
}
.wpdd-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}
.wpdd-item {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 12px;
  background: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.wpdd-item h3 {
	font-family:popins;
  margin: 0 0 8px;
  font-size: 18px !important;
}
.wpdd-item .wpdd-desc {
  flex: 1;
  margin-bottom: 12px;
  font-size: 14px;
  color: #475569;
}
.wpdd-btn {
  text-decoration: none;
  padding: 6px 12px;
  background: #0ea5e9;
  color: #fff;
  border-radius: 8px;
  text-align: center;
  font-size: 14px;
}
@media (max-width: 640px) {
  .wpdd-list {
    grid-template-columns: 1fr;
  }
}*/

/* Container */
.wpdd-directory.wpdd-modern {
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  background: #f9fafb;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

/* Tabs */
.wpdd-tab-nav {
  list-style: none;           /* removes dots (•) */
  margin: 0;                  /* remove default spacing */
  padding: 0;                 /* remove default padding */
  display: flex;
  gap: 8px;
  border-bottom: 2px solid #e5e7eb;
  margin-bottom: 20px;
  overflow-x: auto;
  scrollbar-width: none;
}
.wpdd-tab-nav::-webkit-scrollbar {
  display: none;
}
.wpdd-tab-nav li {
  list-style: none;           /* double-safe: remove bullet points */
  padding: 10px 18px;
  cursor: pointer;
  border-radius: 8px 8px 0 0;
  font-weight: 500;
  color: #555;
  background: #f3f4f6;
  transition: all 0.25s ease;
  white-space: nowrap;
}
.wpdd-tab-nav li:hover {
  background: #e5e7eb;
  color: #111;
}
.wpdd-tab-nav li.active {
  background: #ffffff;
  color: #111;
  border: 1px solid #d1d5db;
  border-bottom: 2px solid #ffffff;
  box-shadow: 0 -2px 6px rgba(0,0,0,0.05);
}

/* Tab content */
.wpdd-tab-content {
  display: none;
  animation: fadeIn 0.4s ease;
}
.wpdd-tab-content.active {
  display: block;
}

/* Download List */
.wpdd-download-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.wpdd-download-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #ffffff;
  padding: 14px 18px;
  border-radius: 10px;
  margin-bottom: 10px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}
.wpdd-download-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.06);
}

/* Info */
.wpdd-info {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  flex: 1;
}
.wpdd-icon {
  font-size: 22px;
  color: #2563eb;
}
.wpdd-text h4 {
  margin: 0 0 4px;
  font-size: 16px;
  color: #111827;
}
.wpdd-text p {
  margin: 0;
  font-size: 14px;
  color: #6b7280;
}

/* Button */
.wpdd-btn {
  background: #2563eb;
  color: white;
  padding: 8px 14px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  transition: background 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.wpdd-btn:hover {
  background: #1d4ed8;
}
.wpdd-btn i {
  font-size: 16px;
}

/* Empty */
.wpdd-empty {
  color: #6b7280;
  text-align: center;
  padding: 20px 0;
}

/* Animation */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 600px) {
  .wpdd-download-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .wpdd-btn {
    align-self: flex-end;
  }
}
