/* ==========================================================================
   notificationCard Component Styles
   Matches reference UI for Updates -> Notifications tab:
   - Clean vertical list with thin horizontal divider lines
   - 44px circular left icon container (#f3f4f6 bg, outline dark icon)
   - Title, description, action button (e.g. "Go to Learn"), time ago, and blue unread dot
   - No right chevron arrow per user spec
   ========================================================================== */

/* Section Container */
.notification-section {
  display: flex;
  flex-direction: column;
  width: 100%;
  box-sizing: border-box;
}

/* Vertical List with Dividers */
.notification-list {
  display: flex;
  flex-direction: column;
  width: 100%;
  background-color: #ffffff;
  border-radius: 8px;
  box-sizing: border-box;
}

/* Individual Notification Item Row */
.notification-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 4px;
  border-bottom: 1px solid #f3f4f6;
  width: 100%;
  box-sizing: border-box;
  text-decoration: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background-color 0.15s ease;
}

.notification-card:last-child {
  border-bottom: none;
}

.notification-card:hover {
  background-color: #fafafa;
}

/* Left Circular Icon Box (44x44px) */
.notification-icon-box {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background-color: #f3f4f6;
  color: #111827;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Middle Content Details Area */
.notification-content {
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1;
  min-width: 0;
}

.notification-title {
  font-family: var(--font-inter, 'Inter', sans-serif);
  font-size: 13.5px;
  font-weight: 700;
  color: #111827;
  letter-spacing: -0.01em;
  line-height: 1.35;
  margin: 0;
}

.notification-description {
  font-family: var(--font-inter, 'Inter', sans-serif);
  font-size: 11.5px;
  font-weight: 400;
  color: #6b7280;
  line-height: 1.4;
  margin: 0;
}

/* Action Button (e.g. "Go to Learn", "Open Library") */
.notification-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 13px;
  border-radius: 6px;
  background-color: rgba(81, 112, 255, 0.08);
  color: #5170FF;
  font-family: var(--font-inter, 'Inter', sans-serif);
  font-size: 11.5px;
  font-weight: 600;
  border: 1px solid rgba(81, 112, 255, 0.18);
  cursor: pointer;
  margin-top: 6px;
  width: fit-content;
  transition: background-color 0.15s ease, border-color 0.15s ease, transform 0.1s ease;
}

.notification-action-btn:hover {
  background-color: rgba(81, 112, 255, 0.15);
  border-color: rgba(81, 112, 255, 0.3);
}

.notification-action-btn:active {
  transform: scale(0.98);
}

/* Right Meta Info (Time Ago & Unread Dot) */
.notification-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  margin-top: 2px;
}

.notification-time {
  font-family: var(--font-inter, 'Inter', sans-serif);
  font-size: 11px;
  font-weight: 400;
  color: #9ca3af;
}

/* Blue Unread Dot Indicator (Primary Brand Blue #5170FF) */
.notification-unread-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #5170FF;
  display: inline-block;
  flex-shrink: 0;
}
