select,
input[type="text"],
input[type="number"] {
  background-color: var(--color-browngray-300);
}

.field--view-only {
  opacity: 0.3;
}

.settings-section {
  h2 {
    border-bottom: 1px solid #000;
    margin-bottom: var(--space-xs);
  }
  .settings-subsection:not(:last-child) {
    border-bottom: 1px solid var(--color-browngray-050);
  }

  .settings-subsection {
    padding: var(--space-xs) 0;

    h3 {
      margin-bottom: var(--space-xs);
    }

    .field {
      display: flex;

      label,
      select {
        width: 50%;
      }

      input {
        padding: 0.1rem 0.1rem 0.1rem 0.3rem;
      }

      .input-with-unit {
        display: flex;
        gap: 0.3rem;

        .unit-toggle {
          display: flex;
          gap: 0.3rem;
        }
      }

      .input-with-color {
        width: 50%;
        .clr-field {
          display: flex;
          button {
            position: absolute;
            transform: none;
            height: 1.1rem;
            top: auto;
            right: auto;
            cursor: pointer;
          }

          input {
            padding-left: 2.5rem;
            width: 100%;
          }
        }
      }
    }

    &.margins {
      display: flex;
      flex-wrap: wrap;
      row-gap: var(--space-xs);

      h3 {
        width: 100%;
      }
      .field {
        width: 50%;

        label {
          width: 30%;
        }

        .input-with-unit {
          input {
            width: 50%;
          }
        }
      }
    }
  }
}
