body {
  background-color: var(--background-color);
  color: var(--text-primary);
}

main {
  margin: 2rem auto;
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: center;
  max-width: 600px;
  padding: 1rem;
}

.path {
  margin-bottom: 1rem;
}

.path a {
  display: flex;
  align-items: center;
  justify-content: center;
}

.form-create {
  width: 100%;
  /* background-color: #f9f9f9; */
  background-color: #2d3948;
  backdrop-filter: blur(50px);
  border-radius: 1rem;
  padding: 1rem;
  border: 0.1rem solid #435469;
}

.form-create h1 {
  margin-bottom: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  margin: 0.6rem 0;
}

.form-group label {
  font-size: 0.8rem;
}

.form-group.v-string input,
.form-group.v-string select {
  padding: 0.5rem;
  outline: none;
  border: 0.1rem solid transparent;
  border-radius: 0.5rem;
}

.form-group.v-string textarea {
  resize: none;
  outline: none;
  padding: 0.5rem;
  border-radius: 0.5rem;
}

.form-group select,
.form-group input[type="file"] {
  cursor: pointer;
}

.form-btn {
  margin-top: 2rem;
}

.form-btn #send {
  width: 100%;
}

.text-error {
  color: red;
  font-size: 0.8rem;
}

/* animação de rotação */
@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* aplica a rotação ao ícone */
#loading {
  display: inline-block; /* necessário para girar */
  animation: spin 1s linear infinite;
  /* opcional: posicionamento/ajuste visual */
  vertical-align: middle;
  font-size: 1.2rem;
  display: none;
  font-weight: bold;
}
