@import url("https://fonts.googleapis.com/css?family=Poppins:300,400,400,700,&display=swap");
@import url('https://fonts.googleapis.com/css2?family=Questrial&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Old+Standard+TT:ital,wght@0,400;0,700;1,400&display=swap');



@font-face {
  font-family: "Cocomat Pro";
  src: url("../fonts/CocomatPro-Light.woff2") format("woff2"),
    url("../fonts/CocomatPro-Light.woff") format("woff");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "DM Sans", sans-serif;
  ;
  src: url("../fonts/CocomatPro-Medium.woff2") format("woff2"),
    url("../fonts/CocomatPro-Medium.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Cocomat Pro";
  src: url("../fonts/CocomatPro-Black.woff2") format("woff2"),
    url("../fonts/CocomatPro-Black.woff") format("woff");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}



* {
  font-family: "Poppins", sans-serif;
  box-sizing: border-box;
  padding: 0;
  padding: 0;
}

body {
  margin: 0;
  padding: 0;
}

.bg-started {
  background-image: url(../img/widoing/bg-started2.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  margin: 0;




}

form {

  border: 4px solid #2b556e;
  border-radius: 29px;
  background-clip: padding-box, border-box;
  background-origin: padding-box, border-box;
  padding: 5px 5px 9px 20px;
  width: 750px;
  height: 650px;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #ffffff;
}

form.organization-selecting {
  width: 600px;
  height: 470px;
  transition: all 0.3s ease;
  border: 4px solid transparent;
  border-radius: 29px;
  border-color: #2b556e;
  background-color: #ffffff;
  background-origin: padding-box, border-box;
  padding: 5px 20px 9px 20px;
  position: relative;

}

.organization-selecting-end {
  border: 4px solid #2b5776;
  border-radius: 29px;
  background: #fff;
  padding: 5px 10px 23px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  min-width: 250px;
  position: relative;
  max-width: 600px;

}

.rowconfirm {
  font-size: 20px;
  color: #2b556e;
  font-family: "DM Sans", sans-serif;
  font-weight: 800;
  margin: 20px 0px;
  text-align: center;

}

.rowconfirm .info.col-12 {
  font-size: 13px;
  color: #000b3d;
  font-family: "Questrial", sans-serif;
  margin: 0px 0px 40px 0px;
  line-height: 1.5em;
  text-align: center;
  font-weight: 200;
}

.rowconfirm .input-submit {
  text-decoration: none;
  padding: 10px 30px;

}

form.organization-filled {
  width: 700px;
  height: auto;
  transition: all 0.3s ease;

  @media (max-width: 768px) {
    width: 90%;
    margin-top: 45px;

  }
}

form>label>input {
  width: 100%;
}

form>label {
  width: 100%;
}

.container {
  display: flex;
  flex-direction: row;
  width: 100%;
  justify-content: center;
  align-items: center;
}

.organization-form {
  width: 50%;
  padding: 5px 50px;
}

.org-selected {
  display: none;
}

/* 
.admin-form{
  width: 50%;
  padding: 1px 50px;
  margin-left: 15px;
  margin-top: 3px;
}
 */


#formPF {
  display: none;
  flex: 1;
  flex-direction: column;
  border-radius: 8px;
  padding: 0px 15px;

  @media (max-width: 768px) {
    padding: 0px 15px;

  }
}

#formPF .infoFornHeader {
  margin-bottom: 18px;
}

#formPJ {
  display: none;
  flex: 1;
  flex-direction: column;
  padding: 0px 30px;
  gap: 10px;
}

#submitPF {


  @media (max-width: 768px) {
    margin-left: 0rem;
  }
}


.row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.row-total {
  display: flex;
  width: 100%;
}

.row-total .input-total-container {
  width: 100%;
}

#rowPj {
  gap: 60px;
  width: 100%;
}

.organization-type {
  width: 40vw;
  height: 40vh;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.organization-type h1 {
  font-size: 23px;
  color: #011d33;
  font-family: "DM Sans", sans-serif;
  font-weight: 800;
  margin: 20px 0px;
}

.organization-type p {
  font-size: 18px;
  color: #3c5a7d;
}

.type-buttons {
  display: flex;
  justify-content: center;
  gap: 100px;
  margin-top: 80px;
}

.nameType {
  margin-top: 18px;
  font-size: 14px;
  color: #183353;
  font-family: "questrial", sans-serif;
  display: block;
}

.type-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 90px;
  height: 90px;
  border-radius: 50%;

  color: #183353;
  font-size: 14px;
  transition: all 0.3s ease;
  cursor: pointer;
  font-family: "questrial", sans-serif;
  border: none;
}

