

.loader {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100px;
  display: none;
}

.container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}


input:not(.search-box, .checkbox, .s-checkbox, input[type="file"]),
textarea {
  display: block;
  width: 100%;
  height: 40px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid #C3C3C3;
  outline: none;
  margin: 20px 0;
  color: #000;
  font-family:var(--ui-font);
  font-size: var(--font-size-med);
  background-color: #F2F2F2;
}

/* Capitalizing an email visually looks wrong, but it should still match the
   other inputs' box styling above -- so override just the text-transform. */
input[type="email"] {
  text-transform: none;
}

::placeholder {
  color: #383838;
}

.rights {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.875rem;
  color: #374151;
}

.submit-btn {
  width: 300px;
  height: 40px;
  text-align: center;
  line-height: 40px;
  background: red;
  color: #fff;
  border-radius: 4px;
  text-transform: capitalize;
  border: none;
  cursor: pointer;
  display: block;
}

/* checkbox styles */

.checkbox {
  -webkit-appearance: none;
  position: relative;
  width: 15px;
  height: 15px;
  border-radius: 2px;
  background: #fff;
  border: 1px solid #383838;
  cursor: pointer;
}

.checkbox:checked {
  background: red;
}

.checkbox::after {
  content: "";
  position: absolute;
  top: 60%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  height: 100%;
  pointer-events: none;
  background-image: url(../images/check.png);
  background-size: contain;
  background-repeat: no-repeat;
  display: none;
}

.checkbox:checked::after {
  display: block;
}

label {
  text-transform: capitalize;
  display: inline-block;
  margin-bottom: 10px;
  font-size: 14px;
  color: #383838;
}

label a {
  color: red;
}

.link {
  color: var(--color-text-muted);
  margin-top: 1rem;
  text-decoration: none;
  text-align: center;
  font-size: var(--fs-caption);
  display: block;
}

.login-link {
  text-decoration: underline;
  color: red;
}

.logo {
  width: 75px;
  height: auto;
  object-fit: cover;
}

/* alert */
.alert-box {
  width: 300px;
  min-height: 150px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 5px 100px rgba(0, 0, 0, 0.05);
  position: fixed;
  top: 60%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: 1s;
  z-index: 2;
}

.alert-box.show {
  opacity: 1;
  pointer-events: all;
  top: 50%;
}

.alert-img {
  display: block;
  margin: 10px auto 20px;
  height: 60px;
}

.alert-msg {
  color: #e24c4b;
  font-size: 20px;
  text-transform: capitalize;
  text-align: center;
  line-height: 30px;
  font-weight: 500;
}

@media (max-width: 820px) {
 
  .loader {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    display: none;
  }

  

  

  ::placeholder {
    color: #383838;
  }

  .submit-btn {
    width: 300px;
    height: 40px;
    text-align: center;
    line-height: 40px;
    background: red;
    color: #fff;
    border-radius: 2px;
    text-transform: capitalize;
    border: none;
    cursor: pointer;
    display: block;
  }

  /* checkbox styles */

  .checkbox {
    -webkit-appearance: none;
    position: relative;
    width: 15px;
    height: 15px;
    border-radius: 2px;
    background: #fff;
    border: 1px solid #3838381f;
    cursor: pointer;
  }

  .checkbox:checked {
    background: red;
  }

  .checkbox::after {
    content: "";
    position: absolute;
    top: 60%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 100%;
    pointer-events: none;
    background-image: url(../images/check.png);
    background-size: contain;
    background-repeat: no-repeat;
    display: none;
  }

  .checkbox:checked::after {
    display: block;
  }

  label {
    text-transform: capitalize;
    display: inline-block;
    margin-bottom: 10px;
    font-size: 14px;
    color: #383838;
  }

  label a {
    color: red;
  }

  .link {
    color: #383838;
    text-transform: capitalize;
    text-align: center;
    display: block;
    font-size: var(--fs-caption);
  }

  /* alert */
  .alert-box {
    width: 300px;
    min-height: 150px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 100px rgba(0, 0, 0, 0.05);
    position: fixed;
    top: 60%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: 1s;
    z-index: 2;
  }

  .alert-box.show {
    opacity: 1;
    pointer-events: all;
    top: 50%;
  }

  .alert-img {
    display: block;
    margin: 10px auto 20px;
    height: 60px;
  }

  .alert-msg {
    color: #e24c4b;
    font-size: 20px;
    text-transform: capitalize;
    text-align: center;
    line-height: 30px;
    font-weight: 500;
  }
}
