.hubr-register {
  padding: 48px 24px 80px;
  background-color: #f9f7f2;
}

.hubr-register__inner {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hubr-register__back {
  color: #6b7280;
  font-size: 14px;
  text-decoration: none;
  width: fit-content;
}

.hubr-register__back:hover {
  color: #374151;
}

.hubr-register__status {
  background: #fff;
  border: 1px solid #eceae4;
  border-radius: 16px;
  padding: 24px;
  text-align: center;
  color: #555755;
}

.hubr-register__status--error {
  color: #b91c1c;
}

.hubr-register__retry {
  margin-top: 12px;
  border: 1px solid #d1d5db;
  background: #fff;
  border-radius: 999px;
  padding: 10px 18px;
  cursor: pointer;
}

.hubr-register__form {
  display: flex;
  flex-direction: column;
  gap: 24px;
  background: #fff;
  border: 1px solid #eceae4;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

@media (min-width: 640px) {
  .hubr-register__form {
    padding: 40px;
  }
}

.hubr-field {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hubr-label {
  font-size: 16px;
  font-weight: 500;
  color: #374151;
}

.hubr-required {
  color: #e95e0b;
  margin-left: 2px;
  white-space: nowrap;
}

.hubr-label__text {
  display: inline;
}

.hubr-input,
.hubr-select,
.hubr-map-trigger {
  width: 100%;
  box-sizing: border-box;
  border: 1.5px solid #727372;
  border-radius: 14px;
  background: #fff;
  color: #374151;
  font-size: 16px;
  padding: 12px 16px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.hubr-input:focus,
.hubr-select:focus,
.hubr-map-trigger:focus {
  border-color: #e95e0b;
  box-shadow: 0 0 0 1px rgba(233, 94, 11, 0.2);
}

.hubr-textarea {
  min-height: 122px;
  resize: vertical;
  border-radius: 16px;
}

.hubr-select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, #727372 50%), linear-gradient(135deg, #727372 50%, transparent 50%);
  background-position: calc(100% - 20px) calc(50% - 2px), calc(100% - 15px) calc(50% - 2px);
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 36px;
}

.hubr-grid {
  display: grid;
  gap: 24px;
}

.hubr-grid--2 {
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .hubr-grid--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.hubr-grid--3 {
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .hubr-grid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.hubr-map-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  text-align: left;
  cursor: pointer;
}

.hubr-map-trigger__text {
  color: #9ca3af;
}

.hubr-map-trigger__text.is-filled {
  color: #374151;
}

.hubr-map-trigger__icon {
  color: #0e9b55;
  font-size: 18px;
}

.hubr-map-trigger__icon {
  color: #0e9b55;
  font-size: 18px;
}

.hubr-multiselect {
  position: relative;
}

.hubr-multiselect__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  text-align: left;
  cursor: pointer;
}

.hubr-multiselect__trigger-text {
  color: #9ca3af;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hubr-multiselect__trigger-text.is-filled {
  color: #374151;
}

.hubr-multiselect__trigger-icon {
  color: #727372;
  font-size: 12px;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.hubr-multiselect.is-open .hubr-multiselect__trigger-icon {
  transform: rotate(180deg);
}

.hubr-multiselect__panel {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 20;
  background: #fff;
  border: 1.5px solid #727372;
  border-radius: 14px;
  padding-top: .5rem;
  padding-bottom: .5rem;
  max-height: 240px;
  overflow-y: auto;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.hubr-multiselect__panel[hidden] {
  display: none !important;
}

.hubr-coords,
.hubr-hint {
  font-size: 12px;
  color: #6b7280;
  margin: 0;
}

.hubr-coords {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.hubr-location-remove {
  align-self: flex-start;
  padding: 0;
  border: 0;
  background: none;
  font-size: 12px;
  font-weight: 600;
  color: #dc2626;
  cursor: pointer;
}

.hubr-location-remove:hover {
  text-decoration: underline;
}

.hubr-location-remove[hidden] {
  display: none;
}

.hubr-upload__previews {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hubr-preview-card {
  position: relative;
  width: 96px;
  height: 96px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  background: #f9fafb;
}

.hubr-preview-card img,
.hubr-preview-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hubr-preview-card span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 8px;
  font-size: 11px;
  text-align: center;
  color: #6b7280;
}

.hubr-preview-card__remove {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 24px;
  height: 24px;
  border: none;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  cursor: pointer;
  line-height: 1;
}

.hubr-upload__input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.hubr-upload__dropzone {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px dashed #d1d5db;
  border-radius: 16px;
  background: #fff;
  padding: 32px 24px;
  cursor: pointer;
  transition: border-color 0.2s ease, opacity 0.2s ease;
}

.hubr-upload__dropzone:hover {
  border-color: #9ca3af;
}

.hubr-upload__dropzone.is-disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.hubr-upload__title {
  font-size: 14px;
  font-weight: 600;
  color: #374151;
}

.hubr-upload__hint,
.hubr-upload__count {
  font-size: 12px;
  color: #9ca3af;
  text-align: center;
  margin: 0;
}

.hubr-terms__label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  color: #4b5563;
  cursor: pointer;
}

.hubr-terms__label input {
  margin-top: 3px;
  width: 18px;
  height: 18px;
  accent-color: #e95e0b;
}

.hubr-error {
  color: #dc2626;
  font-size: 13px;
  margin: 0;
}

.hubr-register__feedback-area {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hubr-register__feedback-area:empty,
.hubr-register__feedback-area:not(:has(.hubr-register__feedback:not([hidden]))) {
  display: none;
}

.hubr-register__feedback {
  border-radius: 12px;
  padding: 16px;
  font-size: 15px;
}

.hubr-register__feedback--success {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.hubr-register__feedback--error {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

.hubr-register__actions {
  display: flex;
  justify-content: center;
  padding-top: 8px;
}

.hubr-register__actions--wizard {
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.hubr-register__actions--wizard .hubr-submit {
  margin-left: auto;
}

.hubr-steps {
  display: flex;
  flex-direction: column;
  gap: 16px;
  list-style: none;
  margin: 0 0 8px;
  padding: 0;
}

@media (min-width: 640px) {
  .hubr-steps {
    flex-direction: row;
    align-items: center;
    gap: 0;
  }
}

.hubr-steps__item {
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 0;
}

.hubr-steps__body {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.hubr-steps__connector {
  display: none;
  flex: 1;
  height: 2px;
  margin: 0 16px;
  background: #e5e7eb;
}

@media (min-width: 640px) {
  .hubr-steps__connector {
    display: block;
  }
}

.hubr-steps__item.is-done .hubr-steps__connector {
  background: #16a34a;
}

.hubr-steps__number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: #e5e7eb;
  color: #6b7280;
  font-size: 14px;
  font-weight: 600;
  flex-shrink: 0;
}

.hubr-steps__item.is-active .hubr-steps__number {
  background: #e95e0b;
  color: #fff;
}

.hubr-steps__item.is-done .hubr-steps__number {
  background: #16a34a;
  color: #fff;
}

.hubr-steps__label {
  font-size: 14px;
  font-weight: 600;
  color: #6b7280;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.hubr-steps__item.is-active .hubr-steps__label {
  color: #111827;
}

.hubr-step {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hubr-step[hidden] {
  display: none !important;
}

.hubr-step__title {
  margin: 0;
  font-size: 20px;
  color: #111827;
}

.hubr-step__desc {
  margin: -16px 0 0;
  font-size: 14px;
  color: #6b7280;
}

.hubr-step[data-step="3"] .hubr-field {
  gap: 0;
}

.hubr-step[data-step="3"] .hubr-field > .hubr-label {
  margin-bottom: 16px;
}

.hubr-step[data-step="3"] .hubr-field > .hubr-error {
  margin-top: 8px;
}

.hubr-step[data-step="3"] .hubr-fieldset {
  gap: 0;
}

.hubr-step[data-step="3"] .hubr-fieldset > .hubr-label {
  margin-bottom: 16px;
}

.hubr-step[data-step="3"] .hubr-fieldset > .hubr-radio-group,
.hubr-step[data-step="3"] .hubr-fieldset > .hubr-check-group {
  margin-bottom: 0;
}

.hubr-step[data-step="3"] .hubr-fieldset > .hubr-error {
  margin-top: 8px;
}

.hubr-label__hint {
  display: block;
  font-size: 12px;
  font-weight: 400;
  color: #6b7280;
  margin-top: 4px;
}

.hubr-section-header {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 8px;
}

.hubr-section-header__title {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: #111827;
}

.hubr-section-header__desc {
  margin: 0;
  font-size: 14px;
  color: #6b7280;
}

.hubr-conditional,
.hubr-optional-quantity {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hubr-conditional__panel {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-left: 28px;
}

.hubr-conditional__panel[hidden] {
  display: none !important;
}

.hubr-check--toggle .hubr-check__label {
  font-weight: 500;
  color: #374151;
}

.hubr-check--card {
  align-items: center;
  border-radius: 16px;
  padding-top: .625rem;
  padding-bottom: .625rem;
  padding-left: 1rem;
  padding-right: 1rem;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.hubr-check--card:hover {
  border-color: #d1d5db;
  background-color: #fafafa;
}

.hubr-check--card:has(input:checked) {
  border-color: #e95e0b;
  background-color: #fff7f2;
}

.hubr-check-grid {
  display: grid;
  gap: 8px;
}

.hubr-fieldset--residuos {
  gap: 8px;
}

.hubr-fieldset {
  border: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hubr-fieldset .hubr-label {
  margin-bottom: 0;
}

.hubr-radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hubr-radio-group--stack {
  flex-direction: column;
  gap: 10px;
}

.hubr-radio,
.hubr-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: #374151;
  cursor: pointer;
}

#tipo_de_residuo_ids .hubr-check{
  border: 1px solid rgb(229 231 235 / var(--tw-border-opacity, 1));
}

.hubr-multiselect .hubr-check {
  border: none;
}

.hubr-check--block {
  padding: 4px 0;
}

.hubr-check-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.hubr-check input {
    margin-top: 3px;
    accent-color: #e95e0b;
    border-radius: .25rem;
    appearance: none;
    print-color-adjust: exact;
    vertical-align: middle;
    user-select: none;
    color: #2563eb;
    --tw-shadow: 0 0 #0000;
    background-color: #fff;
    background-origin: border-box;
    border-width: 1px;
    flex-shrink: 0;
    width: 1rem;
    height: 1rem;
    padding: 0;
    display: inline-block;
    border: 1px solid #6b7280;
    border-color: rgb(209 213 219 / 1);
}

input:where([type=checkbox]):checked {
    background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e");
    color: rgb(249 115 22 / 1);
}
input:where([type=checkbox]):checked, input:where([type=radio]):checked {
    background-color: currentColor;
    background-position: 50%;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    border-color: #0000;
}

.hubr-radio input {
  border-radius: 999px;
}

.hubr-field--nested {
  padding-left: 28px;
}

.hubr-details {
  border: 1px solid #eceae4;
  border-radius: 12px;
  padding: 12px 16px;
}

.hubr-details summary {
  cursor: pointer;
  list-style: none;
}

.hubr-details summary::-webkit-details-marker {
  display: none;
}

.hubr-details__body {
  margin-top: 16px;
}

.hubr-submit {
  min-width: 200px;
  border: none;
  border-radius: 999px;
  background: #e95e0b;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  padding: 14px 40px;
  cursor: pointer;
  transition: background-color 0.2s ease, opacity 0.2s ease;
}

.hubr-submit:hover {
  background: #d45309;
}

.hubr-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.hubr-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.hubr-modal[hidden] {
  display: none;
}

.hubr-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 24, 39, 0.55);
}

.hubr-modal__dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 960px;
  max-height: calc(100vh - 32px);
  overflow: auto;
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hubr-modal__title {
  margin: 0;
  font-size: 20px;
  color: #111827;
}

.hubr-modal__subtitle {
  margin: 4px 0 0;
  font-size: 14px;
  color: #6b7280;
}

.hubr-modal__map {
  width: 100%;
  height: 420px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e5e7eb;
}

.hubr-map-pin-icon {
  background: transparent;
  border: none;
}

.hubr-map-pin-icon svg {
  display: block;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.22));
}

.hubr-modal__preview {
  border: 1px dashed #d1d5db;
  border-radius: 12px;
  background: #f9fafb;
  padding: 12px 16px;
}

.hubr-modal__preview-address {
  margin: 0;
  font-weight: 500;
  color: #111827;
}

.hubr-modal__preview-coords {
  margin: 4px 0 0;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 12px;
  color: #6b7280;
}

.hubr-modal__actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

.hubr-btn {
  border-radius: 10px;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}

.hubr-btn--ghost {
  border: 1px solid #d1d5db;
  background: #fff;
  color: #374151;
}

.hubr-btn--primary {
  border: none;
  background: #e95e0b;
  color: #fff;
}

.hubr-btn--primary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

body.hubr-modal-open {
  overflow: hidden;
}

@media (max-width: 767px) {
  .hubr-register {
    padding: 32px 16px 64px;
  }

  .hubr-modal__map {
    height: 300px;
  }
}
