.dashboardInput-text-title, .dashboardInput-number-title, .dashboardInputs-slider-title, .dashboardInputs-switch-title {
  font-family: var(--font-family);
  font-size: 0.9rem;
  font-weight: var(--font-weight-semibold);
  color: var(--white);
  display: block;
}

.dashboardInput-text-subtitle, .dashboardInput-number-subtitle, .dashboardInputs-slider-subtitle, .dashboardInputs-switch-description, .dashboardInput-dropdown-subtext {
  font-family: var(--font-family);
  font-size: 0.75rem;
  color: var(--white-dim);
  display: block;
  margin-top: 5px;
  margin-bottom: 5px;
}

.dashboardInput-text-wrapper {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  margin-bottom: var(--space-md);
  max-width: 600px;
}

.dashboardInput-text-label {
  display: flex;
  flex-direction: column;
}

.dashboardInput-text-field {
  width: 100%;
  background: var(--black-light);
  border: 1px solid var(--white-faint);
  border-radius: var(--radius-md);
  padding: 0.625rem 0.875rem;
  color: var(--white);
  font-family: var(--font-family);
  font-size: 0.875rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.dashboardInput-text-field::placeholder {
  color: var(--white-dim);
}

.dashboardInput-text-field:focus {
  outline: none;
  border-color: var(--pink);
  box-shadow: 0 0 0 3px var(--pink-faint);
}

.dashboardInput-text-counter-wrapper {
  position: relative;
}

.dashboardInput-text-counter {
  position: absolute;
  right: 8px;
  bottom: 8px;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--white-dim);
  pointer-events: none;
  display: flex;
  gap: 1px;
}

.dashboardInput-text-counter .current {
  color: var(--pink);
}

.dashboardInput-textarea-field {
  width: 100%;
  background: var(--black-light);
  border: 1px solid var(--white-faint);
  border-radius: var(--radius-md);
  padding: 0.75rem;
  color: var(--white);
  font-family: var(--font-family);
  font-size: 0.875rem;
  line-height: 1.5;
  resize: vertical;
  min-height: 100px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.dashboardInput-textarea-field::placeholder {
  color: var(--white-dim);
}

.dashboardInput-textarea-field:focus {
  outline: none;
  border-color: var(--pink);
  box-shadow: 0 0 0 3px var(--pink-faint);
}

.dashboardInput-textarea-counter-wrapper {
  position: relative;
}

.dashboardInput-textarea-counter {
  position: absolute;
  right: 10px;
  bottom: 10px;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--white-dim);
  pointer-events: none;
  display: flex;
  gap: 1px;
}

.dashboardInput-textarea-counter .current {
  color: var(--pink);
}

.dashboardInput-tag-container {
  background: var(--black-light);
  border: 1px solid var(--white-faint);
  border-radius: var(--radius-md);
  padding: 0.5rem;
  min-height: 44px;
  max-width: 600px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.dashboardInput-tag-container:focus-within {
  border-color: var(--pink);
  box-shadow: 0 0 0 3px var(--pink-faint);
}

.dashboardInput-tag-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.375rem;
}

.dashboardInput-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
}

.dashboardInput-tag-list .tag {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  background: rgba(var(--pink-rgb), 0.15);
  border: 1px solid var(--pink);
  border-radius: var(--radius-full);
  padding: 0.2rem 0.6rem;
  font-family: var(--font-family);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--pink-light);
}

.dashboardInput-tag-list .tag .remove {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  background: var(--white-faint);
  border-radius: 50%;
  cursor: pointer;
  font-size: 0.65rem;
}

.dashboardInput-tag-field {
  flex: 1;
  min-width: 100px;
  background: transparent;
  border: none;
  padding: 0.25rem 0.5rem;
  color: var(--white);
  font-family: var(--font-family);
  font-size: 0.875rem;
}

.dashboardInput-tag-field::placeholder {
  color: var(--white-dim);
}

.dashboardInput-tag-field:focus {
  outline: none;
}

.dashboardInput-color-wrapper {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  max-width: 600px;
}

.dashboardInput-color-label {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.dashboardInput-color-field {
  appearance: none;
  -webkit-appearance: none;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1px solid var(--white-faint);
  border-radius: var(--radius-md);
  cursor: pointer;
  overflow: hidden;
  flex-shrink: 0;
}

.dashboardInput-color-field::-webkit-color-swatch-wrapper {
  padding: 0;
}

.dashboardInput-color-field::-webkit-color-swatch {
  border: none;
  border-radius: calc(var(--radius-md) - 1px);
}

.dashboardInput-color-field::-moz-color-swatch {
  border: none;
  border-radius: calc(var(--radius-md) - 1px);
}

.dashboardInput-dropdown-wrapper {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  margin-bottom: var(--space-md);
  max-width: 600px;
  position: relative;
  overflow: visible;
}

.dashboardInput-dropdown-wrapper.input-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  overflow: visible;
}

.dashboardInput-dropdown-wrapper .input-group-text {
  background: transparent;
  border: none;
  padding: 0;
  overflow: visible;
}

.dashboardInput-dropdown-label {
  display: flex;
  flex-direction: column;
}

.dashboard-dropdown {
  position: relative;
  flex: 1;
  overflow: visible;
  z-index: 1;
}

.dashboard-dropdown[data-open="true"], .dashboard-dropdown.open {
  z-index: 9998;
}

.input-group .dashboard-dropdown {
  background: var(--black-muted);
  border: 2px solid var(--white-faint);
  border-radius: 8px;
  transition: border-color 0.15s ease;
  overflow: visible;
}

.input-group .dashboard-dropdown:focus-within, .input-group .dashboard-dropdown.open {
  border-color: var(--pink);
}

.dashboard-dropdown:not(.input-group .dashboard-dropdown) {
  background: var(--black-light);
  border: 2px solid var(--white-a20);
  border-radius: 8px;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 2px 2px 0 var(--white-a10);
}

.dashboard-dropdown:not(.input-group .dashboard-dropdown):hover {
  transform: translate(-1px, -1px);
  box-shadow: 3px 3px 0 var(--white-faint);
  border-color: var(--white-a30);
}

.dashboard-dropdown:not(.input-group .dashboard-dropdown).open {
  transform: translate(0, 0);
  box-shadow: 1px 1px 0 var(--white-a10);
  border-color: var(--pink);
}

