.quote-form-window {
  background: white;
  box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.5);
  min-height: 50%;
  max-width: 80%;
  border-radius: 6px;
  padding: 0.625rem;
  padding-bottom: 2rem;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.quote-form-window .button {
  background: #a81b1b;
  color: white;
}

.quote-form-window .button:hover {
  transform: scale(1.05);
}

.quote-form-window h2 {
  margin-bottom: 3vh;
}

.quote-form-window h3,
.quote-form-window h4 {
  font-size: 0.9rem;
  font-weight: 600;
}

.quote-form-window label {
  font-weight: bold;
  border-top: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
  padding: 5px 0;
  margin-bottom: 4px;
}

.quote-form-window input,
.quote-form-window select,
.quote-form-window textarea {
  border-bottom: 1px solid #ccc;
  font-size: 1rem;
  line-height: 1;
  height: 1.5em;
  /* Aproxima do baseline */
}

.quote-form-window input:focus,
.quote-form-window select:focus,
.quote-form-window textarea:focus {
  outline: none;
  border-bottom: 2px solid #d9d9d9;
}

.quote-form-window textarea {
  height: fit-content;
  border: 1px solid #ccc;
  border-radius: 10px;
  padding: 5px;
}

.form-instruction {
  width: 90%;
  justify-self: center;
  text-align: start;
  padding: 10px;
}

.questions-container {
  background: white;
  border-radius: 10px;
  border-left: 4px solid #a81b1b;
  width: 90%;
  height: 50vh;
  padding: 60px 0px 40px 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  justify-self: center;
  text-align: start;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  scrollbar-width: none;
}

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 24px;
}

.success {
  background: #d4edda;
  padding: 10px;
  margin-top: 20px;
  border-left: 4px solid #28a745;
}

.button.close-quote-form-window {
  background: #111;
  color: white;
  border-radius: 100%;
  width: 25px;
  height: 25px;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  margin-top: 3px;
}

.button.send-request {
  background-size: 50px;
  background-repeat: no-repeat;
  background-position: center;
  width: fit-content;
  padding: 0.625rem;
  border-radius: 0.9375rem;
  position: relative;
  margin-top: 30px;
}

/* Posicionamento absoluto controlado por um span wrapper */
.hammer-wrapper {
  position: absolute;
  top: -50%;
  left: 5%;
  transform: translate(-50%, -50%);
}

/* A rotação pura é feita aqui */
.hammer {
  width: 100px;
  transform-origin: bottom left;
  transform: rotate(-90deg);
  transition: transform 0.2s ease-out;
}

.hammer.animate {
  animation: batidaMartelo 0.6s ease-out forwards;
}

@keyframes batidaMartelo {
  0% {
    transform: rotate(-90deg);
  }
  60% {
    transform: rotate(32deg);
  }
  100% {
    transform: rotate(0deg);
  }
}