@import url('https://fonts.googleapis.com/css?family=Poppins');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  font-weight: 400;
  
}

p {
  direction: rtl;
}


body {
  background-image: linear-gradient(135deg, #f5f7fa 25%, #6a7ea0 100%);
}

a {
  color: #92badd;
  display: inline-block;
  text-decoration: none;
  font-weight: 400;
}

h2 {
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  display: inline-block;
  margin: 40px 8px 10px 8px;
  color: #cccccc;
}



/* STRUCTURE */

.wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: row;
  position: relative;
  z-index: 1;
  min-height: 100vh; 
  
}

@media screen and (max-width: 600px) and (orientation:landscape) {
  .wrapper {
    top: -200px; 
  }
}


#formContent {
  padding: 30px;
  width: 100%;
  max-width: 450px;
  position: relative;
  padding: 0px;
  text-align: center;
  direction: rtl;
}

#formFooter {
  background-color: #f6f6f6;
  border-top: 1px solid #dce8f1;
  padding: 25px;
  text-align: center;
  -webkit-border-radius: 0 0 10px 10px;
  border-radius: 0 0 10px 10px;
}

h2.inactive {
  color: #cccccc;
}

h2.active {
  color: #0d0d0d;
  border-bottom: 2px solid #5fbae9;
}

input[type=button],
input[type=submit],
input[type=reset] {
  background-color: #56baed;
  border: none;
  color: white;
  padding: 15px 80px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  text-transform: uppercase;
  font-size: 13px;
  -webkit-box-shadow: 0 10px 30px 0 rgba(95, 186, 233, 0.4);
  box-shadow: 0 10px 30px 0 rgba(95, 186, 233, 0.4);
  -webkit-border-radius: 5px 5px 5px 5px;
  border-radius: 5px 5px 5px 5px;
  margin: 5px 20px 40px 20px;
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;

}

input[type=button]:hover,
input[type=submit]:hover,
input[type=reset]:hover {
  background-color: #39ace7;
}

input[type=button]:active,
input[type=submit]:active,
input[type=reset]:active {
  -moz-transform: scale(0.95);
  -webkit-transform: scale(0.95);
  -o-transform: scale(0.95);
  -ms-transform: scale(0.95);
  transform: scale(0.95);
}

input[type=text]:focus {
  background-color: #fff;
  border-bottom: 2px solid #5fbae9;
}

input[type=text]:placeholder {
  color: #ff0000;
}

.fadeInDown {
  -webkit-animation-name: fadeInDown;
  animation-name: fadeInDown;
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}

@-webkit-keyframes fadeInDown {
  0% {
    opacity: 0;
    -webkit-transform: translate3d(0, -100%, 0);
    transform: translate3d(0, -100%, 0);
  }

  100% {
    opacity: 1;
    -webkit-transform: none;
    transform: none;
  }
}

@keyframes fadeInDown {
  0% {
    opacity: 0;
    -webkit-transform: translate3d(0, -100%, 0);
    transform: translate3d(0, -100%, 0);
  }

  100% {
    opacity: 1;
    -webkit-transform: none;
    transform: none;
  }
}

/* Simple CSS3 Fade-in Animation */
@-webkit-keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@-moz-keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.fadeIn {
  opacity: 0;
  -webkit-animation: fadeIn ease-in 1;
  -moz-animation: fadeIn ease-in 1;
  animation: fadeIn ease-in 1;

  -webkit-animation-fill-mode: forwards;
  -moz-animation-fill-mode: forwards;
  animation-fill-mode: forwards;

  -webkit-animation-duration: 1s;
  -moz-animation-duration: 1s;
  animation-duration: 1s;
}

.fadeIn.first {
  -webkit-animation-delay: 0.4s;
  -moz-animation-delay: 0.4s;
  animation-delay: 0.4s;
}

.fadeIn.second {
  -webkit-animation-delay: 0.6s;
  -moz-animation-delay: 0.6s;
  animation-delay: 0.6s;
}

.fadeIn.third {
  -webkit-animation-delay: 0.8s;
  -moz-animation-delay: 0.8s;
  animation-delay: 0.8s;
}

.fadeIn.fourth {
  -webkit-animation-delay: 1s;
  -moz-animation-delay: 1s;
  animation-delay: 1s;
}

.underlineHover:after {
  display: block;
  left: 0;
  bottom: -10px;
  width: 0;
  height: 2px;
  background-color: #56baed;
  content: "";
  transition: width 0.2s;
}

.underlineHover:hover {
  color: #0d0d0d;
}

.underlineHover:hover:after {
  width: 100%;
}

*:focus {
  outline: none;
}

#icon {
  width: 60%;
}

* {
  box-sizing: border-box;
}


@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap');

