 ::-webkit-scrollbar {
  width: 0;
}

p.text-danger{
  color: red;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
  letter-spacing: 1px;
}
span.text-danger-without-text{
  color: red;
  margin-top: 1rem;
  letter-spacing: 1px;
}


input[type="date"]::-webkit-calendar-picker-indicator {
    background-color: white; 
    color: white;
    cursor: pointer;
}

input::placeholder {
  color: white;
}

body {
  background-color: black;
  color: white;
  user-select: none;
  font-family: Helvetica Neue Condensed;
}

.head-page .logo {
    padding-top: 30px;
    width: 300px;
}

form {
  width: 55%;
  margin: 2rem auto;
  padding: 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #1c1c1b;
}

form .reg-container {
  width: 95%;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

form .reg-container .head h1 {
  position: relative;
  text-align: center;
  font-size: 3rem;
  letter-spacing: 1px;
  margin-bottom: 90px;
  font-weight: 500;
}

form .reg-container .head h1::before {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -44.9px;
  width: 80px;
  height: 3px;
  background-color: white;
}

form .reg-container .fields {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  padding: 20px;
  gap: 10px;
}
form .reg-container .fields .input-group {
  width: calc((100% - 10px) / 2);
}

form .reg-container .fields .form-col {
  display: flex;
  flex-direction: column;
  width: 50%;
  gap: 10px;
}

form .reg-container .fields .input-group input ,
form .reg-container .fields .input-group .gender-field,
form .reg-container .fields .input-group select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  padding: 10px 20px;
  background-color: transparent;
  color: white;
  border: 2px solid white;
  max-width: 100%;
  min-width: 200px;
  box-sizing: border-box;
  width: 100%;
}

form .reg-container .fields .input-group .gender-field,
form .reg-container .fields .input-group select{
  padding: 9px 16px;
  background-color: #1c1c1b;
  color: white;
  border: 2px solid white;
  box-sizing: border-box;
  width: 100%
}

form .reg-container .fields .input-group .gender-field{
  padding: 9px 22px;
}
form .reg-container .checks {
  width: 100%;
  display: flex;
  justify-content: flex-start;
  padding: 20px;
  gap: 10px;
}

form .reg-container .checks .form-div {
  display: flex;
  flex-direction: column;
  width: 50%;
  gap: 5px;
}

form .reg-container .checks .form-div p{
    margin-bottom: 5px;
}

form .checks .form-div input {
  position: relative;
}

form .reg-container .sub-div {
  display: block;
  padding: 20px 40px;
  width: 100%;
}

.reg-container .sub-div .submit {
  background-color: transparent;
  color: white;
  border: 2px solid white;
  padding: 15px 20px;
  font-size: 16px;
  cursor: pointer;
  transition: 0.3s;
  font-weight: bold;
  width: 100%;
  letter-spacing: -1px;
}

.reg-container .sub-div .submit:hover {
  color: black;
  background-color: white;
}

form .checks .form-div .unit,
form .checks .form-div .survey {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

form .reg-container .checks .form-div .survey .other {
  color: white;
  border: 2px solid white;
  width: 200px;
  padding: 2px 10px;
}

form .checks .form-div .unit label,
form .checks .form-div .survey label {
  font-size: 16px;
}

form .checks .form-div input::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 12px;
  height: 12px;
  background-color: #1c1c1b;
  border: 2px solid white;
}

form .checks .form-div input::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 12px;
  height: 12px;
  background-color: #1c1c1b;
  border: 2px solid white;
  transform-origin: top left;
}

.form-div .input-other {
  padding: 10px 20px;
  background-color: #1c1c1b;
  color: white;
  border: 2px solid white;
  width: 100%;
  display: none;
}

form .checks .form-div input:checked::before {
  z-index: 100;
  background-color: #fff;
}

.reg-container .alert-success{
  width: 100%;
  height: 100%;
  background-color: #1c1c1b;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
    z-index: 1000;
}

.reg-container .alert-success h1 {
  position: relative;
  text-align: center;
  font-size: 3rem;
  letter-spacing: 1px;
  margin-bottom: 90px;
  font-weight: 500;
}

.reg-container .alert-success h1::before {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -44.9px;
  width: 80px;
  height: 3px;
  background-color: white;
}


@media (max-width: 658px) {
  form .reg-container .fields {
    display: flex;
    flex-wrap: wrap;
  }
  form .reg-container .fields  input {
    width: 100%;
    font-size: 16px !important;
  }
  form .reg-container .fields  select {
    width: 100%;
    font-size: 16px !important;
  }

  form .reg-container .fields .input-group {
    width: 100%;
  }
}





@media (max-width: 936px) {
    form{
        width: 60%;
    }
    form .reg-container .fields {
        display: flex;
        flex-wrap: wrap;
      }
      
      form .reg-container .fields .form-col {
        display: flex;
        flex-direction: column;
        width: 100%;
        gap: 10px;
      }

      form .reg-container .checks {
        flex-wrap: wrap;
      }
      form .reg-container .checks .form-div {
        display: flex;
        flex-direction: column;
        width: 100%;
        gap: 5px;
      }
}


@media (max-width: 768px) {
    form{
        width: 85%;
    }
}