#loading {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.spinner {
  width: 50px;
  height: 50px;
  border: 5px solid rgba(255, 255, 255, 0.3);
  border-top: 5px solid white;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.preview-area {
  margin-top: 10px;
  width: 150px; /* Define um tamanho fixo menor */
  height: 150px;
  border: 2px dashed #ccc;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 8px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 20px;
}

.preview-area img {
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.input-error {
  border: 2px solid #e74c3c !important;
  outline: none;
}

.error-message {
  color: #e74c3c;
  font-size: 0.95em;
  margin-top: 2px;
  margin-bottom: 8px;
  font-weight: 500;
}

.expandable-section {
  border: 1px solid #ccc;
  border-radius: 8px;
  margin-top: 20px;
  padding: 10px;
}

.expandable-header {
  cursor: pointer;
  font-weight: bold;
  color: #333;
  margin-bottom: 8px;
  margin-right: 10px;
  user-select: none;
}

.expandable-header:hover {
  color: #007bff;
}

.expandable-content {
  margin-top: 10px;
}

.tooltip-button {
  background-color: #eee;
  border: none;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  font-size: 14px;
  cursor: pointer;
  position: relative;
  padding: 0;
  text-align: center;
  line-height: 18px;
}

.tooltip-content {
  display: none;
  position: fixed;
  top: 50%;
  left: 75%;
  background-color: #333;
  color: #fff;
  font-size: 12px;
  padding: 8px;
  border-radius: 6px;
  max-width: 200px;
  z-index: 1000;
  transform: translate(-50%, -50%);
  transition: opacity 1s ease-out;

}

.tooltip-button:hover + .tooltip-content,
.tooltip-button:focus + .tooltip-content {
  display: block;
}

.texto-expansivo {
  display: flex;
  justify-content: space-between;
}