.radix-themes {
  display: flex;
  flex-direction: column;
}

.rt-TooltipContent {
  background-color: var(--accent-9);
}

.rt-TooltipArrow {
  color: var(--accent-9);
  fill: var(--accent-9);
}

.rt-TooltipText {
  color: var(--accent-1);
}

html,
body,
#app,
.radix-themes {
  height: 100%;
  margin: 0;
  box-sizing: border-box;
}

.rt-Button:disabled {
  background-color: var(--gray-4) !important;
  color: var(--gray-8) !important;
  opacity: 1; /* Radix sometimes lowers opacity by default */
  cursor: not-allowed;
}

.card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px); /* Safari support */
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  border-radius: 1rem;
}

.section {
  background-color: var(--accent-a5);
  padding: 1rem;
  color: var(--accent-1);
  margin: 1rem 1rem 0 1rem;
  min-height: 0;
  flex: 1;
}

.group {
  padding: 1rem;
  width: 10rem;
  margin: 0.5rem;
  box-shadow: unset;
  transition-duration: 0.3s;
}

.group:hover {
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.8);
}

.clickable-icon {
  display: inline-flex;
  align-items: center;
  height: fit-content;
  width: fit-content;
  padding: 0;
}

.clickable-icon:hover {
  transform: scale(1.2);
  transition-duration: 0.3s;
}

.clickable-icon:active {
  transform: scale(0.9);
  transition-duration: unset;
}

.rt-Heading,
.rt-Strong {
  color: var(--accent-1);
}

.header {
  padding: 1rem;
}

.message {
  color: var(--accent-1);
}

.error-message {
  color: var(--red-11);
}

.FormRoot {
  display: flex;
  flex-direction: column;
  width: 300px;
  gap: 15px;
}

.FormField {
  display: grid;
  gap: 5px;
}