.dashboard-dropdown:not(.input-group .dashboard-dropdown):focus-within, .dashboard-dropdown:not(.input-group .dashboard-dropdown).open {
  border-color: var(--pink);
}

.dashboard-dropdown-trigger {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  width: 100%;
  padding: 6px 12px;
  background: transparent;
  border: none;
  color: var(--white);
  font-family: var(--font-family);
  font-size: 0.875rem;
  cursor: pointer;
  gap: 6px;
  min-height: 42px;
}

.dashboard-dropdown-trigger > span {
  color: var(--white-dim);
  flex: 1;
  text-align: left;
}

.dashboard-dropdown-search {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--white);
  font-family: var(--font-family);
  font-size: 0.875rem;
  padding: 0;
  min-width: 0;
}

.dashboard-dropdown-search::placeholder {
  color: var(--white-dim);
}

.dashboard-dropdown-search:focus {
  outline: none;
}

.dashboard-dropdown-arrow {
  color: var(--white-dim);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.dashboard-dropdown.open .dashboard-dropdown-arrow {
  transform: rotate(180deg);
}

.dashboard-dropdown-content {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background: var(--black-light);
  border: 2px solid var(--pink);
  border-radius: 8px;
  max-height: 200px;
  overflow-y: auto;
  z-index: 9999;
  display: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.15s ease, transform 0.15s ease;
  transform: translateY(-4px);
  scrollbar-width: thin;
  scrollbar-color: var(--white-dim) transparent;
}

.dashboard-dropdown[data-open="true"] .dashboard-dropdown-content, .dashboard-dropdown.open .dashboard-dropdown-content {
  display: block;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dashboard-dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 0.875rem;
  color: var(--white-muted);
  font-family: var(--font-family);
  font-size: 0.8125rem;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.dashboard-dropdown-item:hover {
  background: var(--black-muted);
  color: var(--white);
}

.dashboard-dropdown-item.selected, .dashboard-dropdown-item[data-selected="true"] {
  background: rgba(var(--pink-rgb), 0.1);
  color: var(--pink-light);
}

.dashboard-dropdown-item.selected:hover, .dashboard-dropdown-item[data-selected="true"]:hover {
  background: rgba(var(--pink-rgb), 0.15);
  color: var(--pink-light);
}

.role-item, .channel-item, .voice-channel-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.role-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.dashboard-dropdown-item.dashboard-dropdown-empty {
  color: var(--white-dim);
  cursor: default;
  font-style: italic;
}

.dashboard-dropdown-item.dashboard-dropdown-empty:hover {
  background: transparent;
  color: var(--white-dim);
}

.dashboard-dropdown-content {
  scrollbar-width: thin;
  scrollbar-color: var(--white-dim) transparent;
}

.dashboard-dropdown-content::-webkit-scrollbar {
  width: 4px;
}

.dashboard-dropdown-content::-webkit-scrollbar-track {
  background: transparent;
}

.dashboard-dropdown-content::-webkit-scrollbar-thumb {
  background: var(--white-dim);
  border-radius: 999px;
}

.dashboard-dropdown-content::-webkit-scrollbar-thumb:hover {
  background: var(--white-muted);
}

.dashboard-dropdown-content::-webkit-scrollbar-button {
  display: none;
  height: 0;
  width: 0;
}

.dashboard-dropdown-content::-webkit-scrollbar-corner {
  background: transparent;
}

.dashboard-multi-select .dashboard-dropdown-trigger {
  flex-wrap: wrap;
  min-height: 40px;
  padding: 0.375rem 0.75rem;
  gap: 0.375rem;
}

.dashboard-selected-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
}

.dashboard-selected-tags .tag {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  background: var(--pink-faint);
  border: 1px solid var(--pink);
  border-radius: var(--radius-full);
  padding: 0.15rem 0.5rem;
  font-size: 0.75rem;
  color: var(--pink-light);
}

.dashboard-selected-tags .tag .remove {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 12px;
  height: 12px;
  background: var(--white-faint);
  border-radius: 50%;
  cursor: pointer;
  font-size: 0.6rem;
  margin-left: 2px;
}

.dashboard-selected-tags .tag .remove:hover {
  background: var(--pink);
  color: var(--black);
}

.selected-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--black-lighter);
  border: 1px solid var(--white-faint);
  border-radius: 4px;
  padding: 3px 10px;
  font-size: 0.75rem;
  color: var(--white);
  font-family: var(--font-family);
}

.selected-tag .role-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.selected-tag .channel-hash {
  color: var(--white-dim);
  font-weight: 600;
}

.selected-tag .tag-remove {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  background: transparent;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
  border: none;
  color: var(--white-dim);
  transition: color 0.15s ease;
}

.selected-tag .tag-remove:hover {
  color: var(--danger);
}

.dashboard-dropdown-item .role-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.dashboard-dropdown-item .role-name {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dashboard-dropdown-item .channel-icon {
  flex-shrink: 0;
  opacity: 0.7;
}

.dashboard-dropdown-item .channel-name {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.voice-channel-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
}

.voice-channel-icon {
  color: white;
  font-size: 14px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
}

.voice-channel-name {
  font-weight: normal;
  color: inherit;
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dashboard-dropdown-item .category-name {
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
}

.dashboard-dropdown-item-disabled {
  opacity: 0.5;
  cursor: not-allowed !important;
  pointer-events: none;
  background-color: transparent !important;
}

.dashboard-dropdown-item-disabled:hover {
  background-color: transparent !important;
}

.dashboard-dropdown-item-disabled .role-name, .dashboard-dropdown-item-disabled .role-dot {
  opacity: 0.6;
}

.dashboard-settings-dropdown-wrapper {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  width: 100%;
  max-width: 600px;
}

.dashboard-settings-content {
  width: 100%;
}

.dashboard-content-section {
  padding: var(--space-md);
  background: var(--black-muted);
  border: 1px solid var(--white-faint);
  border-radius: var(--radius-md);
  margin-top: var(--space-xs);
  animation: fadeSlideIn 0.2s ease-out;
}

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

.dashboard-settings-section {
  color: var(--white-muted);
  font-family: var(--font-family);
  font-size: 0.875rem;
}

.dashboardInputs-switch-group {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: var(--space-sm);
  max-width: 600px;
}

.dashboardInputs-switch-group .dashboardInputs-switch-title {
  order: 2;
  font-weight: 500;
  margin: 0;
}

.dashboardInputs-switch-group .dashboardInputs-switch-description {
  order: 3;
  margin: 0;
}

.dashboardInputs-switch-group .dashboardInputs-switch {
  order: 1;
  flex-shrink: 0;
}

.dashboardInputs-switch-group > div {
  order: 2;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.dashboardInputs-switch {
  position: relative;
  display: inline-block;
  width: 48px;
  height: 26px;
  flex-shrink: 0;
}

.dashboardInputs-switch input {
  opacity: 0;
  width: 0;
  height: 0;
  position: absolute;
}

.dashboardInputs-switch-slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background: var(--black-lighter);
  border: 1px solid var(--white-faint);
  border-radius: var(--radius-full);
}

.dashboardInputs-switch-slider::before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 3px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--white);
  border-radius: 50%;
  transition: left 0.15s ease;
}

