/* _root.css */
:root {
  --font-mono: 400 normal 16px/1.6 Monaco, Consolas, Andale Mono, Ubuntu Mono, monospace;
  --font-google: 400 normal 16px/1.6 system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --primary-color: #d65bd1;
  --secondary-color: #845ec2;
  --error-color: #fc4444;
  --success-color: #008f7a;
  --warning-color: #ff9671;
  --info-color: #0081cf;
  --white: #fafafa;
  --black: #191919;
  --space: 1rem;
}

/* _global.css */
*,
*:before,
*:after {
  margin: 0;
  padding: 0;
}

body {
  font: 400 normal 16px/1.6 "Monaco", "Consolas", "Andale Mono", "Ubuntu Mono", monospace;
}

fieldset.forma {
  border: 1px solid rgba(25, 25, 25, 0.1);
}

fieldset.forma legend {
  font-size: 110%;
  margin-left: 1rem;
  padding: 0 1rem;
}

/* _forma-base.css */
.forma .forma-control,
.forma [type=submit] {
  font: 400 normal 16px/1.6 "Monaco", "Consolas", "Andale Mono", "Ubuntu Mono", monospace;
  padding: 1rem;
}
.forma label {
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1rem;
  position: relative;
}
.forma .forma-label {
  flex: 0 0 30%;
  order: 1;
}
.forma .forma-fieldset {
  display: none;
  flex: 1 1 auto;
  order: 2;
  position: relative;
}
.forma .forma-open .forma-fieldset {
  align-items: center;
  display: flex;
}
.forma [type=submit] {
  background-color: rgba(25, 25, 25, 0.1);
  border: 0;
  cursor: pointer;
  margin: 1rem;
  outline: 0;
}
.forma .forma-description,
.forma .forma-input,
.forma .forma-message {
  display: block;
}

.forma .forma-control:focus-visible,
.forma [type=submit]:focus-visible {
  outline: 3px solid #0081cf;
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .forma * {
    animation: none !important;
    transition: none !important;
  }
}
