.turbo-progress-bar {
  background-color: var(--green);
}

:root {
  --green: #01da5a;
  --red: #ed1a25;
  --black: #000e06;
  --white: #fff;
  --dark-gray: #454545;
  --gray: #989e9a;
  --light-gray: #f5f5f5;

  scroll-behavior: smooth;
  background-color: var(--white);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  -webkit-box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: General Sans, sans-serif;
}

@font-face {
  font-family: "General Sans";
  src: url("/assets/GeneralSans-Variable-9cab735a.ttf");
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
a,
input,
textarea,
select,
button,
label,
span {
  color: var(--black);
}

h1 {
  font-size: 1.5rem;
  font-weight: 500;
}

h2 {
  font-size: 1.25rem;
  font-weight: 500;
}

.page-title {
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 0;
}

a {
  text-decoration: none;
}

/* FORM STYLES */

.field_with_errors {
  display: inline;
}

.default-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 100%;
  overflow: scroll;
}

.default-form-group {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.required::after {
  content: "*";
  color: var(--red);
}

input {
  font-size: 1rem;
  height: 2.625rem;
  padding: 0.625rem 0.5rem;
  border-radius: 0.313rem;
  border: 0.063rem solid var(--gray);
  background: var(--white);
  background-color: var(--white);
}

/* Hide increment buttons in number inputs starts */

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
input[type="number"] {
  -moz-appearance: textfield;
}

textarea {
  font-size: 1rem;
  height: 84px;
  border-radius: 5px;
  padding: 10px 8px;
  background: var(--white);
}

select {
  width: 100%;
  height: 2.625rem;
  border-radius: 0.313rem;
  border: 0.063rem solid var(--gray);
  font-size: 1rem;
  padding: 0.625rem 0.5rem;
  background: var(--white);
  background-color: var(--white);
}

/* FORM STYLES END */

.disabled {
  pointer-events: none;
  opacity: 0.5;
}

main {
  width: 100%;
  margin-bottom: 62px;
}

.user-forms {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 1.5rem;
  gap: 1rem;
  padding: 0 20px;
}

.user-forms h1 {
  font-size: 1.5rem;
  font-weight: 500;
  text-align: center;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

label {
  font-size: 0.875rem;
}

::placeholder {
  color: var(--gray);
  font-size: 1rem;
}

.session-links-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.actions {
  margin-top: 0.5rem;
}

.actions input {
  width: 15rem;
  height: 2.625rem;
  border-radius: 1.25rem;
  border: 0.063rem solid var(--gray);
  color: var(--black);
  font-weight: 500;
  background-color: var(--white);
  font-size: 1rem;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border: 1px solid var(--green);
  transition: 0.3s;

}

.session-links {
  color: var(--gray);
  text-decoration-line: underline;
}

#re-send {
  background-color: var(--black);
  border: none;
  color: var(--white);
}

.absolute {
  position: absolute;
}

.relative {
  position: relative;
}

.visible-on-desktop {
  display: none;
}

.text-center {
  text-align: center;
}

.dotted {
  text-decoration: underline dotted;
}

.underline {
  text-decoration: underline;
}

.active_link {
  text-decoration: underline solid var(--green);
}

.red-text {
  color: var(--red);
}

.g-recaptcha {
  transform: scale(0.77);
  transform-origin: 0 0;
}

.recaptcha-container {
  width: 240px;
}

.gender {
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  height: 0;
  width: 0;
  z-index: -1;
}

.default-image {
  filter: blur(5px);
  opacity: 0.5;
}

.modal {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  z-index: 3;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 20px;
}

.modal-header {
  margin-bottom: 16px;
}

.modal-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
}

@media (min-width: 1024px) {
  .visible-on-desktop {
    display: block;
  }

  body {
    min-height: 100vh;
    background-color: var(--white);
  }

  main {
    padding: 24px 48px;
    margin-bottom: 0;
  }

  .user-forms {
    margin-top: 80px;
  }

  .edit-user {
    margin-top: 24px;
  }
}