.dashboardInputs-switch input:checked + .dashboardInputs-switch-slider {
  background: linear-gradient(135deg, var(--pink) 0%, var(--pink-muted) 100%);
  border-color: var(--pink);
  box-shadow: 0 0 8px var(--pink-dim);
}

.dashboardInputs-switch.active .dashboardInputs-switch-slider, .dashboardInputs-switch[data-value="true"] .dashboardInputs-switch-slider {
  background: linear-gradient(135deg, var(--pink) 0%, var(--pink-muted) 100%);
  border-color: var(--pink);
  box-shadow: 0 0 8px var(--pink-dim);
}

.dashboardInputs-switch input:checked + .dashboardInputs-switch-slider::before {
  left: calc(100% - 19px);
}

.dashboardInputs-switch.active .dashboardInputs-switch-slider::before, .dashboardInputs-switch[data-value="true"] .dashboardInputs-switch-slider::before {
  left: calc(100% - 19px);
}

.dashboardInputs-switch:not(.dashboardInputs-switch-onOff):not(.dashboardInputs-switch-header) {
  width: 60px;
}

.dashboardInputs-switch:not(.dashboardInputs-switch-onOff):not(.dashboardInputs-switch-header) .dashboardInputs-switch-slider {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 8px;
}

.dashboardInputs-switch:not(.dashboardInputs-switch-onOff):not(.dashboardInputs-switch-header) .dashboardInputs-switch-slider::after {
  content: "OFF";
  font-family: var(--font-mono);
  font-size: 0.55rem;
  font-weight: var(--font-weight-bold);
  letter-spacing: 0.05em;
  color: var(--white-dim);
  z-index: 1;
}

.dashboardInputs-switch:not(.dashboardInputs-switch-onOff):not(.dashboardInputs-switch-header) input:checked + .dashboardInputs-switch-slider, .dashboardInputs-switch:not(.dashboardInputs-switch-onOff):not(.dashboardInputs-switch-header).active .dashboardInputs-switch-slider, .dashboardInputs-switch:not(.dashboardInputs-switch-onOff):not(.dashboardInputs-switch-header)[data-value="true"] .dashboardInputs-switch-slider {
  justify-content: flex-start;
}

.dashboardInputs-switch:not(.dashboardInputs-switch-onOff):not(.dashboardInputs-switch-header) input:checked + .dashboardInputs-switch-slider::after, .dashboardInputs-switch:not(.dashboardInputs-switch-onOff):not(.dashboardInputs-switch-header).active .dashboardInputs-switch-slider::after, .dashboardInputs-switch:not(.dashboardInputs-switch-onOff):not(.dashboardInputs-switch-header)[data-value="true"] .dashboardInputs-switch-slider::after {
  content: "ON";
  color: var(--white);
}

.dashboardInputs-switch-onOff {
  width: 60px;
}

.dashboardInputs-switch.dashboardInputs-switch-onOff {
  margin-top: 5px;
  margin-bottom: 5px;
}

.dashboardInputs-switch-onOff .dashboardInputs-switch-slider {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 8px;
}

.dashboardInputs-switch-text-on, .dashboardInputs-switch-text-off {
  font-family: var(--font-mono);
  font-size: 0.55rem;
  font-weight: var(--font-weight-bold);
  letter-spacing: 0.05em;
  transition: opacity 0.15s ease;
  z-index: 1;
}

.dashboardInputs-switch-text-on {
  opacity: 0;
  color: var(--white);
}

.dashboardInputs-switch-text-off {
  opacity: 1;
  color: var(--white-dim);
}

.dashboardInputs-switch-onOff input:checked + .dashboardInputs-switch-slider .dashboardInputs-switch-text-on {
  opacity: 1;
}

.dashboardInputs-switch-onOff.active .dashboardInputs-switch-slider .dashboardInputs-switch-text-on, .dashboardInputs-switch-onOff[data-value="true"] .dashboardInputs-switch-slider .dashboardInputs-switch-text-on {
  opacity: 1;
}

.dashboardInputs-switch-onOff input:checked + .dashboardInputs-switch-slider .dashboardInputs-switch-text-off {
  opacity: 0;
}

.dashboardInputs-switch-onOff.active .dashboardInputs-switch-slider .dashboardInputs-switch-text-off, .dashboardInputs-switch-onOff[data-value="true"] .dashboardInputs-switch-slider .dashboardInputs-switch-text-off {
  opacity: 0;
}

.dashboardInputs-switch-onOff .dashboardInputs-switch-slider::before {
  width: 18px;
  height: 18px;
  left: 2px;
}

.dashboardInputs-switch-onOff input:checked + .dashboardInputs-switch-slider::before {
  left: calc(100% - 20px);
}

.dashboardInputs-switch-onOff.active .dashboardInputs-switch-slider::before, .dashboardInputs-switch-onOff[data-value="true"] .dashboardInputs-switch-slider::before {
  left: calc(100% - 20px);
}

.dashboardInputs-switch-sections {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  max-width: 600px;
}

.dashboardInputs-switch-section {
  display: flex;
  flex-direction: column;
  background: transparent;
  padding: 10px;
  border: 1px solid var(--white-faint);
  border-radius: 5px;
}

