.des-desarrolloweb2-page {
  background-color: #000;
  color: #fff;
  padding-top: 120px;
  padding-bottom: 80px;
  min-height: 100vh;
}

.des-desarrolloweb2-page .hero-adminpanel h1 {
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.des-desarrolloweb2-page .hero-adminpanel .lead {
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.des-desarrolloweb2-page .hero-adminpanel .hero-note {
  color: #bbbbbb;
  font-size: 0.9rem;
}

.des-desarrolloweb2-page .adminpanel-main {
  margin-top: 10px;
}

.des-desarrolloweb2-page .adminpanel-card {
  background: #111;
  border-radius: 12px;
  padding: 16px 16px 14px;
  border: 1px solid #222;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.6);
}

.des-desarrolloweb2-page .adminpanel-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 14px;
}

.des-desarrolloweb2-page .adminpanel-title {
  font-size: 1.3rem;
  margin-bottom: 4px;
}

.des-desarrolloweb2-page .adminpanel-hint {
  font-size: 0.9rem;
  color: #cccccc;
  margin-bottom: 0;
}

.des-desarrolloweb2-page .adminpanel-role .form-label {
  font-size: 0.8rem;
  margin-bottom: 2px;
}

.des-desarrolloweb2-page .adminpanel-role select {
  min-width: 160px;
}

.des-desarrolloweb2-page .adminpanel-toolbar {
  margin-top: 6px;
  margin-bottom: 10px;
  border-top: 1px solid #222;
  border-bottom: 1px solid #222;
  padding-top: 10px;
  padding-bottom: 10px;
}

.des-desarrolloweb2-page .toolbar-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  align-items: flex-end;
}

.des-desarrolloweb2-page .toolbar-row-main {
  margin-bottom: 8px;
}

.des-desarrolloweb2-page .toolbar-group {
  min-width: 140px;
}

.des-desarrolloweb2-page .toolbar-group-search {
  flex: 1 1 220px;
}

.des-desarrolloweb2-page .toolbar-group-estado,
.des-desarrolloweb2-page .toolbar-group-servicio,
.des-desarrolloweb2-page .toolbar-group-orden {
  flex: 0 1 160px;
}

.des-desarrolloweb2-page .toolbar-group-acciones {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.des-desarrolloweb2-page .adminpanel-role-hint {
  font-size: 0.8rem;
  color: #aaaaaa;
  margin: 4px 0 0;
}

.des-desarrolloweb2-page .adminpanel-table-section {
  margin-top: 10px;
}

.des-desarrolloweb2-page .adminpanel-table-wrapper {
  margin-bottom: 8px;
}

.des-desarrolloweb2-page .adminpanel-table {
  font-size: 0.85rem;
}

.des-desarrolloweb2-page .adminpanel-table th,
.des-desarrolloweb2-page .adminpanel-table td {
  border-color: #333 !important;
}

.des-desarrolloweb2-page .adminpanel-table .badge-estado,
.des-desarrolloweb2-page .adminpanel-table .badge-prioridad {
  display: inline-block;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  font-size: 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.des-desarrolloweb2-page .badge-estado--Nuevo {
  background: rgba(79, 51, 156, 0.18);
}

.des-desarrolloweb2-page .badge-estado--En\ proceso {
  background: rgba(255, 193, 7, 0.12);
}

.des-desarrolloweb2-page .badge-estado--Completado {
  background: rgba(40, 167, 69, 0.18);
}

.des-desarrolloweb2-page .badge-prioridad--Alta {
  background: rgba(220, 53, 69, 0.18);
}

.des-desarrolloweb2-page .badge-prioridad--Media {
  background: rgba(255, 193, 7, 0.18);
}

.des-desarrolloweb2-page .badge-prioridad--Baja {
  background: rgba(108, 117, 125, 0.18);
}

.des-desarrolloweb2-page .adminpanel-table-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.des-desarrolloweb2-page .table-summary {
  font-size: 0.8rem;
  color: #aaaaaa;
  margin: 0;
}

.des-desarrolloweb2-page .adminpanel-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.des-desarrolloweb2-page .pagination-info {
  font-size: 0.85rem;
  color: #cccccc;
}

.des-desarrolloweb2-page .btn-outline-light {
  border-color: #555555;
  color: #eeeeee;
}

.des-desarrolloweb2-page .btn-outline-light:hover,
.des-desarrolloweb2-page .btn-outline-light:focus {
  background-color: #4f339c;
  border-color: #4f339c;
  color: #ffffff;
}

.des-desarrolloweb2-page .btn-outline-light[disabled],
.des-desarrolloweb2-page .btn-outline-light[aria-disabled="true"] {
  opacity: 0.6;
  cursor: not-allowed;
}

.des-desarrolloweb2-page .adminpanel-actions-cell {
  display: flex;
  justify-content: flex-end;
  gap: 6px;
}

.des-desarrolloweb2-page .adminpanel-actions-cell .btn {
  padding-inline: 0.4rem;
}

.des-desarrolloweb2-page .campo-obligatorio {
  color: #ffb3b3;
}

.des-desarrolloweb2-page .adminpanel-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1050;
}

.des-desarrolloweb2-page .adminpanel-modal-overlay.is-open {
  display: flex;
}

.des-desarrolloweb2-page .adminpanel-modal {
  background: #111111;
  color: #ffffff;
  border-radius: 12px;
  border: 1px solid #222222;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.85);
  max-width: 720px;
  width: 95%;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
}

.des-desarrolloweb2-page .adminpanel-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px 8px;
  border-bottom: 1px solid #222222;
}

