/* ABN Dashboard Widgets — Greeting banner
   All selectors scoped under .abndash-greeting — no bare/global
   selectors anywhere in this file. */

.abndash-greeting {
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
  background: linear-gradient(135deg, #4d6cfa 0%, #6c86ff 100%);
  border-radius: 12px;
  padding: 36px 40px;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  box-sizing: border-box;
}

.abndash-greeting * {
  box-sizing: border-box;
}

.abndash-greeting-text h1 {
  color: #ffffff;
  font-size: 26px;
  font-weight: 800;
  margin: 0 0 6px;
  line-height: 1.25;
}

.abndash-greeting-text p {
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
  font-size: 14px;
}

.abndash-greeting-stats {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}

.abndash-stat {
  text-align: center;
}

.abndash-stat-num {
  font-size: 24px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
}

.abndash-stat-lbl {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 600px) {
  .abndash-greeting {
    padding: 24px;
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ==========================================================================
   Widget card frame (Announcements / Founders / Events / Members)
   All selectors scoped under .abndash-widget — no bare/global selectors.
   ========================================================================== */
.abndash-widget {
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
  background: #ffffff;
  border: 1px solid #e3e8f0;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 4px 20px rgba(15, 39, 68, 0.06);
  box-sizing: border-box;
}
.abndash-widget * { box-sizing: border-box; }

.abndash-widget-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.abndash-widget-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: #eef1ff;
  color: #4d6cfa;
  flex-shrink: 0;
}
.abndash-widget-icon svg { width: 16px; height: 16px; }

.abndash-widget-head h2 {
  font-size: 16px;
  font-weight: 700;
  color: #0f2744;
  margin: 0;
  flex: 1;
}
.abndash-viewall {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12.5px;
  font-weight: 700;
  color: #4d6cfa;
  text-decoration: none;
  white-space: nowrap;
}
.abndash-viewall:hover { color: #3a54d6; }
.abndash-viewall svg { width: 12px; height: 12px; }

.abndash-empty {
  color: #6b7f96;
  font-size: 13px;
  padding: 8px 0;
  margin: 0;
}

/* Founder mini cards */
.abndash-founder-list { display: flex; flex-direction: column; gap: 12px; }
.abndash-founder-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border: 1px solid #e3e8f0;
  border-radius: 8px;
  text-decoration: none;
  transition: border-color 0.15s;
}
.abndash-founder-card:hover { border-color: #4d6cfa; }
.abndash-founder-logo {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: #eef1f6;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: #6b7f96;
  font-size: 13px;
  overflow: hidden;
  flex-shrink: 0;
}
.abndash-founder-logo img { width: 100%; height: 100%; object-fit: contain; }
.abndash-founder-info { display: flex; flex-direction: column; }
.abndash-founder-name { font-size: 13.5px; font-weight: 700; color: #0f2744; }
.abndash-founder-chapter { font-size: 11.5px; color: #6b7f96; }

/* Event mini rows */
.abndash-event-row {
  display: flex;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid #e3e8f0;
}
.abndash-event-row:last-child { border-bottom: none; }
.abndash-event-date {
  background: #0f2744;
  color: #ffffff;
  border-radius: 8px;
  width: 46px;
  text-align: center;
  padding: 6px 0;
  flex-shrink: 0;
}
.abndash-event-mo { font-size: 9px; text-transform: uppercase; opacity: 0.7; }
.abndash-event-day { font-size: 16px; font-weight: 800; }
.abndash-event-title { font-size: 13.5px; font-weight: 700; color: #0f2744; margin: 0 0 2px; }
.abndash-event-meta { font-size: 11.5px; color: #6b7f96; margin: 0; }

/* Members CTA */
.abndash-members-cta { text-align: center; padding: 8px 0; }
.abndash-members-cta p { color: #6b7f96; font-size: 13px; margin: 0 0 16px; }
.abndash-btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: #0f2744;
  border: 1.5px solid #e3e8f0;
  border-radius: 8px;
  padding: 11px 22px;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  transition: border-color 0.15s, color 0.15s;
}
.abndash-btn-outline:hover { border-color: #4d6cfa; color: #4d6cfa; }
