:root {
  --primary-color: rgb(11, 78, 179);
  --secundary-color: rgb(233, 233, 237);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

.content-select select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  margin-left: 7%;
}

.content-select select::-ms-expand {
  display: none;
}

.content-select {
  max-width: 500px;
  position: relative;
}

.content-select select {
  display: inline-block;
  width: 100%;
  cursor: pointer;
  padding: 7px 10px;
  height: 42px;
  outline: 0;
  border: 0;
  border-radius: 0;
  background: #f0f0f0;
  color: #7b7b7b;
  font-size: 1em;
  color: #999;
  font-family: "Quicksand", sans-serif;
  border: 2px solid rgba(0, 0, 0, 0.2);
  border-radius: 12px;
  position: relative;
  transition: all 0.25s ease;
}

.content-select select:hover {
  background: rgba(0, 142, 255, 0.13);
}

body {
  display: flex;
  align-items: center;
  min-height: 100vh;
}

label {
  display: block;
  margin-bottom: 0.5rem;
}

input {
  display: block;
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 0.25rem;
}

.width-50 {
  width: 50%;
}

.ml-auto {
  margin-left: auto;
}

.text-center {
  text-align: center;
}

/* Progressbar */
.progressbar {
  position: relative;
  display: flex;
  justify-content: space-between;
  counter-reset: step;
  margin: 2rem 0 4rem;
}

.progressbar::before,
.progress {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  height: 4px;
  width: 100%;
  background-color: #dcdcdc;
  z-index: -1;
}

.progress {
  background-color: var(--primary-color);
  width: 0%;
  transition: 0.3s;
}

.progress-step {
  width: 2.1875rem;
  height: 2.1875rem;
  background-color: #dcdcdc;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.progress-step::before {
  counter-increment: step;
  content: counter(step);
}

.progress-step::after {
  content: attr(data-title);
  position: absolute;
  top: calc(100% + 0.5rem);
  font-size: 0.85rem;
  color: #666;
}

.progress-step-active {
  background-color: var(--primary-color);
  color: #f3f3f3;
}

/* Form */
.form {
  width: clamp(650px, 30%, 630px);
  margin: 2.5rem auto;
  border: 1px solid #ccc;
  border-radius: 0.35rem;
  padding: 1.5rem;
}

.form-step {
  display: none;
  transform-origin: top;
  animation: animate 0.5s;
}

.form-step-active {
  display: block;
}

.input-group {
  margin: 0.5rem 0;
}

@keyframes animate {
  from {
    transform: scale(1, 0);
    opacity: 0;
  }
  to {
    transform: scale(1, 1);
    opacity: 1;
  }
}

/* Button */
.btns-group {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.btn {
  padding: 0.75rem;
  display: block;
  text-decoration: none;
  background-color: var(--primary-color);
  color: #f3f3f3;
  text-align: center;
  border-radius: 0.25rem;
  cursor: pointer;
  transition: 0.3s;
}
.btn:hover {
  box-shadow: 0 0 0 2px #fff, 0 0 0 3px var(--primary-color);
  color: white;
}

.btn-prev {
  background-color: var(--secundary-color);
  color: black;
  border-color: rgb(204, 204, 204);
}
.btn-prev:hover {
  background-color: rgb(208, 208, 215);
  box-shadow: none;
  color: black;
}

#accordion-resizer {
  height: 400px;
  margin-bottom: 26%;
}
#divsubmit {
  margin-top: 2%;
}

.input-group {
  display: flex;
  flex-flow: column;
}

.aligned-inputs {
  display: flex;
  gap: 1.5rem;
  align-items: flex-end;
}

fieldset {
  border-color: gray;
}

.typeuser-fieldset {
  border-radius: 12px;
  border: 1px solid lightgray;
}

.typeuser-fieldset legend {
  display: block;
  font-size: 1rem;
  width: auto;
}

.input-checkbox input {
  display: inline-block;
  width: auto;
}

.input-checkbox label {
  display: inline-block;
  margin-bottom: 0;
}

.form-step > .aligned-inputs,
.form-step > fieldset {
  padding: 0 25px;
}

.checkbox-list {
  display: flex;
  justify-content: space-around;
  list-style-type: none;
  padding: 0;
  margin-top: 0.5rem;
  margin-bottom: 0;
}

.checkbox-list li {
  display: inline-block;
}

.header_title {
  padding: 8px;
  margin: 0 auto;
  margin-bottom: 2rem;
  border-radius: 0.35rem;
  font-size: 20px;
  text-align: center;
  color: white;
  background-color: var(--primary-color);
}

.logo {
  width: 100%;
  max-width: 300px;
  height: auto;
}

.form-control.is-invalid {
  background-image: none;
}