.type-btn i {
  font-size: 28px;
  margin-bottom: 5px;
  color: #fff;
}

.type-btn:hover {
  border-color: #3c5a7d;
  color: #3c5a7d;
}

.type-btn.active {
  border-color: #3c5a7d;
  background-color: #3c5a7d;
  color: white;
  box-shadow: 0 0 8px rgba(60, 90, 125, 0.6);
}


.divisor {
  width: 1px;
  height: 80px;
  margin-top: 8px;
  background-color: #acabab;
  transform: scaleX(0.9)
}

.input-container {
  display: flex;
  flex-direction: column;
}

.input-text {
  margin-bottom: 5px;
  padding: 4px 12px;
  border: 1px solid #000;
  border-radius: 30px;
  font-size: 16px;
  width: 100%;
  outline: none;
  margin-top: 5px;
}

.input-text::placeholder {
  color: #b4b4b4;
}

.input-submit {
  padding: 10px;
  border: none;
  border-radius: 5px;
  background-color: #2b5776;
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  transition: background-color, 2s;
  width: 45%;
  align-self: center;
  border-radius: 30px;
  font-weight: bold;
  margin-top: 60px;
  margin-bottom: 5px;
}

#pjStep1 .input-submit {
  margin-top: 20px;
  width: 25%;

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

}

.span-sucess {
  color: #008000;
  background-color: #e6ffe6;
  border: 1px solid #008000;
  padding: 10px;
  margin: 10px 0;
  border-radius: 5px;
  font-size: 14px;
  text-align: center;
}

.span-error {
  color: #ff0000;
  background-color: #ffe6e6;
  border: 1px solid #ff0000;
  padding: 10px;
  margin: 10px 0;
  border-radius: 5px;
  font-size: 14px;
}

hr {
  border: none;
  border-top: 1px solid #000000;
  margin: 20px 0;
}

.password-container {
  position: relative;
  width: 100%;
}

.toggle-password {
  position: absolute;
  right: 20px;
  top: 67%;
  transform: translateY(-50%);
  cursor: pointer;
  color: #555;

  @media (max-width: 768px) {
    top: 70%;
    right: 15px;
  }

}

#toggle-pj {
  top: 62%;
  ;
}

#password-feedback,
#password-feedback-pf {
  margin-top: 5px;
  margin-bottom: 10px;
  display: flex;
  font-size: 9px;
  width: 100%;
  line-height: 1.2em;
  min-height: 45px;
  overflow: hidden;
  color: #193352;
}

#password-feedback ul,
#password-feedback-pf ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
  align-items: center;
  gap: 5px;
}

#password-feedback li,
#password-feedback-pf li {
  padding: 2px 1px;
}

#password-feedback li.valid,
#password-feedback-pf li.valid {
  color: #193352;
}

#password-feedback li.invalid,
#password-feedback-pf li.invalid {
  color: #193352;
  padding: 3px;
  display: flex;
}

#password-feedback .valid::before,
#password-feedback-pf .valid::before   {
  content: " ";
  color: #4CAF50;
  background-image: url(../img/widoing/check-on.png);
  background-size: contain;
  background-repeat: no-repeat;
  margin-right: 6px;
  width: 14px;
  height: 14px;
  display: inline-block;

}
.type-buttons .button-pj{
  text-align: center  ;
  
}

#password-feedback .invalid::before,
#password-feedback-pf .invalid::before {
  content: " ";
  background-image: url(../img/widoing/check-off.png);
  background-size: contain;
  background-repeat: no-repeat;
  margin-right: 6px;
  width: 14px;
  height: 14px;
  display: inline-block;
}

.back {
  display: flex;
  width: 100%;
  align-items: flex-start;
  gap: 10px;
  padding: 5px 15px;

}

.back i {
  font-size: 1.4em;
  cursor: pointer;
  margin-top: 15px;
}

.back img {
  width: 200px;
}

