@import "popup-update-data.css";

* {
  padding: 0;
  margin: 0;
}
html, body {
  min-height: 100vh;
}
body {
  display: flex;
  flex-direction: column;
  font-family: 'Poppins', sans-serif;
  text-align: center;
  justify-content: space-between;
  background-color: #f3f4f6;
}
header {
  padding: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: white;
  box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.3);
}
footer {
  padding: 1rem;
  background-color: white;

}
footer span {
  display: block;
  font-size: .8rem;
  padding-bottom: .4rem;
}
h3 {
  font-size: 1.1rem;
  font-weight: normal;
  margin: 0;
}


/* ESTILO DE CONTENIDO */

.container header {
  padding: 0;
}

.welcome-title, #register-head {
  display: none;
}

.container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2rem;
}
.heading-text {
  color: #1a202c;
  /*color: #efefef;*/
  font-size: 1.8rem;
  font-weight: normal;
}
.heading-divider {
  background-color: #2194cf;
  display: block;
  height: 3px;
  margin: 20px auto;
  width: 75px;
}
.step {
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.step .neighborhood-group {
  width: 80%;
}

.neighborhood-group {
  min-width: 15rem;
  min-height: 3rem;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;

  gap: 1rem;
  padding: 1rem 1.7rem;
  background-color: white;
  border: 1px solid #efefef;
  border-radius: 0.4rem;
  box-shadow: 0 0 1px 0 rgba(0, 0, 0, 0.1);
  text-decoration: none;
  cursor: pointer;
  color: #1c2e62;
}

.neighborhood-group span {
  font-weight: bold;
  font-size: 1.2rem;
  text-align: start;
  text-wrap: balance;
  width: 60%;
}

.neighborhoods {
  overflow: scroll;
  display: flex;
  flex-direction: column;
  height: 44vh;
}
.neighborhoods img,
.step img,
.register img,
.neighborhood-check img {
  max-width: 200px;
}

.neighborhood-stages {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}
.dropdown {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
}
.dropdown-content {
  display: none;
  gap: 0.4rem;
  width: 100%;
}
.open-dropdown {
  display: flex;
  gap: 0.4rem;
  flex-direction: column;
}

.neighborhood-check {
  padding: 0.6rem 1.6rem;
  background-color: #efefef;
  cursor: pointer;
  color: black;
}
.steps-header {
  background-color: transparent;
  color: black;
  text-align: start;
  box-shadow: none;
}
.steps-footer {
  background-color: transparent;
  color: black;
}


.step-2, .step-2 section, .step-3 section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.5rem;
}

.step-2 section, .step-3 section {
  min-height: 10rem;
}

.options-select select {
  font-family: 'Poppins', sans-serif;
  font-size: 1.1rem;
  padding: 1rem;
  float: left;
  border: 1px solid #efefef;
  width: 100%;
  box-shadow: 0 0 1px rgba(0, 0, 0, 0.2);
}

.options-select button[type='submit'],
#register-head, #register-options {
  font-family: 'Poppins', sans-serif;
  border: none;
  background-color: #2194cf;
  color: white;
  padding: 0.8rem 1rem;
  border-radius: 2rem;
  font-size: 1.3rem;
  cursor: pointer;
}

#register-options, #register-head {
  color: black;
  background-color: transparent;
  font-size: 0.8rem;
  border-radius: 1rem;
  padding: 0.5rem 0.6rem;
  text-decoration: underline;
}
.options-select footer {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.back, .steps-footer .back {
  text-transform: uppercase;
  cursor: pointer;
  color: white;
  font-weight: bold;
  border-radius: 5px;
  background: #60a5fa;
  width: fit-content;
  padding: 0.5rem 2rem;
  margin: 0 auto;
  text-decoration: none;
  box-shadow: 0 0 2px 0 rgba(0, 0, 0, 0.1);
}

#actions {
  display: flex;
  flex-direction: row;
  align-items: center;
  flex-wrap: wrap;
  min-height: fit-content;
}
#actions button {
  width: fit-content;
  padding: 0.25rem;
  cursor: pointer;
  border-radius: 5px;
  border: none;
  background: transparent;
}
#actions button img {
  width: 24px;
}


