.apps86-demande-ui {
  max-width: 900px;
  margin: 0 auto;
  padding: 8px 12px;
}
.apps86-filters {
  display: grid;
  grid-template-columns: 1fr 140px;
  gap: 8px;
  margin-bottom: 10px;
}
.apps86-filters input,
.apps86-filters select {
  width: 100%;
  padding: 10px 12px;
  font-size: 16px;
}

.apps86-cards {
  display: grid;
  gap: 10px;
}
.card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 12px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}
.card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.card__title {
  font-weight: 600;
  font-size: 16px;
  color: #111827;
}
.card__meta {
  color: #4b5563;
  font-size: 14px;
  margin-top: 6px;
}
.meta__item {
  display: inline-block;
  margin-right: 6px;
}
.meta__label {
  font-weight: 600;
  margin-right: 4px;
}
.card__date {
  color: #6b7280;
  font-size: 12px;
  margin-top: 6px;
}

.badge {
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 12px;
  line-height: 1;
  font-weight: 600;
}
.badge--pending {
  background: #fef3c7;
  color: #92400e;
}
.badge--approved {
  background: #d1fae5;
  color: #065f46;
}
.badge--rejected {
  background: #fee2e2;
  color: #991b1b;
}

.card__actions {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}
.btn {
  padding: 8px 12px;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
}
.btn--ok,
.btn--ok:hover,
.btn--ok:focus {
  background: #a8ffcb;
  color: #004459;
  transition: scale 0.5s;
}
.btn--ok:hover {
  scale: 1.1;
}
.btn--ko,
.btn--ko:hover,
.btn--ko:focus {
  background: #ffc2c2;
  color: #004459;
  transition: scale 0.5s;
}
.btn--ko:hover {
  scale: 1.1;
}
.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.apps86-pagi {
  display: flex;
  justify-content: center;
  margin-top: 10px;
}
.apps86-btn {
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid #d1d5db;
  background: #fff;
}

.loading,
.empty,
.apps86-denied {
  text-align: center;
  color: #6b7280;
  padding: 12px;
}

@media (min-width: 640px) {
  .apps86-cards {
    grid-template-columns: 1fr 1fr;
  }
}
@media (min-width: 1024px) {
  .apps86-cards {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

/* Bouton Annuler */
.swal2-cancel-custom {
  background-color: #6e7881 !important;
  color: #fff !important;
  border: none !important;
  border-radius: 6px;
  padding: 8px 16px;
  font-weight: 600;
  cursor: pointer;
}
.swal2-cancel-custom:hover,
.swal2-cancel-custom:focus,
.swal2-cancel-custom:active {
  background-color: #6e7881 !important;
  color: #fff !important;
  outline: none !important;
}

/* Bouton Confirmer */
.swal2-confirm-custom {
  background-color: #004459 !important;
  color: #fff !important;
  border: none !important;
  border-radius: 6px;
  padding: 8px 16px;
  font-weight: 600;
  cursor: pointer;
}
.swal2-confirm-custom:hover,
.swal2-confirm-custom:focus,
.swal2-confirm-custom:active {
  background-color: #004459 !important;
  color: #fff !important;
  outline: none !important;
}
