#selfRolesManagerContainer {
  color: var(--white);
  font-family: var(--font-family);
  width: 100%;
}

.selfRoles-wrapper {
  width: 100%;
}

.selfRoles-listHeader {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 0 var(--space-md) 0;
  margin-bottom: var(--space-lg);
  border-bottom: 2px solid var(--white-faint);
  gap: var(--space-md);
  flex-wrap: wrap;
}

.selfRoles-listHeaderInfo {
  flex: 1;
  min-width: 200px;
}

.selfRoles-listDisplayTitle {
  font-size: 1.25rem;
  font-weight: var(--font-weight-bold);
  color: var(--white);
  margin: 0;
  letter-spacing: -0.01em;
}

.selfRoles-listDisplaySubtitle {
  font-size: 0.8125rem;
  color: var(--white-dim);
  margin: 0;
}

.selfRoles-panelCount {
  background: var(--white-faint);
  padding: 3px 8px;
  border-radius: var(--radius-full);
  font-size: 0.65rem;
  color: var(--white-dim);
  font-weight: var(--font-weight-semibold);
  margin-left: 8px;
}

.selfRoles-headerControls {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  flex-shrink: 0;
  margin-left: auto;
}

.selfRoles-panelSubtext {
  display: block;
  margin-top: var(--space-xs);
  font-family: var(--font-family);
  font-size: var(--font-xs);
  color: var(--white-dim);
  font-weight: var(--font-weight-medium);
  text-transform: uppercase;
  letter-spacing: var(--letter-spacing-wide);
}

.selfRoles-panelEditor {
  display: flex;
  flex-direction: column;
}

.selfRoles-editorHeader {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 0 var(--space-sm) 0;
  margin-bottom: var(--space-lg);
  border-bottom: 2px solid var(--white-faint);
  gap: var(--space-md);
  flex-wrap: wrap;
}

.selfRoles-editorHeaderLeft {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.selfRoles-backBtn {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--black-lighter);
  border: 2px solid var(--white-faint);
  border-radius: var(--radius-sm);
  color: var(--white);
  cursor: pointer;
  transition: all var(--transition-fast);
  box-shadow: 2px 2px 0 var(--black-a20);
}

.selfRoles-backBtn:hover {
  border-color: var(--pink);
  color: var(--pink);
  transform: translate(-1px, -1px);
  box-shadow: 3px 3px 0 var(--pink-dim);
}

.selfRoles-backBtn i {
  font-size: 14px;
}