@media (min-width: 768px) {
  header {
    padding: 1rem 2rem 0.5rem 2rem;
    background-color: white;
    justify-content: space-between;
  }
  .steps-footer, .steps-header {
    color: black;
  }
  .neighborhood-group {
    background-color: transparent;
    box-shadow: none;
  }
  #register-options, #register-head, .back {
    color: black;
    border-radius: 2rem;
  }
  #register-options, #register-head {
    color: white;
    background-color: #2194cf;
  }
  footer {
    padding: 0.5rem;
    text-align: center;
    background-color: white;
  }
  footer span {
    padding: 0;
  }
  .search {
    background-color: white;
    border-radius: .5rem;
    padding: 1rem;
    z-index: 1;
    box-shadow: 0 0 10px rgba(0, 0, 0, .5);
    min-width: 23rem;
  }
  .heading-text {
    color: #1c2e62;
  }

  #register-head {
    display: block;
  }
  #register-options {
    display: none;
  }
  .options-select .back {
    width: 6rem;
    margin: 0 auto;
  }
  #actions {
    display: grid;
    grid-template-rows: auto;
    gap: 1rem;
    place-content: center;
    align-content: center;
    width: 100%
  }
  .step-2 section, .step-3 section {
    min-height: auto;
  }

  .popup-add-data-container {
    max-width: 600px;
    margin: 0 auto;
  }
}

@media (min-width: 1024px) {
  body {
    background-color: black;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    background-image: url('../images/docta-index/hero-images/docta_digital-hero_image-1.webp');
    transition: background 2s ease-in-out;
  }
  body::after {
    z-index: -1;
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
    content: url("../images/docta-index/hero-images/docta_digital-hero_image-1.webp") url("../images/docta-index/hero-images/docta_digital-hero_image-2.webp") url("../images/docta-index/hero-images/docta_digital-hero_image-3.webp") url("../images/docta-index/hero-images/docta_digital-hero_image-4.webp") url("../images/docta-index/hero-images/docta_digital-hero_image-5.webp") url("../images/docta-index/hero-images/docta_digital-hero_image-6.webp");
  }
  .container {
    flex-direction: row;
    justify-content: space-evenly;
    gap: 2rem;
  }

  .container > div {
    display: flex;
    align-items: center;
  }
  .welcome-title img {
    filter: drop-shadow(0 0 5px black);
    justify-content: center;
    max-width: 300px;
  }
  .heading-divider, .heading-text {

    text-align: start;
    margin: 1rem 0;
  }
  .heading-divider {
    background-color: #2194cf;
    display: block;
    height: 3px;
    margin: 20px 0;
    width: 75px;
  }
  h3 {
    font-size: 1.3rem;
    align-items: start;
    text-wrap: balance;
  }
  .neighborhoods {
    overflow: hidden;
    height: auto;
  }
  .dropdown {
    padding: 0.8rem;
  }
  .step-1 .neighborhood-group {
    width: auto;
  }
  .dropdown-content {
    display: flex;
    gap: 0.4rem;
    flex-direction: column;
  }
  .neighborhood-stages {
    display: grid;
    place-content: start;
    grid-template-columns: 1fr 1fr;
    text-align: center;
  }
  .options-select h3 {
    text-align: start;
  }
  #register-head {
    font-size: 1rem;
    text-transform: none;
  }
  #popup-add-data {
    z-index: 99;
  }
}

@media (min-width: 1200px) {
  .welcome-title img {
    width: auto;
    max-width: 500px;
  }
  .step-1, .step-2, .step-3 {
    width: 35rem;
  }
}