@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 700;
  src: url(https://rsms.me/inter/font-files/Inter-Regular.woff2?v=3.12)
      format("woff2"),
    url(https://rsms.me/inter/font-files/Inter-Regular.woff?v=3.12)
      format("woff");
}

* {
  box-sizing: border-box;
  font-family: "Inter", sans-serif;
  font-size: 16px;
}

html,
body {
  background: #0f0c29; /* fallback for old browsers */
  background: -webkit-linear-gradient(
    to right,
    #24243e,
    #302b63,
    #0f0c29
  ); /* Chrome 10-25, Safari 5.1-6 */
  background: linear-gradient(
    to right,
    #24243e,
    #302b63,
    #0f0c29
  ); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
  color: white;
}

input:focus {
  border-color: inherit !important;
  -webkit-box-shadow: none !important;
  box-shadow: none !important;
}

.bg-black {
  background-color: #222222;
}

.text-white {
  color: #ffffff;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  padding: 0;
}

#container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

@media screen and (max-width: 768px) {
  #container {
    grid-template-columns: 1fr;
  }
}

#gender-chooser {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  text-align: center;
}

#gender-chooser > input {
  width: 0;
  height: 0;
  position: absolute;
  left: -9999px;
}

#gender-chooser > input + label {
  margin-bottom: 0;
  padding-top: 0.4rem;
  padding-bottom: 0.4rem;
  border: solid 1px #ddd;
  transition: all 0.15s ease-out;
}

#gender-chooser > input:checked + label {
  background-color: #4b9dea;
  border-color: #4b9dea;
}

#gender-chooser > input + label:first-of-type {
  border-radius: 6px 0 0 6px;
  border-right: none;
}

#gender-chooser > input + label:last-of-type {
  border-radius: 0 6px 6px 0;
  border-left: none;
}

@media screen and (max-width: 768px) {
  #gender-chooser > input + label {
    padding-top: 0.4rem;
    padding-bottom: 0.4rem;
    flex: 0 0 33.333%;
    display: flex;
    justify-content: center;
    align-items: center;
  }
}

.gender-icon {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
}

#age-chooser {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  justify-content: center;
  align-items: center;
  text-align: center;
}

input:disabled,
input:read-only,
input:disabled:focus,
input:read-only:focus {
  border-color: #a5a5a5 !important;
  color: #a5a5a5 !important;
}

#enter-password {
  text-decoration: underline;
  color: #bbbbbb;
}

#sector option {
  color: black;
}

#sector option:disabled {
  color: gray;
}

#switch-password-mode,
#switch-password-mode:hover {
  color: rgb(124, 182, 241);
  text-decoration: none;
}

input.invalid {
  border-color: #fb3c3c !important;
}

.error-msg {
  color: #fb3c3c !important;
}

.icon {
  color: white;
}
