/* Admin → User Direct Messages Plugin Styles */

/* Make messages use full width of their parent container */
body .adm-user-messages {
  display: block;       /* instead of grid */
  width: 100%;
  padding: 0;
}

body .adm-user-messages .adm-message {
  width: 100%;
  max-width: 100%;      /* prevent shrinking */
  margin: 0 0 1rem 0;   /* spacing only at the bottom */
  box-sizing: border-box;

  /* Card styling */
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  background: #deffea;
  padding: 1rem 1.25rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  transition: transform 0.2s ease;
}

body .adm-user-messages .adm-message p,
body .adm-user-messages .adm-message div,
body .adm-user-messages .adm-message span {
  color: inherit;
}

body .adm-user-messages .adm-message:hover {
  transform: translateY(-3px);
}

/* Header */
.adm-message-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: .5rem;
  font-weight: 600;
  color: #1e293b;
}

/* Date */
.adm-message-header span {
  font-size: .8rem;
  color: #64748b;
}

/* Body */
.adm-message-body {
  font-size: .95rem;
  line-height: 1.6;
  color: #28306C !important;
}