GOOV, basic forms styles

by PhilQ

HTML

<input type="text" value="Next" />
<input type="text" value="Next" />
<input type="text" value="Next" />
<input type="text" value="Next" />
<input type="text" value="Next" />
<input type="text" value="Next" disabled />

<input class="secondary" type="button" value="Next" />
<input type="button" value="Next" />
<input type="button" value="Next" disabled />

SCSS

@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap');

* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { width: 100%; height: 100%; }

:root {
  --blue: rgba(19, 52, 81, 1);
  --yellow: rgba(246, 194, 34, 1);
  --blue-2: rgba(45, 92, 134, 1);
  --yellow-2: rgba(253, 243, 211, 1);
  --grey: rgba(240, 243, 250, 1);
  --dark-grey: rgba(204, 204, 204, 1);
  --black: rgba(34, 34, 34, 1);

  --color: var(--black);
  --fontFamily: "Lato", sans-serif;
  --fontWeight: normal;
  --fontSize: 16px;
  --lineHeight: 1 !important;
  --height: 48px; // calc(var(--fontSize) * 2.75);
  --paddingH: 16px; // calc(var(--fontSize) * 0.75);
  --paddingV: 12px; // calc(var(--fontSize) * 0.25);
  --backgroundColor: #fff;
  --borderWidth: 2px;
  --borderColor: var(--blue);
  --borderRadius: 8px;
}

body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: var(--fontSize);
}

input {
  appearance: none;
  color: var(--color);
  background-color: var(--backgroundColor);
  font-family: var(--fontFamily);
  font-weight: var(--fontWeight);
  font-size: var(--fontSize);
  line-height: var(--lineHeight);
  padding: var(--paddingV) var(--paddingH);
  height: var(--height);
  border: var(--borderWidth) solid var(--borderColor);
  border-radius: var(--borderRadius);
  outline: none !important;
}

input[type="text"] {
  --borderColor: var(--blue-2);

  &:disabled {
    --color: var(--dark-grey);
    --borderColor: var(--grey);
  }

  &:not(:disabled) {
    &:hover {
      // --borderColor: var(--blue);
    }

    &:focus, 
    &:focus-visible {
      --borderColor: var(--yellow);
      --borderWidth: 4px;
      --paddingH: 14px;
      --paddingV: 10px;
    }
  }
}

input[type="button"] {
  --fontWeight: bold;
  --color: white;
  --borderColor: var(--blue);
 ...