.dashboardInputs-switch-content {
  margin-top: var(--space-sm);
  padding: var(--space-md);
  border-radius: var(--radius-md);
}

.dashboardInputs-switch-settings h3 {
  font-family: var(--font-family);
  font-size: 0.9rem;
  font-weight: var(--font-weight-semibold);
  color: var(--pink-light);
  margin: 0 0 var(--space-xs) 0;
}

.dashboardInputs-switch-settings p {
  font-family: var(--font-family);
  font-size: 0.8125rem;
  color: var(--white-muted);
  margin: 0;
  line-height: 1.5;
}

.switch-content-background {
  background: var(--black-muted);
  border: 1px solid var(--white-faint);
  border-radius: var(--radius-md);
  padding: var(--space-md);
}

.dashboardInputs-slider-wrapper {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin-top: 10px;
  margin-bottom: 10px;
  max-width: 600px;
  width: 100%;
}

.dashboardInputs-slider-label {
  display: flex;
  flex-direction: column;
}

.dashboardInputs-slider-container {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  padding: var(--space-xs) 0;
  position: relative;
  width: 100%;
  max-width: 100%;
  overflow: visible;
}

.dashboardInputs-slider-track {
  position: relative;
  height: 6px;
  background: var(--black-lighter);
  border: 1px solid var(--white-faint);
  border-radius: var(--radius-full);
  cursor: pointer;
  width: 100%;
  max-width: 100%;
  margin-left: 8px;
  margin-right: 8px;
  width: calc(100% - 16px);
}

.dashboardInputs-slider-progress {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background: var(--pink);
  border-radius: var(--radius-full);
  pointer-events: none;
}

.dashboardInputs-slider-thumb {
  position: absolute;
  top: 50%;
  left: 0;
  width: 16px;
  height: 16px;
  background: var(--white);
  border: 3px solid var(--pink);
  border-radius: 50%;
  cursor: grab;
  box-shadow: 0 0 10px rgba(255, 62, 165, 0.4), 0 2px 4px var(--black-a30);
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 3;
  transition: transform 0.15s ease, background 0.2s ease;
}

.dashboardInputs-slider-input:hover ~ .dashboardInputs-slider-track .dashboardInputs-slider-thumb {
  transform: translate(-50%, -50%) scale(1.1);
}

.dashboardInputs-slider-track:active .dashboardInputs-slider-thumb {
  cursor: grabbing;
  transform: translate(-50%, -50%) scale(1.1);
}

.dashboardInputs-slider-input {
  position: absolute;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  z-index: 2;
}

.dashboardInputs-slider-input:focus {
  outline: none;
}

.dashboardInputs-slider-input::-webkit-slider-runnable-track {
  width: 100%;
  height: 8px;
  background: transparent;
  border-radius: var(--radius-full);
  cursor: pointer;
}

.dashboardInputs-slider-input::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  background: transparent !important;
  border: none !important;
  cursor: pointer;
  margin-top: -8px;
  box-shadow: none !important;
}

.dashboardInputs-slider-input::-webkit-slider-thumb:hover {
  transform: scale(1);
  box-shadow: none;
}

.dashboardInputs-slider-input:active::-webkit-slider-thumb {
  cursor: grabbing;
  transform: scale(1);
  box-shadow: none;
}

.dashboardInputs-slider-input::-moz-range-track {
  width: 100%;
  height: 8px;
  background: transparent;
  border-radius: var(--radius-full);
  cursor: pointer;
}

.dashboardInputs-slider-input::-moz-range-thumb {
  width: 24px;
  height: 24px;
  background: transparent !important;
  border: none !important;
  cursor: pointer;
  box-shadow: none !important;
}

.dashboardInputs-slider-input::-moz-range-thumb:hover {
  transform: scale(1);
  box-shadow: none;
}

.dashboardInputs-slider-input:active::-moz-range-thumb {
  cursor: grabbing;
  transform: scale(1);
  box-shadow: none;
}

.dashboardInputs-slider-ticks {
  position: relative;
  margin-top: 8px;
  height: 20px;
  width: 100%;
  pointer-events: none;
}

.dashboardInputs-slider-tick {
  position: absolute;
  top: 0;
  transform: translateX(-50%);
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--white-dim);
  line-height: 1.4;
  white-space: nowrap;
}

.dashboardInputs-slider-tick.tick-hide-sm {
  display: block;
}

.dashboardInputs-slider-tick.tick-hide-md {
  display: block;
}

@media (max-width: 768px) {
  .dashboardInputs-slider-tick.tick-hide-md {
    display: none;
  }
}

@media (max-width: 480px) {
  .dashboardInputs-slider-tick.tick-hide-sm {
    display: none;
  }
}

@media (max-width: 480px) {
  .dashboardInputs-slider-tick {
    font-size: 0.65rem;
  }
}

.dashboardInputs-slider-value {
  position: absolute;
  top: -45px;
  left: 0;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  z-index: 10;
  transform: translateX(-50%);
}

.dashboardInputs-slider-value.active {
  opacity: 1 !important;
  visibility: visible !important;
}

.dashboardInputs-slider-value span {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: var(--font-weight-semibold);
  color: var(--white);
  background: var(--black-lighter);
  border: 1px solid var(--white-faint);
  border-radius: var(--radius-sm);
  padding: 0.3rem 0.5rem;
  min-width: 40px;
  text-align: center;
  white-space: nowrap;
  box-shadow: 0 4px 12px var(--black-a40);
  position: relative;
}

.dashboardInputs-slider-value span::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 6px solid var(--white-faint);
}

.dashboardInputs-slider-value span::before {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid var(--black-lighter);
  z-index: 1;
}

.dashboardInput-emoji-container {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
}

.dashboardInput-emoji-trigger {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--black-lighter);
  border: 1px solid var(--white-faint);
  border-radius: var(--radius-md);
  cursor: pointer;
}

.dashboardInput-emoji-trigger[aria-expanded="true"] {
  border-color: var(--pink);
}

.dashboardInput-emoji-display {
  font-size: 1.25rem;
  color: var(--white-dim);
  line-height: 1;
}

.dashboardInput-emoji-remove {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--pink);
  border-radius: 50%;
  color: var(--pink);
  font-size: 0.875rem;
  font-weight: bold;
  cursor: pointer;
}