.des-desarrolloweb2-page .adminpanel-modal-body {
  padding: 12px 16px 8px;
  overflow-y: auto;
}

.des-desarrolloweb2-page .adminpanel-modal-footer {
  padding: 8px 16px 12px;
  border-top: 1px solid #222222;
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.des-desarrolloweb2-page .adminpanel-modal-close {
  border: none;
  background: transparent;
  color: #ffffff;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}

.des-desarrolloweb2-page .adminpanel-modal-close:focus-visible {
  outline: 2px solid #4f339c;
  outline-offset: 2px;
}

.des-desarrolloweb2-page .modal-error {
  font-size: 0.8rem;
  color: #ffb3b3;
  margin-top: 4px;
}

.des-desarrolloweb2-page .adminpanel-toast-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.des-desarrolloweb2-page .adminpanel-toast {
  background: rgba(17, 17, 17, 0.97);
  color: #ffffff;
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 0.85rem;
  border: 1px solid #333333;
  box-shadow: 0 0 16px rgba(0, 0, 0, 0.6);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.15s ease-out, transform 0.15s ease-out;
}

.des-desarrolloweb2-page .adminpanel-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.des-desarrolloweb2-page .adminpanel-toast--success {
  border-color: #28a745;
}

.des-desarrolloweb2-page .adminpanel-toast--error {
  border-color: #dc3545;
}

.des-desarrolloweb2-page .adminpanel-toast--warning {
  border-color: #ffc107;
}

.des-desarrolloweb2-page .adminpanel-footer-cta {
  margin-top: 24px;
}

.des-desarrolloweb2-page .adminpanel-footer-text {
  font-size: 0.95rem;
  margin-bottom: 10px;
}

.des-desarrolloweb2-page .adminpanel-footer-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

@media (min-width: 992px) {
  .des-desarrolloweb2-page {
    padding-top: 140px;
  }

  .des-desarrolloweb2-page .hero-adminpanel h1 {
    font-size: 2.8rem;
  }
}

@media (max-width: 767.98px) {
  .des-desarrolloweb2-page {
    padding-top: 110px;
    padding-bottom: 60px;
  }

  .des-desarrolloweb2-page .adminpanel-card {
    padding: 14px 12px 12px;
  }

  .des-desarrolloweb2-page .adminpanel-card-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .des-desarrolloweb2-page .toolbar-row {
    flex-direction: column;
    align-items: stretch;
  }

  .des-desarrolloweb2-page .toolbar-group {
    width: 100%;
  }

  .des-desarrolloweb2-page .adminpanel-table-wrapper {
    width: 100%;
    overflow-x: auto;
  }

  .des-desarrolloweb2-page .adminpanel-modal {
    width: 100%;
    height: 100vh;
    max-height: 100vh;
    border-radius: 0;
  }
}
