* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Roboto", sans-serif;
}

body {
  /* background: #c9d6ff;
  background: -webkit-linear-gradient(to right, #e2e2e2, #c9d6ff);
  background: linear-gradient(to right, #e2e2e2, #c9d6ff); */
  height: 100vh;
  width: 100vw;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

body {
  content: "";
  background-image: url("../images/bg.webp");
  background-size: cover;
  animation: kenny 20s alternate-reverse infinite;
  /* background-position: center; */
  position: absolute;
  top: 0px;
  right: 0px;
  bottom: 0px;
  left: 0px;
  overflow: hidden;
}
@keyframes kenny {
  100% {
    scale: 1;
  }
}

.main-wrapper,
.main {
  position: relative;
  padding: 2rem;
  background: #fff;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
  justify-content: center;
}

.main{
  display: flex;
  border-radius: 0.8rem;
  box-shadow: 0 0 010px 5px rgba(0, 0, 0, 0.05);  
  flex-direction: row;
}

.greeting-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-bottom: 1.5rem;
  gap: 0.5rem;
}

.logo {
  max-width: 3rem;
  max-height: 3rem;
  margin-bottom: 5px;
}

.left {
  /* position: fixed;
  top: 1rem;
  left: 1rem; */
  padding-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  align-content: center;
  justify-content: center;
  align-items: center;
}

.input-wrapper,
.input-wrapper-2,
.input-wrapper-3 {
  display: flex;
  justify-content: center;
  flex-direction: column;
  margin-bottom: 1rem;
}

.input-wrapper-3{
  width: 50rem;
}

input {
  padding: 0 0.5rem;
  border: 1px solid #ccc;
  height: 40px;
  border-radius: 4px;
  width: 300px;
}

#password {
  padding-right: 2.5rem;
  user-select: none;
}

label {
  margin-bottom: 5px;
}

.next-btn,
.next-btn-2,
#button-text,
.signup-btn{
  width: 100%;
  background: #e31e26;
  border-radius: 4px;
  color: white;
  border: none;
  height: 40px;
  font-size: 1rem;
  cursor: pointer;
  user-select: none;
  transition: 0.3s ease-in-out;
}

#submit{
  position: relative;
    padding: 0.75rem 1.25rem;
    margin-top: 1rem;
    background: #e31e26;
    border: none;
    border-radius: 5px;
    left: 44%;
}

.forgot-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

#password-recovery-btn {
  color: unset;
  text-decoration: none;
  transition: 0.2s ease-in-out;
}

#password-recovery-btn:hover {
  text-decoration: underline;
  color: #c51605;
}

.signup-link {
  color: #c51605;
  text-decoration: none;
}

.ps-input-wrapper {
  position: relative;
}

.hide-password-btn,
.show-password-btn {
  position: absolute;
  right: 8px;
  top: 9px;
  user-select: none;
  cursor: pointer;
}

#hide-twilio-token,
#show-twilio-token {
  position: absolute;
  right: 43px;
  top: 146px;
  user-select: none;
  cursor: pointer;
}

.err {
  margin-top: 5px;
  display: none;
  color: red;
  transition: 0.2s ease-in-out;
  font-size: 0.9rem;
}

.button-wrapper {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.back-btn {
  background: none;
  font-size: 14px;
  cursor: pointer;
  width: 100%;
  border: none;
  font-weight: 500;
}

.otp-form,
.password-form {
  display: none;
}

.otp-form p {
  margin-bottom: 1rem;
  width: 300px;
  text-align: center;
}

.image {
  width: 30rem
}

header{
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap;
  flex-direction: row;
}

#confirmation-container,#failed-container{
  padding: 4rem;
}

.cta{
  display: flex;
  align-items: center;
  justify-content: center;
  align-content: center;
  flex-wrap: wrap;
  flex-direction: row;
  position: fixed;
  bottom: 1rem;
  right: 1rem;
  padding: 0.4rem;
  gap: 0.5rem;
  cursor: pointer;
  color:red;
}

.spinner1 {
  border: 6px solid #f3f3f3;
  border-top: 6px solid #3498db;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
  margin: auto;
}

#loadingSpinner{
  position: fixed;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}