/* ==========================
   DEVICE APPROVALS
========================== */

#deviceApprovalsSection {
  width: calc(100vw - 260px);
  min-width: 1180px;
  padding: 24px 32px;
  box-sizing: border-box;
}

.device-admin-shell {
  width: 100%;
  background: #fff;
  padding: 30px;
  border-radius: 18px;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.10);
  box-sizing: border-box;
}

#reloadDeviceApprovals {
  width: auto !important;
  max-width: 160px;
}

.device-admin-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.device-admin-header h2 {
  margin: 0;
}

.device-admin-header p {
  margin: 4px 0 0;
  color: #666;
  font-size: 14px;
}

.device-admin-status {
  min-height: 20px;
}

.device-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.device-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 1px 3px rgba(0,0,0,.08);
}

.device-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  gap: 10px;
  flex-wrap: wrap;
}

.device-card-header h4 {
  margin: 0;
  font-size: 16px;
}

.device-card-body {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(220px,1fr));
  gap: 8px 16px;
}

.device-field {
  font-size: 14px;
}

.device-field strong {
  color: #374151;
}

.device-actions {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}

.btn-device-approve {
  background: #16a34a;
  color: white;
  border: 0;
  border-radius: 8px;
  padding: 8px 14px;
  cursor: pointer;
  font-weight: 600;
}

.btn-device-approve:hover {
  opacity: .9;
}

.btn-device-reject {
  background: #dc2626;
  color: white;
  border: 0;
  border-radius: 8px;
  padding: 8px 14px;
  cursor: pointer;
  font-weight: 600;
}

.btn-device-reject:hover {
  opacity: .9;
}

.device-empty {
  text-align: center;
  padding: 30px;
  color: #6b7280;
  background: #fff;
  border: 1px dashed #d1d5db;
  border-radius: 12px;
}

#toast-confirm{
  background-color: #ff4f00;
}