.container {
  height: 80vh;
  display: flex;
  align-items: center;
  background: transparent;
  padding: 30px;
  width: 100%;
  max-width: 450px;
  position: relative;
  text-align: center;
  direction: rtl;

  
}

.form {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  max-width: 430px;
  width: 100%;
  padding: 30px;
  border-radius: 6px;
  background: #FFF;
  -webkit-box-shadow: 0 30px 60px 0 rgba(0, 0, 0, 0.3);
  box-shadow: 0 30px 60px 0 rgba(0, 0, 0, 0.3);
}

.form.signup {
  opacity: 0;
  pointer-events: none;
}

.forms.show-signup .form.signup {
  opacity: 1;
  pointer-events: auto;
}

.forms.show-signup .form.login {
  opacity: 0;
  pointer-events: none;
}

header {
  font-size: 28px;
  font-weight: 600;
  color: #232836;
  text-align: center;
}

.form .field {
  position: relative;
  height: 50px;
  width: 100%;
  margin-top: 32px;
  border-radius: 6px;
}

.field input,
.field button {
  height: 100%;
  width: 100%;
  border: none;
  font-size: 16px;
  font-weight: 400;
  border-radius: 6px;
}

.field input {
  outline: none;
  padding: 0 15px;
  border: 1px solid#CACACA;
}

.field input.input-error {
  border-color: red;
}

.field input:focus {
  border-bottom-width: 3px;
  border-color: #0080ff;
}

.eye-icon {
  position: absolute;
  top: 50%;
  left: 10px;
  transform: translateY(-50%);
  font-size: 18px;
  color: #8b8b8b;
  cursor: pointer;
  padding: 5px;
}

.field button {
  color: #fff;
  background-color: #0171d3;
  transition: all 0.3s ease;
  cursor: pointer;
}

.field button:hover {
  background-color: #005bb7;
  /* A darker blue on hover */
  ;
}

.form-link {
  text-align: center;
  margin-top: 10px;
}

.form-link span,
.form-link a {
  font-size: 14px;
  font-weight: 400;
  color: #232836;
}

.form a {
  color: #0171d3;
  text-decoration: none;
}

.form-content a:hover {
  text-decoration: underline;
}

.line {
  position: relative;
  height: 1px;
  width: 100%;
  margin: 36px 0;
  background-color: #d4d4d4;
}

.line::before {
  content: 'או';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #FFF;
  color: #8b8b8b;
  padding: 0 15px;
}

.media-options a {
  display: flex;
  align-items: center;
  justify-content: center;
}

a.facebook {
  color: #fff;
  background-color: #4267b2;
}

a.facebook .facebook-icon {
  height: 28px;
  width: 28px;
  color: #4267b2;
  font-size: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #fff;
}

.facebook-icon,
img.google-img {
  position: absolute;
  top: 50%;
  left: 15px;
  transform: translateY(-50%);
}

img.google-img {
  height: 20px;
  width: 20px;
  object-fit: cover;
}

a.google {
  border: 1px solid #CACACA;
}

a.google span {
  font-weight: 500;
  opacity: 0.6;
  color: #232836;
}

.name-inputs {
  display: flex;
  justify-content: center;
  align-items: center;
}

.name-inputs .field {
  flex: 0 0 49%;
  margin-right: 2%;
}


.name-inputs .field.input-field input {
  width: 100%;
}

.name-inputs-place {
  display: flex;
  justify-content: center;
  align-items: center;
}

.name-inputs-place .field {
  flex: 0 0 32%;
  margin-right: 2%;
}


.name-inputs-place .field.input-field input {
  width: 100%;
}


@media screen and (max-width: 400px) {
  .form {
    padding: 20px 10px;
  }

}

.field select {
  width: calc(100% - 10px);
  padding: 10px;
  border: 1px solid #CACACA;
  border-radius: 6px;
  outline: none;
  background-color: #ffffff;
  color: #464646;
  appearance: none;
}

.field select:focus {
  border-color: #0080ff;
  border-bottom: 2px solid #5fbae9;

}

.field select option {
  font-size: 16px;
  color: #464646;
}

/* Radio buttons */
.icon {
  width: 200px;
  height: 200px;
  vertical-align: middle;
}

.wrapper_rb {
  display: flex;
  justify-content: space-around;
  height: 200px;
  max-width: 600px;
  align-items: center;
  border-radius: 5px;
  padding: 15px 10px;
}

.wrapper_rb .option {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 10px;
  border-radius: 5px;
  cursor: pointer;
  border: 2px solid lightgrey;
  transition: all 0.3s ease;
}

.wrapper_rb .button-content {
  text-align: center;
}

.wrapper_rb .button-content span {
  font-size: 20px;
  color: #808080;
}

.wrapper_rb .button-content img {
  width: 100%;
  height: 100%;
  vertical-align: middle;
}

