.blocked-users-accordion {
  display: inline-block;
  font-family: Arial, sans-serif;
  max-width: 100%;
}

@media (max-width: 768px) {
  .blocked-users-accordion {
    display: block;
    width: 100%;
  }
}

.blocked-users-header {
  padding: 14px 16px;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
  border-radius: 8px 8px 0 0;
  transition: background 0.3s ease, color 0.3s ease;
}

body:not(.dark-theme) .blocked-users-header {
  background: linear-gradient(135deg, #64B5F6, #42A5F5);
  color: #ffffff;
}

body.dark-theme .blocked-users-header {
  background: linear-gradient(135deg, #3a5f7a, #2a4a60);
  color: #e0e0e0;
}

.blocked-users-content {
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease, background 0.4s ease;
  border-radius: 0 0 8px 8px;
  border: 1px solid;
}

body:not(.dark-theme) .blocked-users-content {
  border-color: #ccc;
  background: #f9f9f9;
}

body.dark-theme .blocked-users-content {
  border-color: #555;
  background: #2c2c2c;
}

.blocked-users-content[data-open="1"] {
  padding: 20px 16px;
}

body:not(.dark-theme) .blocked-users-content[data-open="1"] {
  background: #f4f6f8;
}

.blocked-users-inner {
  color: var(--text-color, #333);
}

body.dark-theme .blocked-users-inner {
  --text-color: #e0e0e0;
  color: #e0e0e0;
}

.blocked-users-inner ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.blocked-users-inner li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
}

.blocked-users-inner a {
  color: inherit;
  text-decoration: none;
}

.blocked-users-inner a:hover {
  text-decoration: underline;
}

.blocked-users-inner button.delete-btn {
  padding: 4px 8px;
  font-size: 12px;
  cursor: pointer;
  margin-left: 10px;
  border-radius: 4px;
  border: 1px solid;
  overflow: hidden;
  white-space: nowrap;
  max-width: 100%;
  transition: 
    background 0.18s ease,
    color 0.18s ease,
    font-size 0.12s ease;
}

body:not(.dark-theme) .blocked-users-inner button.delete-btn {
  border-color: #d0b5b5;
  background: #ffecec;
  color: #8b1f1f;
}

body:not(.dark-theme) .blocked-users-inner button.delete-btn:hover {
  font-size: 13px;
  background: #ffecec;
  color: #b71c1c;
}

body.dark-theme .blocked-users-inner button.delete-btn {
  border-color: #6b4a4a;
  background: #5a2a2a;
  color: #ffdede;
}

body.dark-theme .blocked-users-inner button.delete-btn:hover {
  font-size: 13px;
  background: #7a3a3a;
  color: #ffdede;
}

.blocked-users-separator {
  display: block;
  width: 100%;
  margin: 12px 0 8px 0;
  border: 0;
  border-top: 1px solid rgba(128, 128, 128, 0.35);
}