.selfRoles-editorInfo {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.selfRoles-editorLabel {
  font-size: 0.6875rem;
  font-weight: var(--font-weight-semibold);
  color: var(--white-dim);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.selfRoles-editorTitle {
  font-size: 1.125rem;
  font-weight: var(--font-weight-semibold);
  color: var(--white);
  margin: 0;
}

.selfRoles-editorActions {
  display: flex;
  gap: var(--space-sm);
}

.selfRoles-saveButton, .selfRoles-postButton {
  padding: var(--btn-padding-sm);
  font-family: var(--font-family);
  font-size: var(--font-sm);
  font-weight: var(--font-weight-semibold);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all var(--transition-fast);
}

.selfRoles-saveButton {
  background: var(--black-lighter);
  color: var(--white);
  border: 2px solid var(--blue);
  box-shadow: 2px 2px 0 var(--blue-dark);
}

.selfRoles-saveButton:hover {
  transform: translate(-1px, -1px);
  box-shadow: 3px 3px 0 var(--blue-dark);
}

.selfRoles-postButton {
  background: var(--blue);
  color: var(--white);
  border: 2px solid var(--blue);
  box-shadow: 2px 2px 0 var(--blue-dark);
}

.selfRoles-postButton:hover:not(:disabled) {
  transform: translate(-1px, -1px);
  box-shadow: 3px 3px 0 var(--blue-dark);
  background: var(--blue-bright);
}

.selfRoles-postButton:disabled, .selfRoles-postButton.disabled {
  opacity: 0.5;
  cursor: not-allowed;
  box-shadow: none;
}

.selfRoles-editorActions [data-action="post"]:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
  pointer-events: none;
  font-size: 0.75rem;
  text-transform: none;
  letter-spacing: normal;
}

.selfRoles-editorActions [data-action="post"]:disabled:hover {
  transform: none;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.selfRoles-editorContent {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

.selfRoles-section {
  background: var(--white-a02);
  border: 2px solid var(--white-faint);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  transition: all var(--transition-fast);
}

.selfRoles-section:hover {
  border-color: var(--white-a10);
}

.selfRoles-sectionHeader {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-lg);
  gap: var(--space-md);
}

.selfRoles-sectionHeader h3 {
  font-size: 1rem;
  font-weight: var(--font-weight-semibold);
  color: var(--white);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.selfRoles-sectionHeader h3 i {
  color: var(--blue);
  font-size: 0.9rem;
}

.selfRoles-messagesHeader {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-md);
  gap: var(--space-md);
}

.selfRoles-messagesTitle {
  font-size: 1rem;
  font-weight: var(--font-weight-semibold);
  color: var(--white);
  margin: 0;
}

.selfRoles-addMessageButton {
  padding: var(--btn-padding-sm);
  background: var(--black-lighter);
  border: 2px solid var(--success);
  border-radius: var(--radius-sm);
  color: var(--white);
  font-family: var(--font-family);
  font-size: var(--font-sm);
  font-weight: var(--font-weight-semibold);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 2px 2px 0 var(--success-dark);
  transition: all var(--transition-fast);
}

.selfRoles-addMessageButton:hover {
  transform: translate(-1px, -1px);
  box-shadow: 3px 3px 0 var(--success-dark);
}

.selfRoles-addMessageButton i {
  font-size: 11px;
}

.selfRoles-messagesContainer {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.selfRoles-emptyState {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  text-align: center;
}

.selfRoles-emptyIcon {
  width: 56px;
  height: 56px;
  background: var(--black-lighter);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  margin-bottom: var(--space-md);
}

.selfRoles-emptyIcon img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  opacity: 0.4;
  display: block;
  margin: 0;
}

.selfRoles-emptyTitle {
  font-size: 1.125rem;
  font-weight: var(--font-weight-semibold);
  color: var(--white);
  margin: 0 0 8px 0;
}

.selfRoles-emptyDescription {
  font-size: 0.875rem;
  color: var(--white-dim);
  max-width: 320px;
  line-height: 1.6;
  margin: 0;
}

.selfRoles-message {
  background: var(--white-a02);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 2px solid var(--white-ghost);
  border-radius: var(--radius-md);
  box-shadow: 2px 2px 0 var(--black-a10);
  overflow: hidden;
  transition: all var(--transition-fast);
  margin-bottom: var(--space-md);
}

.selfRoles-message:hover {
  border-color: var(--white-a10);
}

.selfRoles-message.expanded {
  border-color: var(--white-faint);
  overflow: visible;
}

.selfRoles-message.selfRoles-dragging {
  opacity: 0.2;
  transform: scale(0.985);
  border-color: var(--pink-dim);
  border-style: dashed;
  pointer-events: none;
}

/* Drop indicator: pink inset bar at top or bottom of target */

.selfRoles-message.selfRoles-dropBefore {
  box-shadow: inset 0 3px 0 var(--pink), 2px 2px 0 var(--black-a10);
}

.selfRoles-message.selfRoles-dropAfter {
  box-shadow: inset 0 -3px 0 var(--pink), 2px 2px 0 var(--black-a10);
}

.selfRoles-messageHeader {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-md);
  background: var(--black-muted);
  cursor: pointer;
  gap: var(--space-md);
  transition: background var(--transition-fast);
  border-radius: inherit;
}

.selfRoles-messageHeaderLeft {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  flex: 1;
  min-width: 0;
}

.selfRoles-messageDragHandle {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  width: 20px;
  height: 24px;
  cursor: grab;
  opacity: 0.4;
  transition: opacity 0.15s ease;
  flex-shrink: 0;
}

.selfRoles-messageDragHandle:hover {
  opacity: 1;
}

.selfRoles-messageDragHandle span {
  width: 12px;
  height: 2px;
  background: var(--white);
  border-radius: 1px;
  transition: background 0.15s ease, width 0.15s ease;
}

.selfRoles-messageDragHandle:hover span {
  background: var(--pink);
  width: 14px;
}

.selfRoles-messageDragHandle:active {
  cursor: grabbing;
  opacity: 1;
}

.selfRoles-messageDragHandle:active span {
  background: var(--pink);
}

.selfRoles-messageInfo {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.selfRoles-messageTitle {
  font-size: 0.875rem;
  font-weight: var(--font-weight-medium);
  color: var(--white);
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.selfRoles-messageBadges {
  display: flex;
  gap: var(--space-xs);
  flex-wrap: wrap;
}

.selfRoles-messageBadge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 6px;
  border-radius: var(--radius-sm);
  font-size: 0.625rem;
  font-weight: var(--font-weight-semibold);
  text-transform: uppercase;
  background: var(--white-ghost);
  color: var(--white-dim);
  border: 1px solid var(--white-a10);
}

.selfRoles-messageBadge i {
  font-size: 0.5rem;
  opacity: 0.7;
}

.selfRoles-messageHeaderRight {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.selfRoles-messageToggle {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  color: var(--white-dim);
  cursor: pointer;
  transition: transform var(--transition-fast);
}

.selfRoles-message.expanded .selfRoles-messageToggle {
  transform: rotate(180deg);
}

.selfRoles-messageDeleteBtn {
  width: 28px;
  height: 28px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--white-faint);
  border-radius: var(--radius-sm);
  color: var(--white-dim);
  font-size: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.selfRoles-messageDeleteBtn i {
  font-size: 12px;
}

.selfRoles-messageDeleteBtn:hover i {
  transform: none;
}

.selfRoles-messageDeleteBtn:hover {
  background: var(--white-ghost);
  color: var(--white);
}

.selfRoles-messageContent {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.selfRoles-message.expanded .selfRoles-messageContent {
  max-height: 5000px;
  padding-bottom: var(--space-md);
  overflow: visible;
}

.selfRoles-messageTabs {
  display: flex;
  gap: 2px;
  padding: var(--space-sm) var(--space-md);
  background: var(--black-muted);
  border-bottom: 1px solid var(--white-faint);
}

.selfRoles-messageTab {
  padding: 8px var(--space-md);
  background: transparent;
  border: none;
  color: var(--white-dim);
  font-family: var(--font-family);
  font-size: 0.75rem;
  font-weight: var(--font-weight-semibold);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all var(--transition-fast);
  position: relative;
  border-bottom: 2px solid transparent;
}

.selfRoles-messageTab:hover {
  color: var(--white);
  background: var(--white-ghost);
}

.selfRoles-messageTab.active {
  color: var(--pink);
  border-bottom-color: var(--pink);
}

.selfRoles-messageTabContent {
  display: none;
  padding: var(--space-md);
}

.selfRoles-messageTabContent.active {
  display: block;
}

.selfRoles-componentsGrid {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.selfRoles-componentItem {
  background: var(--black-muted);
  border: 1px solid var(--white-faint);
  border-radius: var(--radius-sm);
  padding: var(--space-md);
  overflow: visible;
  position: relative;
}

.selfRoles-messageTabContent {
  overflow: visible;
}

.selfRoles-componentsGrid {
  overflow: visible;
}

.selfRoles-componentHeader {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-sm);
}

.selfRoles-componentTitle {
  font-size: 0.8125rem;
  font-weight: var(--font-weight-medium);
  color: var(--white);
}

.selfRoles-componentDeleteBtn {
  width: 24px;
  height: 24px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--white-faint);
  border-radius: var(--radius-xs);
  color: var(--white-dim);
  font-size: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.selfRoles-componentDeleteBtn:hover {
  background: var(--white-ghost);
  color: var(--white);
}

.selfRoles-componentFields {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--space-sm);
}

.selfRoles-addComponentBtn {
  display: flex;
  margin: var(--space-md) auto 0;
}

.discord-message-components-preview {
  background: #2b2d31;
  border: 1px solid var(--black-a20);
  border-radius: 8px;
  padding: 12px;
  margin-top: 16px;
  max-width: 600px;
}

.discord-preview-label {
  font-size: 0.625rem;
  font-weight: 700;
  color: #b5bac1;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 8px;
}

.discord-preview-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.discord-message-components-preview .discord-btn {
  height: 32px;
  padding: 0 16px;
  border-radius: 3px;
  font-size: 14px;
  font-weight: 500;
  line-height: 32px;
  color: #fff;
  cursor: default;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: filter 0.15s ease;
  box-shadow: none;
  border: none;
  background: transparent;
  transform: none;
}

.discord-message-components-preview .discord-btn:hover {
  box-shadow: none;
  border: none;
  transform: none;
}

.discord-btn-emoji {
  display: inline-block;
  width: 1.375em;
  height: 1.375em;
}

.discord-btn-emoji img {
  width: 100%;
  height: 100%;
}

.discord-message-components-preview .discord-btn-primary {
  background-color: var(--discord);
}

.discord-message-components-preview .discord-btn-secondary {
  background-color: #4f545c;
}

.discord-message-components-preview .discord-btn-success {
  background-color: #248046;
}

.discord-message-components-preview .discord-btn-danger {
  background-color: #da373c;
}

.discord-msg-dropdown {
  width: 100%;
  max-width: 400px;
  min-height: 40px;
  background: #1e1f22;
  border: 1px solid #1e1f22;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
  color: #b5bac1;
  font-size: 14px;
  margin-top: 8px;
  cursor: pointer;
}

.discord-dropdown-icon {
  width: 24px;
  height: 24px;
  opacity: 0.6;
}

.selfRoles-discordDropdown {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  background: #1e1f22;
  border: 1px solid #3f4147;
  border-radius: 3px;
  color: #b5bac1;
  font-size: 14px;
  min-width: 200px;
  cursor: default;
}

.selfRoles-panelsGrid {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.selfRoles-panelCard {
  background: var(--black-muted);
  border: 2px solid var(--white-faint);
  border-radius: var(--radius-md);
  padding: var(--space-md) var(--space-lg);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
  box-shadow: 2px 2px 0 var(--white-ghost), inset 0 1px 0 var(--white-a08);
  transition: all var(--transition-fast);
}

.selfRoles-panelHeader {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.selfRoles-panelTitle {
  font-size: 1rem;
  font-weight: var(--font-weight-semibold);
  color: var(--white);
  margin: 0;
}

.selfRoles-panelMeta {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  color: var(--white-muted);
  font-size: var(--font-xs);
}

.selfRoles-panelChannelTag, .selfRoles-panelMessageCount {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: var(--font-weight-medium);
}

.selfRoles-panelChannelTag i, .selfRoles-panelMessageCount i {
  font-size: 0.7rem;
  opacity: 0.7;
}

.selfRoles-panelActions {
  display: flex;
  align-items: stretch;
  gap: var(--space-sm);
}

.selfRoles-panelEditBtn, .selfRoles-panelDeleteBtn {
  padding: 8px 12px;
  font-size: 0.75rem;
  font-weight: var(--font-weight-semibold);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: var(--radius-xs);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all var(--transition-fast);
  background: var(--black-lighter);
}

.selfRoles-panelEditBtn {
  color: var(--white);
  border: 2px solid var(--blue);
  box-shadow: 2px 2px 0 var(--blue-dark);
}

.selfRoles-panelEditBtn:hover {
  background: var(--blue-faint);
  transform: translate(-1px, -1px);
  box-shadow: 3px 3px 0 var(--blue-dark);
}

.selfRoles-panelDeleteBtn {
  color: var(--danger);
  border: 2px solid var(--danger);
  padding: 8px 12px;
  box-shadow: 2px 2px 0 rgba(237, 66, 69, 0.35);
}

.selfRoles-panelDeleteBtn:hover {
  background: var(--danger-faint);
  transform: translate(-1px, -1px);
  box-shadow: 3px 3px 0 rgba(237, 66, 69, 0.45);
}

.selfRoles-panelCardTitle {
  font-size: 0.9375rem;
  font-weight: var(--font-weight-semibold);
  color: var(--white);
  margin: 0;
}

.selfRoles-panelCardMeta {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.selfRoles-panelCardChannel, .selfRoles-panelCardCount {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.75rem;
  color: var(--white-dim);
}

.selfRoles-panelCardChannel i, .selfRoles-panelCardCount i {
  font-size: 11px;
  opacity: 0.7;
}

.selfRoles-panelCardActions {
  display: flex;
  gap: 8px;
  padding-top: var(--space-md);
  margin-top: auto;
  border-top: 1px solid var(--white-faint);
}

.selfRoles-panelEditBtn, .selfRoles-panelDeleteBtn {
  flex: 1;
  padding: var(--btn-padding-sm);
  font-family: var(--font-family);
  font-size: var(--font-xs);
  font-weight: var(--font-weight-semibold);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.selfRoles-panelEditBtn {
  background: var(--black-lighter);
  color: var(--white);
  border: 2px solid var(--blue);
  box-shadow: 2px 2px 0 var(--blue-dark);
}

.selfRoles-panelEditBtn:hover {
  transform: translate(-1px, -1px);
  box-shadow: 3px 3px 0 var(--blue-dark);
}

.selfRoles-panelDeleteBtn {
  background: var(--black-lighter);
  color: var(--white);
  border: 2px solid var(--danger);
  box-shadow: 2px 2px 0 var(--danger-dark);
}

.selfRoles-panelDeleteBtn:hover {
  transform: translate(-1px, -1px);
  box-shadow: 3px 3px 0 var(--danger-dark);
}

.selfRoles-loading, .selfRoles-error {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 40px;
  gap: var(--space-md);
  text-align: center;
}

.selfRoles-loading .spinner-border {
  width: 32px;
  height: 32px;
  border: 3px solid var(--white-faint);
  border-top-color: var(--pink);
  border-radius: 50%;
  animation: selfRoles-spin 0.8s linear infinite;
}

@keyframes selfRoles-spin {
  to {
    transform: rotate(360deg);
  }
}

.selfRoles-loading p, .selfRoles-error p {
  color: var(--white-dim);
  font-size: 0.875rem;
  margin: 0;
}

.selfRoles-error {
  color: var(--danger);
}

.selfRoles-error i {
  font-size: 40px;
  opacity: 0.6;
}

.selfRoles-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--black-a70);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.selfRoles-modal {
  position: relative;
  background: var(--black-muted);
  border: 2px solid var(--white-faint);
  border-radius: var(--radius-lg);
  max-width: 500px;
  width: 90%;
  max-height: 85vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 8px 8px 0 var(--black-a40);
}

.selfRoles-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-md) var(--space-lg);
  background: var(--black-light);
  border-bottom: 2px solid var(--white-faint);
}

.selfRoles-modal-header h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: var(--font-weight-semibold);
  color: var(--white);
}

.selfRoles-modal-close {
  width: 32px;
  height: 32px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--white-dim);
  border-radius: var(--radius-sm);
  color: var(--white);
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.selfRoles-modal-close:hover {
  border-color: var(--danger);
  color: var(--danger);
}

.selfRoles-modal-body {
  padding: var(--space-lg);
  overflow-y: auto;
}

.selfRoles-modal-description {
  color: var(--white-dim);
  font-size: 0.875rem;
  margin: 0 0 var(--space-md) 0;
  line-height: 1.5;
}

.selfRoles-modal-options {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.selfRoles-modal-option {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md);
  background: var(--black-light);
  border: 2px solid var(--white-faint);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-fast);
  text-align: left;
}

.selfRoles-modal-option:hover {
  border-color: var(--pink);
  transform: translate(-2px, -2px);
  box-shadow: 4px 4px 0 var(--pink-dim);
}

.selfRoles-modal-option-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}

.selfRoles-modal-option-content h4 {
  margin: 0 0 4px 0;
  font-size: 0.9375rem;
  font-weight: var(--font-weight-semibold);
  color: var(--white);
}

.selfRoles-modal-option-content p {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--white-dim);
}

.selfRoles-modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-lg);
  border-top: 1px solid var(--white-faint);
}

.selfRoles-modal-cancel {
  padding: var(--btn-padding-sm);
  background: var(--black-lighter);
  border: 2px solid var(--white-dim);
  border-radius: var(--radius-sm);
  color: var(--white);
  font-family: var(--font-family);
  font-size: var(--font-sm);
  font-weight: var(--font-weight-semibold);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.selfRoles-modal-cancel:hover {
  border-color: var(--white);
}

@media (max-width: 768px) {
  .selfRoles-editorHeader {
    flex-direction: column;
    align-items: stretch;
  }
}

@media (max-width: 768px) {
  .selfRoles-editorActions {
    justify-content: stretch;
  }
}

@media (max-width: 768px) {
  .selfRoles-editorActions button {
    flex: 1;
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .selfRoles-panelsList {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .selfRoles-componentFields {
    grid-template-columns: 1fr;
  }
}