#option-1:checked~.option-1,
#option-2:checked~.option-2 {
  border-color: #0069d9;
  background: #0069d9;
  box-shadow: 0px 3px 10px rgba(0, 0, 0, 0.3);

}

#option-1:checked~.option-1 .button-content span,
#option-2:checked~.option-2 .button-content span {
  color: #fff;
}

input[type="radio"] {
  display: none;
}

.section {
  display: flex;
  justify-content: space-between;
  margin: 50px auto;
  max-width: 1200px;
}

.box {
  width: calc(33.33% - 20px);
  /* Adjust width based on desired gap */
  padding: 20px;
  background-color: #fff;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.title {
  font-size: 24px;
  margin-bottom: 10px;
}

.explanation {
  font-size: 16px;
  color: #666;
}

#step-progress {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.step {
  flex: 1;
  text-align: center;
}

.step-icon {
  width: 30px;
  height: 30px;
  background-color: #ccc;
  border-radius: 50%;
  line-height: 30px;
  font-size: 18px;
  color: #fff;
}

.step.active .step-icon {
  background-color: #007bff;
  /* Active step color */
}

.step-text {
  margin-top: 5px;
  font-size: 14px;
}

/*Buttons Styles*/
#form-action-btns {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  column-gap: 10px;
}

#previous,
#submit,
#data-submitted {
  display: none;
}

button.form-action {
  padding: 0.4em 2.5em;
  background: #20bbff;
  color: #fff;
  font-weight: 700;
  letter-spacing: 1.2px;
  border: unset;
  border-radius: 0.3em;
  font-size: 1rem;
  cursor: pointer;
}

button.form-action:hover,
button.form-action:active {
  background: #005bb7;
  box-shadow: 1px 2px 5px #0c213945;
}

div#data-submitted {
  padding: 1.75em 0.5em;
  font-size: 1.3rem;
  line-height: 1.4rem;
  text-align: center;
  letter-spacing: 1.5px;
  color: #3b3b3b;
}

/* Next Prev Buttons */
.button {
  display: inline-block;
  padding: 15px 20px; 
  min-width: 150px; 
  font-size: 16px;
  text-align: center;
  cursor: pointer;
  border: none;
  outline: none;
  border-radius: 5px;
  transition: 0.3s;
}

.next-button {
  background-color: #0073e7;
  /* A nice blue color */
  color: white;
}

.next-button:hover {
  background-color: #005bb7;
}

.prev-button {
  background-color: #ffffff;
  /* A purple color */
  color: #0073e7;
  box-shadow: inset 0 0 0 2px #0073e7;
}


.prev-button:hover {
  background-color: #f6f6f6;
}

#form-action-btns {
  width: 100%;
  display: flex;
  justify-content: space-evenly;
  column-gap: 10px;
  margin-top: 50px;
}

/* Logo container */
#logoContainerMinimized {
display: none;
}

.minimizedTitle {
display: none;
}
@media screen and (max-width: 828px) {

  .container {
    height: 80vh;
    display: flex;
    align-items: center;
    background: transparent;
    padding: 30px;
    width: 100%;
    max-width: 450px;
    position: relative;
    text-align: center;
    direction: rtl;
  
    
  }  

  .form {
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    max-width: 430px;
    width: 100%;
    padding: 30px;
    background: #FFF;
    -webkit-box-shadow: 0 30px 60px 0 rgba(0, 0, 0, 0.3);
    box-shadow: 0 30px 60px 0 rgba(0, 0, 0, 0.3);
  }
  #logoContainer {
    display: block;
    text-align: center;
    margin-top: 30px;
  }

  #logoContainer img {
    display: none; 

  }

  #logoContainersmall img {
    display: none; 
  }
  
  h2 {
    display: none;
  }

  #logoContainerMinimized {
    display: flex;
  }

  #logoContainerMinimized img {
    max-width: 200px;
    height: auto;
    margin: 0 auto; /* This will center the element horizontally */
    display: block; /* Ensure it's a block-level element */
    margin-top: 50px;    }

    .minimizedTitle {
      display: flex;
      font-size: 22px;
      justify-content: center;
      margin-top: 10px;
      font-weight: bold;
      color: #3c3c3c;
    }
  
      .wrapper {
    min-height: 0vh; 
    max-height: 75vh; 
  }
  
  body {
  background-image: linear-gradient(135deg, #f5f7fa 100%, #6a7ea0 100%);
}
}

.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 3;
}

#formContent {
  margin-right: 20px;
}

#logoContainer {
  display: flex;
  flex-direction: column;
  align-items: center;
}

#logoContainer img {
  max-width: 500px;
  height: auto;
  margin-bottom: 30px;
}

#menuLogo {
  visibility: hidden;
  max-width: 150px;
  height: auto;
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}


.invalid-tooltip {
    right: 0;  
}

