/* Archives */
.accred-top-title {
  text-align: center;
  margin: 30px 0;
  font-size: 28px;
}

.accred-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

/* === Sidebar Filter === */
.sidebar-accreditation {
  flex: 1;
  min-width: 240px;
  background: #e6f0ea;
  padding: 20px;
  border-radius: 8px;
}

.sidebar-accreditation input,
.sidebar-accreditation select,
.sidebar-accreditation button {
  width: 100%;
  padding: 10px;
  margin-bottom: 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 14px;
}

.accred-button {
  background: #0073aa;
  color: #fff;
  border: none;
  cursor: pointer;
}

.accred-button:hover {
  background: #005f8a;
}

/* === Main Content === */
.main-accreditation {
  flex: 3;
  min-width: 0;
}

/* === Card Layout === */
.accred-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  margin-bottom: 20px;
  border-left: 6px solid #0073aa;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

/* Icon */
.accred-icon {
  font-size: 26px;
  flex-shrink: 0;
  text-align: center;
  width: 40px;
}

/* Info */
.accred-info {
  flex: 1;
}

.accred-info h4 {
  margin: 0 0 6px;
  font-size: 18px;
}

.accred-info a {
  color: #007c5c;
  font-weight: 600;
  text-decoration: none;
}

.accred-info a:hover {
  color: #005f8a;
  text-decoration: underline;
}

.accred-info small {
  display: block;
  color: #555;
  font-size: 13px;
}

/* More Button */
.accred-more {
  flex-shrink: 0;
}

.accred-btn {
  background: #0073aa;
  color: #fff;
  padding: 8px 14px;
  font-size: 13px;
  border-radius: 6px;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.3s ease;
}

.accred-btn:hover {
  background: #005f8a;
}

/* === Spinner === */
#accred-spinner {
  text-align: center;
  padding: 20px;
}

#accred-spinner .spinner {
  width: 36px;
  height: 36px;
  border: 4px solid #ccc;
  border-top-color: #0073aa;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: auto;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* === Pagination === */
.accred-pagination {
  margin-top: 30px;
  text-align: center;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.accred-pagination .page-link {
  padding: 8px 14px;
  border: 1px solid #ccc;
  background: #f0f0f0;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.3s;
}

.accred-pagination .active {
  background: #0073aa;
  color: #fff;
  font-weight: bold;
}

/* === Responsive === */
@media (max-width: 768px) {
  .accred-wrapper {
    flex-direction: column;
  }

  .accred-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .accred-more {
    margin-top: 10px;
    width: 100%;
    text-align: left;
  }
}