.dashboardInput-emoji-picker {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  width: 340px;
  max-height: 360px;
  background: var(--black-lighter);
  border: 1px solid var(--pink);
  border-radius: var(--radius-lg);
  z-index: 1000;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.dashboardInput-emoji-header {
  padding: 0.75rem;
  border-bottom: 1px solid var(--white-faint);
}

.dashboardInput-emoji-search-wrapper {
  position: relative;
}

.dashboardInput-emoji-searchInput {
  width: 100%;
  background: var(--black-light);
  border: 1px solid var(--white-faint);
  border-radius: var(--radius-sm);
  padding: 0.5rem 0.75rem;
  color: var(--white);
  font-family: var(--font-family);
  font-size: 0.8125rem;
}

.dashboardInput-emoji-searchInput::placeholder {
  color: var(--white-dim);
}

.dashboardInput-emoji-searchInput:focus {
  outline: none;
  border-color: var(--pink);
}

.dashboardInput-emoji-content {
  display: flex;
  flex: 1;
  overflow: hidden;
  min-height: 200px;
}

.dashboardInput-emoji-sidebar {
  width: 44px;
  background: var(--black-light);
  border-right: 1px solid var(--white-faint);
  padding: 0.5rem 0.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  overflow-y: auto;
}

.dashboardInput-emoji-sidebar-section {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

.dashboardInput-emoji-sidebar-separator {
  height: 1px;
  background: var(--white-faint);
  margin: 0.375rem 0.25rem;
}

.dashboardInput-emoji-sidebar button {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 1rem;
  margin: 0 auto;
}

.dashboardInput-emoji-sidebar button.active {
  background: rgba(var(--pink-rgb), 0.15);
  border-color: var(--pink);
}

.dashboardInput-emoji-scroll-wrapper {
  flex: 1;
  position: relative;
  overflow: hidden;
}

.dashboardInput-emoji-scroll-content {
  height: 100%;
  overflow-y: auto;
  padding: 0.5rem;
}

.dashboardInput-emoji-scroll-content::-webkit-scrollbar {
  width: 6px;
}

.dashboardInput-emoji-scroll-content::-webkit-scrollbar-track {
  background: transparent;
}

.dashboardInput-emoji-scroll-content::-webkit-scrollbar-thumb {
  background: var(--pink-muted);
  border-radius: 3px;
}

.dashboardInput-emoji-section {
  margin-bottom: var(--space-sm);
}

.dashboardInput-emoji-section-title {
  font-family: var(--font-family);
  font-size: 0.7rem;
  font-weight: var(--font-weight-semibold);
  color: var(--white-dim);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.375rem;
  padding: 0 0.25rem;
}

.dashboardInput-emoji-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 2px;
}

.dashboardInput-emoji-item {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 1.25rem;
}

.dashboardInput-emoji-scrollbar {
  position: absolute;
  right: 2px;
  top: 4px;
  bottom: 4px;
  width: 4px;
  background: transparent;
}

.dashboardInput-emoji-scrollbar-thumb {
  position: absolute;
  width: 100%;
  background: var(--pink-muted);
  border-radius: 2px;
  min-height: 20px;
}

.dashboardInput-emoji-preview {
  padding: 0.5rem 0.75rem;
  background: var(--black-light);
  border-top: 1px solid var(--white-faint);
  min-height: 48px;
}

.dashboardInput-emoji-preview-content {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

.dashboardInput-emoji-preview-emoji {
  font-size: 1.75rem;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dashboardInput-emoji-preview-info {
  display: flex;
  flex-direction: column;
}

.dashboardInput-emoji-preview-name {
  font-family: var(--font-family);
  font-size: 0.8125rem;
  font-weight: var(--font-weight-semibold);
  color: var(--white);
}

.dashboardInput-emoji-preview-guild {
  font-family: var(--font-family);
  font-size: 0.7rem;
  color: var(--white-dim);
}

.multi-emoji-container {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.emoji-inputs-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.emoji-input-container {
  display: inline-flex;
}

.embed-builder-container {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  max-width: 600px;
}

.embed-builder-wrapper {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  max-width: 600px;
}

/* Multi-embed list */

.multi-embed-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.multi-embed-entry {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  border: 1px solid var(--white-a10);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  background: var(--black-a20);
}

.multi-embed-entry-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
}

.multi-embed-entry-header-left {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.multi-embed-drag-handle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  padding: 0;
  border: none;
  background: transparent;
  color: var(--white-dim);
  font-size: 16px;
  line-height: 1;
  cursor: grab;
  border-radius: var(--radius-sm);
  transition: color var(--transition-fast), background var(--transition-fast);
  flex-shrink: 0;
  user-select: none;
}

.multi-embed-drag-handle:hover {
  color: var(--white);
  background: var(--white-a10);
}

.multi-embed-drag-handle:active {
  cursor: grabbing;
}

.multi-embed-entry.multi-embed-dragging {
  opacity: 0.9;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  border-color: var(--pink);
}

.multi-embed-placeholder {
  border: 2px dashed var(--pink);
  border-radius: var(--radius-md);
  background: var(--pink-darker-a10, rgba(255, 100, 180, 0.05));
  transition: height 0.15s ease;
}

.multi-embed-entry-label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--white-dim);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.multi-embed-remove-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: var(--btn-padding-sm);
  font-family: var(--font-family);
  font-size: var(--font-xs);
  font-weight: var(--font-weight-bold);
  letter-spacing: 0.01em;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
  background: var(--black-lighter);
  color: var(--white);
  border: var(--border-normal) solid var(--danger);
  box-shadow: 2px 2px 0 var(--danger-dark);
}

.multi-embed-remove-btn:hover {
  transform: translate(-1px, -1px);
  box-shadow: 3px 3px 0 var(--danger-dark);
  border-color: var(--danger-light);
}

.multi-embed-remove-btn:active {
  transform: translate(0, 0);
  box-shadow: 1px 1px 0 var(--danger-dark);
}

.multi-embed-add-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 0.6rem 1.2rem 0.6rem 0.9rem;
  font-size: var(--font-sm);
  font-weight: var(--font-weight-bold);
  font-family: var(--font-family);
  letter-spacing: var(--letter-spacing-wide);
  background: var(--black-lighter);
  color: var(--white);
  border: var(--border-normal) solid var(--pink);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md) var(--pink-darker);
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.multi-embed-add-btn:not(:disabled):hover {
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-xl) var(--pink-darker);
}

