:root {
  --dondstay-accent: #f35525;
  --dondstay-accent-soft: rgba(243, 85, 37, .1);
  --dondstay-accent-border: rgba(243, 85, 37, .28);
  --dondstay-ink: #20262d;
  --dondstay-muted: #66717c;
  --dondstay-line: rgba(32, 38, 45, .14);
  --dondstay-focus: 0 0 0 .22rem rgba(243, 85, 37, .16);
  --dondstay-card-shadow: 0 10px 26px rgba(16, 24, 40, .1);
}

.dondstay-maint-card {
  border-radius: 0 22px 0 22px;
  color: inherit;
  display: block;
  height: 100%;
  min-height: 164px;
  overflow: hidden;
  position: relative;
  text-decoration: none;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.dondstay-maint-card::after {
  background: var(--dondstay-accent);
  bottom: 0;
  content: "";
  height: 3px;
  left: 0;
  position: absolute;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .18s ease;
  width: 100%;
}

a.dondstay-maint-card:hover,
a.dondstay-maint-card:focus-visible {
  border-color: rgba(243, 85, 37, .48);
  box-shadow: var(--dondstay-card-shadow);
  color: inherit;
  outline: 0;
  transform: translateY(-2px);
}

a.dondstay-maint-card:hover::after,
a.dondstay-maint-card:focus-visible::after {
  transform: scaleX(1);
}

.dondstay-maint-icon {
  align-items: center;
  background: var(--dondstay-accent-soft);
  border: 1px solid var(--dondstay-accent-border);
  border-radius: 0 16px 0 16px;
  color: var(--dondstay-accent);
  display: inline-flex;
  flex: 0 0 54px;
  font-size: 1.25rem;
  height: 54px;
  justify-content: center;
  width: 54px;
}

.dondstay-maint-status {
  color: var(--dondstay-muted);
  font-size: .78rem;
  font-weight: 700;
  margin-top: .18rem;
}

.dondstay-search {
  max-width: 660px;
  position: relative;
}

.dondstay-search > .dondstay-search-icon {
  color: var(--dondstay-muted);
  left: 1rem;
  pointer-events: none;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
}

.dondstay-search-input {
  background: rgba(255, 255, 255, .96);
  border: 1px solid rgba(32, 38, 45, .22);
  border-radius: 999px;
  color: var(--dondstay-ink);
  min-height: 50px;
  padding: .72rem 3rem .72rem 2.85rem;
  transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
  width: 100%;
}

.dondstay-search-input::placeholder {
  color: #75808a;
  opacity: 1;
}

.dondstay-search-input:hover {
  border-color: rgba(243, 85, 37, .48);
}

.dondstay-search-input:focus {
  background: #fff;
  border-color: var(--dondstay-accent);
  box-shadow: var(--dondstay-focus);
  outline: 0;
}

.dondstay-search-clear {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 50%;
  color: var(--dondstay-muted);
  display: none;
  height: 38px;
  justify-content: center;
  padding: 0;
  position: absolute;
  right: .45rem;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
}

.dondstay-search-clear:hover,
.dondstay-search-clear:focus-visible {
  background: var(--dondstay-accent-soft);
  color: var(--dondstay-accent);
  outline: 0;
}

.dondstay-search-clear.is-visible {
  display: inline-flex;
}

.dondstay-result-summary {
  color: var(--dondstay-muted);
  font-size: .84rem;
  font-weight: 600;
}

.dondstay-empty-state {
  background: rgba(255, 255, 255, .68);
  border: 1px dashed rgba(32, 38, 45, .3);
  border-radius: 0 22px 0 22px;
  color: var(--dondstay-muted);
  display: none;
  padding: 2.25rem;
  text-align: center;
}

.dondstay-empty-state.is-visible {
  display: block;
}

.dondstay-empty-state > i {
  color: var(--dondstay-accent);
  font-size: 1.5rem;
}

.dondstay-list-card {
  border-radius: 0 22px 0 22px;
  overflow: hidden;
}

.dondstay-filter-bar .card-body {
  padding: .8rem;
}

.dondstay-filter-bar .dondstay-search {
  max-width: none;
}

.dondstay-filter-submit {
  align-items: center;
  background: #1e1e1e;
  border: 0;
  border-radius: 999px;
  color: #fff;
  display: inline-flex;
  font-weight: 700;
  gap: .5rem;
  justify-content: center;
  min-height: 50px;
  padding: .7rem 1.2rem;
  width: 100%;
}

.dondstay-filter-submit:hover,
.dondstay-filter-submit:focus-visible {
  background: var(--dondstay-accent);
  color: #fff;
  outline: 0;
}

.dondstay-table {
  --bs-table-bg: transparent;
  color: var(--dondstay-ink);
}

.dondstay-table > thead > tr > th {
  background: rgba(32, 38, 45, .045);
  border-bottom: 1px solid rgba(32, 38, 45, .2);
  color: #343b42;
  font-size: .78rem;
  font-weight: 800;
  padding: .9rem .75rem;
  text-transform: uppercase;
  vertical-align: middle;
}

.dondstay-table > tbody > tr > td {
  border-color: rgba(32, 38, 45, .09);
  padding: .82rem .75rem;
  vertical-align: middle;
}

.dondstay-table > tbody > tr:hover > td {
  --bs-table-accent-bg: rgba(243, 85, 37, .055);
}

.dondstay-row-actions {
  display: inline-flex;
  gap: .35rem;
  justify-content: flex-end;
  white-space: nowrap;
}

.dondstay-row-action {
  align-items: center;
  display: inline-flex;
  height: 42px;
  justify-content: center;
  padding: 0;
  width: 42px;
}

.dondstay-row-action-danger {
  color: #c92a3b;
}

.dondstay-row-action-danger:hover,
.dondstay-row-action-danger:focus-visible {
  background: #c92a3b;
  border-color: #c92a3b;
  color: #fff;
}

.dondstay-form .form-label {
  color: #343b42;
  font-size: .86rem;
  font-weight: 800;
  margin-bottom: .4rem;
}

.dondstay-form .form-control,
.dondstay-form .form-select {
  border-color: rgba(32, 38, 45, .2);
  border-radius: 12px;
  min-height: 46px;
}

.dondstay-form .form-control:focus,
.dondstay-form .form-select:focus {
  border-color: var(--dondstay-accent);
  box-shadow: var(--dondstay-focus);
}

@media (max-width: 767.98px) {
  .dondstay-maint-card {
    min-height: 142px;
  }

  .dondstay-filter-submit {
    border-radius: 14px;
  }

  .dondstay-table > thead > tr > th,
  .dondstay-table > tbody > tr > td {
    padding-left: .65rem;
    padding-right: .65rem;
    white-space: nowrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  .dondstay-maint-card,
  .dondstay-maint-card::after,
  .dondstay-search-input {
    transition: none;
  }

  a.dondstay-maint-card:hover,
  a.dondstay-maint-card:focus-visible {
    transform: none;
  }
}

/* --- Animaciones Secuenciales (Estilo ImpeKAPP) --- */
.dondstay-animate-item {
  opacity: 0;
  transform: translateY(20px);
}