@media (max-width: 1024px) {

  form,
  form.organization-selecting,
  form.organization-filled {
    width: 90%;
    height: auto;
    padding: 15px;
    padding-top: 30px;
  }

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

  .organization-type {
    width: 100%;
    height: auto;
    margin-bottom: 20px;
  }

  .organization-form {
    width: 100%;
    padding: 0 20px;
  }

  .row {
    grid-template-columns: 1fr;
    gap: 10px;
  }



  #rowPj {
    gap: 15px;
  }

  .input-text {
    width: 100%;
    font-size: 15px;
  }

  .input-submit {
    width: 100%;
    margin: 10px 0;
  }

  .type-buttons {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 80px;

  }

  .type-btn {
    width: 100px;
    height: 100px;
    font-size: 13px;
  }

  .divisor {
    display: none;
  }

  .back {
    flex-direction: row;
    justify-content: space-between;
    padding: 10px;
  }

  .back img {
    width: 150px;
  }



  #toggle-pj {
    top: 58%;
  }

  #password-feedback,
  #password-feedback-pf {
    font-size: 11px;
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 600px) {

  form,
  form.organization-selecting,
  form.organization-filled {
    width: 85%;
    padding: 10px 0;
    padding-top: 15px;
    height: initial;

  }

  .bg-started-sections {
    height: auto;
  }

  .organization-type h1 {
    font-size: 20px;
  }

  .organization-type p {
    font-size: 15px;
  }

  .type-btn {
    width: 80px;
    height: 80px;
    font-size: 12px;
  }

  .input-text {
    font-size: 14px;
    padding: 8px;
  }

  .input-submit {
    font-size: 15px;
    padding: 10px;
  }

  #password-feedback li {
    font-size: 12px;
  }
}


/* Header styles */
section.header {
  width: 100%;
  display: flex;
}

.logo {
  width: 100%;
  text-align: center;
  margin-top: 25px;
  margin-bottom: 10px;
}


.button-pf {
  display: flex;
  flex-direction: column;
  align-items: center;
}


/* Footer styles */
.info-footer-type {
  width: 100%;
  text-align: center;
  margin-top: 50px;
  font-size: 11px;
  color: #183353;
  font-family: "Questrial", sans-serif;
  margin-bottom: 20px;
}

#pjStep1 .info-footer-type {
  margin-top: 10px;
}

.info-footer-type a {
  color: #38b6ff;
  text-decoration: none;
  font-weight: bold;
}

.infoFornHeader {
  align-items: center;
  display: grid;
  justify-content: center;
  text-align: center;

  @media (max-width: 600px) {
    margin-bottom: 20px;
  }
}

#pjStep2 .infoFornHeader {
  margin-bottom: 20px;
}

.titleHeader {
  font-size: 23px;
  font-weight: bold;
  color: #000;
  margin: 7px;
  font-family: "DM Sans", sans-serif;
  justify-content: center;

  @media (max-width: 600px) {
    font-size: 20px;
  }
}


.subTitleHeader {
  font-size: 11px;
  color: #000;
  font-family: "Questrial", sans-serif;
  padding: 0px;
  margin: 0;
  line-height: 19px;

}

.subTitleHeader br {
  @media (max-width: 600px) {
    display: none;
  }
}

.subTitleHeader a {
  font-size: 10px;
  color: #38b6ff;
  font-family: "Questrial", sans-serif;
}

label {
  font-size: 13px;
  color: #193352;
  font-family: "questrial", sans-serif;
  margin-bottom: 15px;
  font-weight: 300;
}

.row-center {

  justify-content: center;
  width: 100%;
  gap: 2px !important;
  text-align: center;
}


.input-button,
.rows {
  width: 100%;
  display: flex;
  justify-content: center;
}

.no-padding {
  padding: 0;
  margin-top: 5px;
}

.icon-started {
  position: absolute;
  bottom: -15px;
  max-width: 110px;
  height: auto;
  right: 0px;
}

.icon-started img {
  width: 100%;
  height: auto;
}

@media only screen and (max-width: 1024px) and (orientation: landscape) {

  form,
  form.organization-selecting,
  form.organization-filled {
    width: 60%;
    height: auto;
    padding: 5px;

  }

  section.header {
    width: 100%;
    display: flex;
    max-height: 80px;
  }

  .organization-type {
    margin-bottom: 5px;
  }

  .bg-started {
    align-items: baseline;
  }

  .container-center {
    margin-top: 20px;
    margin-bottom: 20px;
  }

  .back img {
    max-width: 100px;
  }

  #formPF {
    padding: 0px 30px;
  }

  #submitPF {
    margin-left: 0rem;
  }

  .bg-started {
    align-items: baseline;
    height: auto;
  }
}

.container-center {
  display: flex;
  justify-content: center;
  align-items: center;
  height: auto;
  width: 100%;
}