/* Container et titre */
.container {
  max-width: 800px;
  margin: 0 auto;
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border: 2px solid #d6b5f5;
}

.title {
  text-align: center;
  font-size: 1.5rem;
  color: #6b46c1;
  margin-bottom: 20px;
}

/* Table */
.table-container {
  overflow: auto;
}

.custom-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  border: 1px solid #e2e8f0;
}

  .custom-table thead {
    background-color: #f3e8ff;
    color: #6b46c1;
  }

  .custom-table th,
  .custom-table td {
    padding: 12px;
    border: 1px solid #e2e8f0;
    color: #4a5568;
  }

  .custom-table tbody tr:nth-child(even) {
    background-color: #faf5ff;
  }

/* Actions */
.actions {
  text-align: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  font-size: 14px;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

  .btn i {
    margin-right: 8px;
  }

.btn-accept {
  background-color: #38a169;
}

  .btn-accept:hover {
    background-color: #2f855a;
  }

.btn-reject {
  background-color: #e53e3e;
  margin-left: 8px;
}

  .btn-reject:hover {
    background-color: #c53030;
  }

/* Pas de demandes */
.no-requests {
  text-align: center;
  color: #a0aec0;
  padding: 16px;
}

/* Responsive Design */
@media (max-width: 640px) {
  .custom-table th,
  .custom-table td {
    padding: 6px;
  }

  .btn {
    padding: 5px;
    margin: 2px;
  }

    .btn i {
      margin-right: 0px;
    }

    .btn span {
      display: none; /* Cache "Accepter" et "Rejeter" sur mobile */
    }
}