.multi-embed-add-btn:not(:disabled):active {
  transform: translate(0, 0);
  box-shadow: var(--shadow-sm) var(--pink-darker);
}

.multi-embed-add-btn:disabled {
  background: var(--black-lighter);
  color: var(--white-dim);
  border: 2px solid var(--white-faint);
  box-shadow: 2px 2px 0 var(--black-lightest);
  cursor: not-allowed;
  opacity: 1;
}

.embed-builder {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  max-width: 600px;
}

.embed-input-container {
  position: relative;
}

.embed-message-input {
  width: 100%;
  background: var(--black-a40);
  border: 1px solid var(--white-a10);
  border-radius: var(--radius-md);
  padding: 0.75rem;
  padding-bottom: 1.75rem;
  color: var(--white);
  font-family: var(--font-family);
  font-size: 0.875rem;
  line-height: 1.5;
  resize: vertical;
  min-height: 80px;
}

.embed-message-input::placeholder {
  color: var(--white-dim);
}

.embed-message-input:focus {
  outline: none;
  border-color: var(--white-a20);
  background: var(--black-a50);
}

.input-char-count {
  position: absolute;
  right: 10px;
  bottom: 8px;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--white-dim);
  pointer-events: none;
}

.embed-preview {
  padding: var(--space-sm);
  border-radius: var(--radius-md);
  max-width: 600px;
}

.embed {
  display: flex;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  overflow: hidden;
}

.embed-sidebar-controls {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 0 0.3rem 0.625rem 0;
  min-width: 40px;
}

.embed-control-button {
  position: relative;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--black-lighter);
  border: 1px solid var(--white-faint);
  border-radius: var(--radius-sm);
  color: var(--white-dim);
  cursor: pointer;
  overflow: hidden;
}

.embed-control-button input[type="color"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.embed-control-button .embedColor {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.colorInputEmbedPreview {
  width: 18px;
  height: 18px;
}

.embed-control-button:has(.color-picker-trigger) .dashboardEmbed-utility {
  display: none;
}

.embed-control-button .color-picker-trigger {
  width: 100%;
  height: 100%;
  border-radius: var(--radius-sm);
  background: transparent;
  border: none;
  padding: 4px;
  transition: background-color 0.15s ease;
}

.embed-control-button:hover .color-picker-trigger {
  background: var(--white-ghost);
}

.embed-control-button .color-picker-trigger img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0.6;
  transition: opacity 0.15s ease;
}

.embed-control-button:hover .color-picker-trigger img {
  opacity: 1;
}

.embed-content {
  flex: 1;
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  min-width: 0;
  border-left: 4px solid var(--discord);
  background: var(--black-lighter);
  border-radius: 0.25rem;
}

.embed-content p[style*="font-weight: bold"] {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

.embed-content p[style*="margin-top: 0px"] {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

.embed-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.embed-author {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  min-width: 0;
}

.embed-author .embed-input-wrapper {
  flex: 1;
  min-width: 0;
}

.embed-footer {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #333;
}

.embed-footer .embed-input-wrapper {
  flex: 1;
  min-width: 0;
}

.embed-fields-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 12px;
}

.embed-field {
  background: var(--black-a30);
  border: 1px solid var(--white-ghost);
  border-radius: 4px;
  padding: 12px;
  position: relative;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.embed-field.inline {
  grid-column: auto;
}

.embed-field:not(.inline) {
  grid-column: 1 / -1;
}

.embed-field-controls {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px;
  background: var(--black-a20);
  border-radius: 4px;
  opacity: 0;
  visibility: hidden;
  max-height: 0;
  overflow: hidden;
  transition: opacity 0.2s ease, max-height 0.2s ease, visibility 0.2s ease;
}

.embed-field:hover .embed-field-controls {
  opacity: 1;
  visibility: visible;
  max-height: 50px;
}

.embed-field-control {
  background: transparent;
  border: none;
  color: var(--white-dim);
  cursor: pointer;
  padding: 6px;
  border-radius: 4px;
  transition: background-color 0.2s ease, color 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.embed-field-control:hover {
  background: var(--white-a10);
  color: var(--white);
}

.embed-field-control.delete-field:hover {
  background: rgba(255, 0, 0, 0.1) !important;
  color: #ff4444 !important;
}

.embed-field-control img {
  width: 12px;
  height: 12px;
  filter: brightness(0) invert(1);
  opacity: 0.6;
}

.embed-field-control:hover img {
  opacity: 1;
}

.embed-field .embed-input-wrapper {
  width: 100%;
}

.embed-field-name, .embed-field-value {
  width: 100%;
  padding: 8px;
  padding-right: 70px;
  background: var(--black-a40);
  border: 1px solid var(--white-a10);
  border-radius: 3px;
  color: var(--white);
  box-sizing: border-box;
  font-family: var(--font-family);
}

.embed-field-name:focus, .embed-field-value:focus {
  outline: none;
  border-color: var(--white-a20);
  background: var(--black-a50);
}

.embed-field-value {
  min-height: 80px;
  resize: vertical;
}

.embed-inline-toggle {
  display: flex;
  align-items: center;
  margin-left: auto;
  cursor: pointer;
  padding: 2px;
  border-radius: 4px;
  transition: background-color 0.2s ease;
  position: relative;
}

.embed-inline-toggle:hover {
  background: var(--white-ghost);
}

.embed-inline-toggle span {
  display: none;
}

.embed-inline-toggle input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.embed-inline-toggle label {
  position: relative;
  display: block;
  width: 36px;
  height: 20px;
  cursor: pointer;
  background: var(--white-a10);
  border: 1px solid var(--white-faint);
  border-radius: 10px;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.embed-inline-toggle label::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 14px;
  height: 14px;
  background-color: #fff;
  border-radius: 50%;
  transition: transform 0.3s ease;
  box-shadow: 1px 1px 2px var(--black-a20);
}

.embed-inline-toggle input:checked + label {
  background-color: var(--pink);
  border-color: var(--pink);
}

.embed-inline-toggle input:checked + label::after {
  transform: translateX(16px);
}

.embed-inline-toggle input:focus + label {
  box-shadow: 0 0 0 2px rgba(88, 101, 242, 0.25);
}

.embed-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--black-a80);
  z-index: 10010;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  overflow-y: auto;
  box-sizing: border-box;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.embed-modal-content {
  position: relative;
  width: 100%;
  max-width: 520px;
  background: var(--black-light);
  border: 2px solid var(--white-faint);
  border-radius: 12px;
  box-shadow: 6px 6px 0 var(--pink-darker);
  overflow: hidden;
  box-sizing: border-box;
  margin: auto;
}

.embed-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--white-faint);
  background: var(--black-lighter);
}

.embed-modal-header h3 {
  font-family: var(--font-hero);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--white);
  margin: 0;
  background: var(--gradient-brand-horizontal);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.embed-modal-close {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  background: transparent;
  border: 1px solid var(--white-faint);
  color: var(--white-dim);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
  padding: 0;
}

.embed-modal-close:hover {
  background: var(--white-ghost);
  color: var(--white);
  border-color: var(--white-dim);
  transform: translateY(-1px);
}

.embed-modal-close img {
  width: 16px;
  height: 16px;
  filter: brightness(0) invert(1);
  opacity: 0.6;
}

.embed-modal-close:hover img {
  opacity: 1;
}

.embed-image-source-options {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  width: 100%;
  box-sizing: border-box;
  padding: 1.25rem;
}

.embed-url-input {
  display: flex;
  gap: 0.5rem;
  width: 100%;
  box-sizing: border-box;
}

.embed-modal-input {
  flex: 1;
  padding: 0.75rem 1rem;
  background: var(--black-lighter);
  border: 2px solid var(--white-faint);
  border-radius: 8px;
  color: var(--white);
  font-family: var(--font-family);
  font-size: 0.9rem;
  box-sizing: border-box;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.embed-modal-input::placeholder {
  color: var(--white-dim);
}

.embed-modal-input:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px var(--blue-faint);
  background: var(--black-light);
}

.embed-modal-button {
  padding: 0.75rem 1.25rem;
  background: var(--black-lighter);
  border: 2px solid var(--white-faint);
  border-radius: 8px;
  color: var(--white);
  cursor: pointer;
  font-family: var(--font-family);
  font-size: 0.9rem;
  font-weight: 600;
  transition: background-color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  justify-content: center;
  box-sizing: border-box;
  white-space: nowrap;
}

.embed-modal-button:hover {
  background: var(--white-ghost);
  border-color: var(--white-dim);
  transform: translateY(-2px);
  box-shadow: 3px 3px 0 var(--pink-darker);
}

.embed-modal-button:active {
  transform: translateY(0);
  box-shadow: 1px 1px 0 var(--pink-darker);
}

.embed-modal-button.url-submit {
  padding: 0.75rem 1.25rem;
  background: var(--black-lighter);
  border: 2px solid var(--pink);
  color: var(--white);
  font-weight: 700;
  box-shadow: 4px 4px 0 var(--pink-darker);
}

.embed-modal-button.url-submit:hover {
  transform: translateY(-2px);
  box-shadow: 6px 6px 0 var(--pink-darker);
  border-color: var(--white);
}

.embed-modal-button.url-submit:active {
  transform: translateY(0);
  box-shadow: 2px 2px 0 var(--pink-darker);
}

.embed-modal-button img, .embed-modal-button svg {
  width: 14px;
  height: 14px;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.embed-modal-button:hover img, .embed-modal-button:hover svg {
  opacity: 1;
}

.embed-modal-separator {
  text-align: center;
  color: var(--white-dim);
  margin: 0.5rem 0;
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
  box-sizing: border-box;
}

.embed-modal-separator::before, .embed-modal-separator::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--white-faint);
}