.FormLabelRow {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.FormLabel {
  font-size: 14px;
  font-weight: 500;
  color: #333;
}

.dropdown-button {
  background-color: var(--color-surface);
  color: var(--gray-12);
}

.dropdown-content {
  background-color: var(--color-surface) !important;
  color: var(--gray-12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px); /* Safari support */
  height: fit-content;
  width: fit-content;
  padding: 0rem !important;
}

.dropdown-item:where([data-highlighted]) {
  background-color: rgba(0, 0, 0, 0);
  color: inherit;
  scale: 1.2;
  transition-duration: 0.2s;
}

.new-item-button {
  width: 100%;
  border-radius: 1rem;
  height: 0.3rem;
  font-size: 0.7rem;
  z-index: 10;
}

.new-item-flex {
  border-radius: 1rem;
  transition-duration: 0.2s;
}

.hide-on-hover {
  transition-duration: 0.2s;
}

.hide-on-hover:hover {
  border-color: rgba(0, 0, 0, 0);
}

.reveal-on-hover {
  opacity: 0;
  transition-duration: 0.2s;
}

.reveal-on-hover:hover {
  opacity: 1;
}

/* Styling the Error Message */
.FormMessage {
  font-size: 12px;
  color: #e5484d; /* Radix error red */
  opacity: 0.8;
}

/* Highlighting the Input when invalid */
/* Radix adds [data-invalid] to the Field when validation fails */
.FormField[data-invalid] .FormInput {
  outline: 2px solid #e5484d;
  border-color: transparent;
}

.base {
  background-color: #0e0222;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='2000' height='2000' viewBox='0 0 800 800'%3E%3Cg fill='none' %3E%3Cg stroke='%23410F65' stroke-width='17'%3E%3Cline x1='-8' y1='-8' x2='808' y2='808'/%3E%3Cline x1='-8' y1='792' x2='808' y2='1608'/%3E%3Cline x1='-8' y1='-808' x2='808' y2='8'/%3E%3C/g%3E%3Cg stroke='%233e0c62' stroke-width='16'%3E%3Cline x1='-8' y1='767' x2='808' y2='1583'/%3E%3Cline x1='-8' y1='17' x2='808' y2='833'/%3E%3Cline x1='-8' y1='-33' x2='808' y2='783'/%3E%3Cline x1='-8' y1='-783' x2='808' y2='33'/%3E%3C/g%3E%3Cg stroke='%233b0960' stroke-width='15'%3E%3Cline x1='-8' y1='742' x2='808' y2='1558'/%3E%3Cline x1='-8' y1='42' x2='808' y2='858'/%3E%3Cline x1='-8' y1='-58' x2='808' y2='758'/%3E%3Cline x1='-8' y1='-758' x2='808' y2='58'/%3E%3C/g%3E%3Cg stroke='%2339055d' stroke-width='14'%3E%3Cline x1='-8' y1='67' x2='808' y2='883'/%3E%3Cline x1='-8' y1='717' x2='808' y2='1533'/%3E%3Cline x1='-8' y1='-733' x2='808' y2='83'/%3E%3Cline x1='-8' y1='-83' x2='808' y2='733'/%3E%3C/g%3E%3Cg stroke='%2336035a' stroke-width='13'%3E%3Cline x1='-8' y1='92' x2='808' y2='908'/%3E%3Cline x1='-8' y1='692' x2='808' y2='1508'/%3E%3Cline x1='-8' y1='-108' x2='808' y2='708'/%3E%3Cline x1='-8' y1='-708' x2='808' y2='108'/%3E%3C/g%3E%3Cg stroke='%23330057' stroke-width='12'%3E%3Cline x1='-8' y1='667' x2='808' y2='1483'/%3E%3Cline x1='-8' y1='117' x2='808' y2='933'/%3E%3Cline x1='-8' y1='-133' x2='808' y2='683'/%3E%3Cline x1='-8' y1='-683' x2='808' y2='133'/%3E%3C/g%3E%3Cg stroke='%23300055' stroke-width='11'%3E%3Cline x1='-8' y1='642' x2='808' y2='1458'/%3E%3Cline x1='-8' y1='142' x2='808' y2='958'/%3E%3Cline x1='-8' y1='-158' x2='808' y2='658'/%3E%3Cline x1='-8' y1='-658' x2='808' y2='158'/%3E%3C/g%3E%3Cg stroke='%232d0052' stroke-width='10'%3E%3Cline x1='-8' y1='167' x2='808' y2='983'/%3E%3Cline x1='-8' y1='617' x2='808' y2='1433'/%3E%3Cline x1='-8' y1='-633' x2='808' y2='183'/%3E%3Cline x1='-8' y1='-183' x2='808' y2='633'/%3E%3C/g%3E%3Cg stroke='%232b0050' stroke-width='9'%3E%3Cline x1='-8' y1='592' x2='808' y2='1408'/%3E%3Cline x1='-8' y1='192' x2='808' y2='1008'/%3E%3Cline x1='-8' y1='-608' x2='808' y2='208'/%3E%3Cline x1='-8' y1='-208' x2='808' y2='608'/%3E%3C/g%3E%3Cg stroke='%2328004d' stroke-width='8'%3E%3Cline x1='-8' y1='567' x2='808' y2='1383'/%3E%3Cline x1='-8' y1='217' x2='808' y2='1033'/%3E%3Cline x1='-8' y1='-233' x2='808' y2='583'/%3E%3Cline x1='-8' y1='-583' x2='808' y2='233'/%3E%3C/g%3E%3Cg stroke='%2325004a' stroke-width='7'%3E%3Cline x1='-8' y1='242' x2='808' y2='1058'/%3E%3Cline x1='-8' y1='542' x2='808' y2='1358'/%3E%3Cline x1='-8' y1='-558' x2='808' y2='258'/%3E%3Cline x1='-8' y1='-258' x2='808' y2='558'/%3E%3C/g%3E%3Cg stroke='%23230048' stroke-width='6'%3E%3Cline x1='-8' y1='267' x2='808' y2='1083'/%3E%3Cline x1='-8' y1='517' x2='808' y2='1333'/%3E%3Cline x1='-8' y1='-533' x2='808' y2='283'/%3E%3Cline x1='-8' y1='-283' x2='808' y2='533'/%3E%3C/g%3E%3Cg stroke='%23200045' stroke-width='5'%3E%3Cline x1='-8' y1='292' x2='808' y2='1108'/%3E%3Cline x1='-8' y1='492' x2='808' y2='1308'/%3E%3Cline x1='-8' y1='-308' x2='808' y2='508'/%3E%3Cline x1='-8' y1='-508' x2='808' y2='308'/%3E%3C/g%3E%3Cg stroke='%231e0043' stroke-width='4'%3E%3Cline x1='-8' y1='467' x2='808' y2='1283'/%3E%3Cline x1='-8' y1='317' x2='808' y2='1133'/%3E%3Cline x1='-8' y1='-333' x2='808' y2='483'/%3E%3Cline x1='-8' y1='-483' x2='808' y2='333'/%3E%3C/g%3E%3Cg stroke='%231d0040' stroke-width='3'%3E%3Cline x1='-8' y1='342' x2='808' y2='1158'/%3E%3Cline x1='-8' y1='442' x2='808' y2='1258'/%3E%3Cline x1='-8' y1='-458' x2='808' y2='358'/%3E%3Cline x1='-8' y1='-358' x2='808' y2='458'/%3E%3C/g%3E%3Cg stroke='%231b003e' stroke-width='2'%3E%3Cline x1='-8' y1='367' x2='808' y2='1183'/%3E%3Cline x1='-8' y1='417' x2='808' y2='1233'/%3E%3Cline x1='-8' y1='-433' x2='808' y2='383'/%3E%3Cline x1='-8' y1='-383' x2='808' y2='433'/%3E%3C/g%3E%3Cg stroke='%23000000' stroke-width='1'%3E%3Cline x1='-8' y1='392' x2='808' y2='1208'/%3E%3Cline x1='-8' y1='-408' x2='808' y2='408'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  background-attachment: fixed;
  min-height: 0;
  max-height: 100vh;
  height: 100vh;
  display: flex;
  flex-direction: column;
}

.props-holder {
  min-height: 0;
  overflow-y: auto;
  flex: 1;
}

.toggle-slider-track {
  height: 1.5rem;
  width: 3rem;
  padding: 0.2rem;
  border-radius: 1.5rem;
  border: 2px solid var(--accent-1);
  transition-duration: 0.2s;
}
