/* ── Reusable Premium Activity Card Container ────────────────────────── */
.recentclass {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid rgba(99, 102, 241, 0.12);
  box-shadow: 0 4px 24px rgba(99, 102, 241, 0.10), 0 1px 4px rgba(0, 0, 0, 0.06);
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  height: 480px !important; /* Unified uniform height for both log cards */
  box-sizing: border-box;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  transition: box-shadow 0.25s ease;
}

.recentclass:hover {
  box-shadow: 0 8px 32px rgba(99, 102, 241, 0.18), 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* ── Activity Header ─────────────────────────────────────────────────── */
.activity-header-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  flex-shrink: 0;
  width: 100%;
}

.activity-header-title {
  color: #1E293B;
  font-size: 15px;
  font-weight: 700;
  margin: 0;
  letter-spacing: -0.01em;
}

/* ── Search Input inside Card ────────────────────────────────────────── */
.activity-search-input {
  width: 200px;
  padding: 6px 12px 6px 30px;
  font-size: 11px;
  border: 1px solid #CBD5E1;
  border-radius: 6px;
  outline: none;
  font-family: 'Inter', sans-serif;
  color: #1E293B;
  transition: all 0.15s ease;
}

.activity-search-input:focus {
  border-color: #6366F1;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

.activity-search-icon {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: #94A3B8;
  font-size: 11px;
}

/* ── Activity Table Headers (UsersActivity) ─────────────────────────── */
.activity-table-header {
  display: flex;
  padding: 10px 14px;
  background-color: #F8FAFC;
  border-radius: 6px;
  font-weight: 600;
  color: #64748B;
  font-size: 10.5px;
  border-bottom: 1.5px solid #E2E8F0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  flex-shrink: 0;
}

/* ── Activity Row Layout ─────────────────────────────────────────────── */
.activity-row {
  display: flex;
  align-items: center;
  padding: 12px 14px;
  border-bottom: 1px solid #F1F5F9;
  transition: background-color 0.15s ease;
  font-size: 12.5px;
  color: #334155;
  box-sizing: border-box;
}

.activity-row:hover {
  background-color: #F8FAFC;
}

.activity-row:last-child {
  border-bottom: none;
}

/* ── Scrollable section ──────────────────────────────────────────────── */
.activity_section {
  flex: 1;
  overflow-y: auto;
  padding-right: 4px;
}

.activity_section::-webkit-scrollbar {
  width: 4px;
}
.activity_section::-webkit-scrollbar-track {
  background: #F8FAFC;
}
.activity_section::-webkit-scrollbar-thumb {
  background: #CBD5E1;
  border-radius: 4px;
}

/* ── User circular initial icon ──────────────────────────────────────── */
.circle-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(99, 102, 241, 0.08);
  color: #6366F1;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 12px;
  font-weight: 600;
  flex-shrink: 0;
  margin-right: 12px;
  border: 1px solid rgba(99, 102, 241, 0.15);
}

.name_icon {
  text-transform: uppercase;
}

/* ── Typography & Links ───────────────────────────────────────────────── */
.name {
  color: #1E293B;
  font-size: 13px;
  font-weight: 600;
  margin-right: 8px;
}

.activity-message-link {
  color: #475569;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.15s ease;
}

.activity-message-link:hover {
  color: #6366F1;
  text-decoration: underline;
}

.activity-timestamp-container {
  display: flex;
  gap: 12px;
  margin-top: 4px;
  color: #94A3B8;
  font-size: 11px;
  font-weight: 500;
}

.activity-timestamp-icon {
  margin-right: 4px;
  color: #CBD5E1;
}

/* ── Modern Status Badges ────────────────────────────────────────────── */
.status-badge {
  padding: 3px 10px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  display: inline-block;
  text-align: center;
}

.status-success {
  background-color: #E6FDF4;
  color: #10B981;
  border: 1px solid rgba(16, 185, 129, 0.18);
}

.status-failed {
  background-color: #FDF2F2;
  color: #EF4444;
  border: 1px solid rgba(239, 68, 68, 0.18);
}

.status-pending {
  background-color: #FFFDF5;
  color: #F59E0B;
  border: 1px solid rgba(245, 158, 11, 0.18);
}

.status-default {
  background-color: #F8FAFC;
  color: #64748B;
  border: 1px solid #E2E8F0;
}