.embed-modal-separator span {
  font-family: var(--font-family);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--white-dim);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.embed-variables {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  width: 100%;
  box-sizing: border-box;
}

.embed-variable-btn {
  padding: 1rem;
  background: var(--black-lighter);
  border: 2px solid var(--white-faint);
  border-radius: 8px;
  color: var(--white);
  cursor: pointer;
  font-family: var(--font-family);
  font-size: 0.875rem;
  font-weight: 600;
  transition: background-color 0.15s ease, border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.embed-variable-btn:hover {
  background: var(--white-ghost);
  border-color: var(--blue);
  transform: translateY(-2px);
  box-shadow: 3px 3px 0 var(--blue-dark);
}

.embed-variable-btn:active {
  transform: translateY(0);
  box-shadow: 1px 1px 0 var(--blue-dark);
}

.embed-variable-btn img {
  width: 18px;
  height: 18px;
  filter: brightness(0) invert(1);
  opacity: 0.8;
}

.embed-variable-btn:hover img {
  opacity: 1;
}

@media (max-width: 768px) {
  .embed-modal-content {
    width: calc(100% - 32px);
    padding: 20px;
  }
}

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

@media (max-width: 768px) {
  .embed-url-input {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .embed-modal-button.url-submit {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .embed-fields-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .embed-modal-content {
    padding: 16px;
  }
}

@media (max-width: 480px) {
  .embed-modal-header {
    margin-bottom: 16px;
    padding-bottom: 12px;
  }
}

.embed-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--space-md);
}

.embed-author {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex: 1;
  min-width: 0;
}

.embed-image-upload {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-sm);
  cursor: pointer;
  flex-shrink: 0;
}

.embed-image-small {
  width: 36px;
  height: 36px;
}

.embed-image-thumbnail {
  width: 72px;
  height: 72px;
}

.embed-image-large {
  width: 100%;
  max-width: 100%;
  height: 160px;
}

.embed-image-upload label {
  display: block;
  width: 100%;
  height: 100%;
  cursor: pointer;
  position: relative;
}

.embed-image-upload .preview-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: relative;
  z-index: 1;
}

.embed-image-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--black-lighter);
  border: 1px dashed var(--white-faint);
  z-index: 2;
}

.embed-image-overlay.empty {
  color: var(--white-dim);
  font-size: 0.875rem;
}

.embed-image-overlay.with-image {
  background: rgba(239, 68, 68, 0.4);
  color: #ffffff;
  opacity: 0;
  border: none;
  z-index: 3;
  transition: opacity 0.2s ease;
  pointer-events: auto;
}

