/* ============================================================
   COMPONENT FONTS
   PP Right Grotesk — armazenada localmente em /fonts/
   Source Sans Pro — carregada via Google Fonts (functions.php)
   ============================================================ */

@font-face {
  font-family: 'PP Right Grotesk';
  src: url('../fonts/PPRightGrotesk-WideMedium.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'PP Right Grotesk';
  src: url('../fonts/PPRightGrotesk-WideMediumItalic.otf') format('opentype');
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}

/* ============================================================
   NOTIFICATION CARD — Fake Door Component
   Design: Figma / Girassol DS
   Cores próprias do produto (não seguem o DS do portfólio)
   ============================================================ */

/* Tokens locais do componente */
:root {
  --nc-brand-pure:       #00B569;
  --nc-brand-dark:       #007A3D;
  --nc-brand-light:      #E6FFF4;
  --nc-text-primary:     #1A1A2E;
  --nc-text-muted:       #8A8A8A;
  --nc-bg-default:       #FFFFFF;
  --nc-bg-hover:         #F5F5F5;
  --nc-border:           #E8E8E8;
  --nc-divider:          #EBEBEB;
}

/* Container wrapper — responsivo */
.notification-card-wrapper {
  width: 100%;
}

/* Card */
.notification-card {
  display: flex;
  flex-direction: column;
  gap: 0;
  background: var(--nc-bg-default);
  border: 1px solid var(--nc-border);
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  transition: background 0.2s ease;
  width: 100%;
  box-sizing: border-box;
}

.notification-card:hover {
  background: var(--nc-bg-hover);
}

/* Conteúdo interno */
.notification-content {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 16px;
  padding: 24px 16px;
  width: 100%;
  box-sizing: border-box;
}

/* Ícone circular */
.notification-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #F3FFD8;
  padding: 12px;
  box-sizing: border-box;
  transition: background 0.2s ease;
}

.notification-card:hover .notification-icon {
  background: #DEDEDE;
}

.notification-card:hover .notification-icon svg {
  color: #757575;
}

.notification-card:hover .notification-icon svg path {
  fill: currentColor;
}

.notification-card:hover .notification-title {
  color: #757575;
}

.notification-icon svg {
  width: 24px;
  height: 24px;
  display: block;
  color: var(--nc-brand-pure);
  transition: color 0.2s ease;
}

/* Coluna de texto */
.notification-text {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  min-width: 0;
}

/* Título */
.notification-title {
  font-family: 'PP Right Grotesk', 'Source Sans Pro', sans-serif;
  font-size: 20px;
  font-weight: 500;
  font-style: normal;
  line-height: 115%;
  color: var(--nc-text-primary);
  margin: 0;
}

/* Corpo */
.notification-body {
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 150% !important;
  color: var(--nc-text-primary);
  margin: 0;
}

.notification-body a {
  color: var(--nc-brand-dark);
  font-weight: 400;
  text-decoration: underline;
  transition: color 0.2s ease;
  pointer-events: none;
  cursor: default;
}

.notification-body a:hover {
  color: var(--nc-brand-dark);
}

/* Data */
.notification-date {
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 115%;
  color: var(--nc-text-muted);
  margin: 0;
}

/* Divisor */
.notification-divider {
  width: 100%;
  height: 1px;
  background: var(--nc-divider);
  margin: 0;
}

/* Reset — sobrescreve .conteudo-padrao p e estilos globais do tema */
.notification-card-wrapper p,
.notification-card-wrapper .notification-title,
.notification-card-wrapper .notification-body,
.notification-card-wrapper .notification-date {
  margin: 0;
  padding: 0;
  line-height: 115%;
}

.conteudo-padrao .notification-card-wrapper p {
  margin-bottom: 0;
  line-height: 115%;
}

/* Responsivo */
@media (max-width: 480px) {
  .notification-title {
    font-size: 17px;
  }
}