.embed-image-upload:hover .embed-image-overlay.with-image:not(.hidden) {
  opacity: 1;
}

.embed-image-overlay.hidden {
  display: none !important;
}

.embed-input-wrapper {
  position: relative;
}

.embed-input-wrapper input, .embed-input-wrapper textarea {
  width: 100%;
  background: var(--black-a40);
  border: 1px solid var(--white-a10);
  border-radius: var(--radius-sm);
  padding: 0.5rem;
  color: var(--white);
  font-family: var(--font-family);
  font-size: 0.8125rem;
}

.embed-input-wrapper input::placeholder, .embed-input-wrapper textarea::placeholder {
  color: var(--white-dim);
}

.embed-input-wrapper input:focus, .embed-input-wrapper textarea:focus {
  outline: none;
  border-color: var(--white-a20);
  background: var(--black-a50);
}

.embed-title {
  font-weight: var(--font-weight-semibold);
}

.embed-description {
  resize: vertical;
  min-height: 60px;
  line-height: 1.4;
}

.embed-char-count {
  position: absolute;
  right: 6px;
  bottom: 4px;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--white-dim);
  pointer-events: none;
}

.embed-main-content {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.embed-fields {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.embed-add-field {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  background: transparent;
  border: 1px dashed var(--white-faint);
  border-radius: var(--radius-sm);
  color: var(--white-dim);
  font-family: var(--font-family);
  font-size: 0.8125rem;
  cursor: pointer;
}

.embed-field-count {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  opacity: 0.7;
}

.embed-footer {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--white-faint);
}

.embed-total-chars {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--white-dim);
  text-align: right;
  margin-top: 0.375rem;
}

.toggle-embed-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: var(--black-lighter);
  border: var(--border-normal) solid var(--pink);
  border-radius: var(--radius-md);
  color: var(--white);
  font-family: var(--font-family);
  font-size: 0.8125rem;
  font-weight: var(--font-weight-semibold);
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
  box-shadow: var(--shadow-md) var(--pink-darker);
}

.toggle-embed-btn[data-toggle="true"] {
  background: var(--black-light);
  border-color: var(--white-dim);
  color: var(--white);
}

.embeds-wrapper {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  max-width: 600px;
}

.embed-controls {
  display: flex;
  justify-content: center;
  padding: var(--space-sm) 0;
  max-width: 600px;
}

.btn-add-embed {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.25rem;
  background: transparent;
  border: 1px solid var(--pink);
  border-radius: var(--radius-md);
  color: var(--pink);
  font-family: var(--font-family);
  font-size: 0.875rem;
  font-weight: var(--font-weight-semibold);
  cursor: pointer;
}

.embed-count {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  opacity: 0.7;
}

.dashboardInput-number-wrapper {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  margin-bottom: var(--space-md);
  max-width: 600px;
}

.dashboardInput-number-label {
  display: flex;
  flex-direction: column;
}

.dashboardInput-number-field {
  width: 100%;
  background: var(--black-light);
  border: 1px solid var(--white-faint);
  border-radius: var(--radius-md);
  padding: 0.625rem 0.875rem;
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 0.875rem;
  appearance: textfield;
  -moz-appearance: textfield;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.dashboardInput-number-field::-webkit-outer-spin-button, .dashboardInput-number-field::-webkit-inner-spin-button {
  -webkit-appearance: none;
  appearance: none;
  margin: 0;
}

.dashboardInput-number-field::placeholder {
  color: var(--white-dim);
  font-family: var(--font-family);
}

.dashboardInput-number-field:focus {
  outline: none;
  border-color: var(--pink);
  box-shadow: 0 0 0 3px var(--pink-faint);
}

.dashboardInput-range-container {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.dashboardInput-range-container .dashboardInput-number-field {
  flex: 1;
  max-width: 120px;
}

.dashboardInput-range-separator {
  font-family: var(--font-family);
  font-size: 0.875rem;
  color: var(--white-dim);
  padding: 0 var(--space-xs);
}

.dashboardInput-stepper-container {
  display: inline-flex;
  align-items: stretch;
  width: fit-content;
  background: var(--black-muted);
  border: 2px solid var(--white-faint);
  border-radius: var(--radius-md);
  overflow: hidden;
  min-height: 42px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.dashboardInput-stepper-container:focus-within {
  border-color: var(--pink);
  box-shadow: 0 0 0 3px var(--pink-faint);
}

.dashboardInput-stepper-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  min-height: 42px;
  background: transparent;
  border: none;
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 1.25rem;
  font-weight: var(--font-weight-bold);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.dashboardInput-stepper-button:hover {
  background: var(--pink-dim);
  color: var(--pink);
}

.dashboardInput-stepper-decrease {
  border-right: 1px solid var(--white-faint);
}

.dashboardInput-stepper-increase {
  border-left: 1px solid var(--white-faint);
}

.dashboardInput-stepper-field {
  width: 60px;
  min-height: 42px;
  background: transparent;
  border: none;
  padding: 0.5rem;
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 1rem;
  text-align: center;
  appearance: textfield;
  -moz-appearance: textfield;
}

.dashboardInput-stepper-field::-webkit-outer-spin-button, .dashboardInput-stepper-field::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.dashboardInput-stepper-field:focus {
  outline: none;
  background: transparent;
}

[hidden] {
  display: none !important;
}

:focus-visible {
  outline: 2px solid var(--pink);
  outline-offset: 2px;
}

.dashboardInput-text-field:disabled, .dashboardInput-textarea-field:disabled, .dashboardInput-number-field:disabled, .dashboard-dropdown.disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

.dashboardInputs-switch input:disabled + .dashboardInputs-switch-slider {
  opacity: 0.5;
  cursor: not-allowed;
}

.dashboardInput-text-field.error, .dashboardInput-textarea-field.error, .dashboard-dropdown.error, .dashboardInput-tag-container.error {
  border-color: var(--danger) !important;
}

.dashboardInput-text-field.success, .dashboardInput-textarea-field.success {
  border-color: var(--success) !important;
}

.dashboard-dropdown.loading .dashboard-dropdown-trigger::after {
  content: "";
  width: 14px;
  height: 14px;
  border: 2px solid var(--white-faint);
  border-top-color: var(--pink);
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
  margin-left: auto;
}

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

