.gadgetStyle002 .gadgetStyleBody {
    padding: 0px 28px 32px;
}
.WaGadgetLoginForm .loginContainer.loginContainer .loginLink {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 50px;
    overflow: hidden;
    background: #ffffff;
    color: #1f272b;
    line-height: 400px;
    vertical-align: top;
    text-decoration: none;
    cursor: pointer;
}
.WaGadgetMenuHorizontal .menuInner ul.firstLevel {
    display: table;
    margin: 0;
    padding: 0;
    background: #424242;
    text-align: left;
    list-style: none;
    color: white;
    zoom: 1;
}
.WaGadgetMenuHorizontal .menuInner {
    position: relative;
    margin: 0;
    background: #424242;
}
.WaGadgetMenuHorizontal .menuInner ul.firstLevel {
    display: table;
    margin: 0;
    padding: 0;
    background: #424242;
    text-align: left;
    list-style: none;
    color: white;
    zoom: 1;
}
.WaGadgetMenuHorizontal .menuInner ul.firstLevel>li>.item>a {
    position: relative;
    display: block;
    height: 26px;
    padding: 26px 13px 27px;
    background: inherit;
    color: white;
    font: normal 18px/26px 'Ubuntu Condensed','Arial',sans-serif;
    white-space: nowrap;
    vertical-align: top;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
}

.WaGadgetFirst {
    margin-top: 0;
    color: white;
}
a {
    color: #ffffff;
    text-decoration: underline;
}

#idFooterPoweredByWA {
    display: inline-block;
    letter-spacing: normal;
    vertical-align: middle;
    color: #000; 
}
#idFooterPoweredByWA a {color: #000;}
.WaGadgetOnly {
    margin-top: 0;
    margin-bottom: 0;
    color: white;
}
.WaPlaceHolder > div {
    padding: 0;color: white;
    margin-bottom: 0px;
}
#idFooterPoweredByContainer {
    height: 40px;
    letter-spacing: -10px;
    text-align: left;
    color: white;
    padding-left: 0px;

}

.zoneFooter1 {
    background: 0;
    margin-top: -25px;
}


.WaGadgetEventsStateList a {
    padding: 0 0 1px 7px;
    vertical-align: top;
    text-align: left;
    color: black;
}
.boxInfoContainer{color: black;}.boxBodyInfoContainer {
    font-size: 13px;
    margin-top: 6px;
    margin-bottom: 20px;
    padding: 0 20px;
    background: white;
    border-right: 3px solid #34495e;
}
.fieldContainer, .standAloneGroupContainer{color:black;}










/* ==========================================================================
   NZSUG - NEW ZEALAND SAP USER GROUP
   Modern Design System & CSS Architecture (CSS Variables + Components)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. DESIGN TOKENS (CSS Custom Properties)
   -------------------------------------------------------------------------- */
:root {
  /* Brand Palette (SAP Synergy + NZ Tech Identity) */
  --color-primary-dark: #0a192f;      /* Deep Midnight Navy (Header/Hero) */
  --color-primary-navy: #002b49;      /* Classic SAP Deep Blue */
  --color-accent-blue: #0070f3;       /* Actionable Primary Blue */
  --color-accent-cyan: #00f2fe;       /* Dynamic Vibrant Cyan Accent */
  --color-accent-amber: #f5a623;      /* Highlight / Alert Badge Amber */

  /* Neutral Spectrum */
  --color-bg-main: #f8fafc;           /* Crisp Light Background */
  --color-bg-card: #ffffff;           /* Pure White Card Base */
  --color-bg-alt: #f1f5f9;            /* Alt Section Background */
  --color-text-main: #0f172a;         /* High Contrast Charcoal Body Text */
  --color-text-muted: #64748b;        /* Secondary Subtext */
  --color-border: #e2e8f0;            /* Subtle Neutral Dividers */

  /* Structural Variables */
  --font-family-base: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-family-mono: "SF Mono", SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace;
  --border-radius-sm: 6px;
  --border-radius-md: 12px;
  --border-radius-lg: 20px;
  --border-radius-pill: 9999px;

  /* Elevated Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 12px 28px rgba(0, 0, 0, 0.12);
  --shadow-hover: 0 16px 36px rgba(0, 112, 243, 0.15);

  /* Transitions & Animation */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --------------------------------------------------------------------------
   2. GLOBAL RESETS & TYPOGRAPHY
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-family-base);
  background-color: var(--color-bg-main);
  color: var(--color-text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 {
  color: var(--color-primary-dark);
  font-weight: 700;
  line-height: 1.25;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 1.875rem; }
h3 { font-size: 1.35rem; }

a {
  color: var(--color-accent-blue);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  text-decoration: underline;
}

/* --------------------------------------------------------------------------
   3. NAVIGATION HEADER
   -------------------------------------------------------------------------- */
.nzsug-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--color-primary-dark);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.85rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  backdrop-filter: blur(8px);
}

.nzsug-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #ffffff;
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.nzsug-brand-badge {
  background: linear-gradient(135deg, var(--color-accent-blue), var(--color-accent-cyan));
  color: #ffffff;
  padding: 0.25rem 0.6rem;
  border-radius: var(--border-radius-sm);
  font-size: 0.8rem;
  font-weight: 700;
}

.nzsug-nav-links {
  display: flex;
  list-style: none;
  gap: 1.75rem;
  align-items: center;
}

.nzsug-nav-item a {
  color: #e2e8f0;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.4rem 0.2rem;
  border-bottom: 2px solid transparent;
}

.nzsug-nav-item a:hover,
.nzsug-nav-item.active a {
  color: var(--color-accent-cyan);
  border-bottom-color: var(--color-accent-cyan);
  text-decoration: none;
}

/* Auth CTA Cluster */
.nzsug-header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* --------------------------------------------------------------------------
   4. BUTTONS & CONTROLS
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.35rem;
  font-size: 0.925rem;
  font-weight: 600;
  border-radius: var(--border-radius-pill);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition-normal);
  text-decoration: none !important;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-accent-blue), #0056b3);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(0, 112, 243, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 112, 243, 0.5);
}

.btn-outline {
  background: transparent;
  color: var(--color-accent-blue);
  border-color: var(--color-accent-blue);
}

.btn-outline:hover {
  background-color: rgba(0, 112, 243, 0.08);
}

.btn-ghost-dark {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}

.btn-ghost-dark:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* --------------------------------------------------------------------------
   5. HERO SECTION
   -------------------------------------------------------------------------- */
.nzsug-hero {
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary-navy) 100%);
  color: #ffffff;
  padding: 5rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.nzsug-hero-content {
  max-width: 850px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.nzsug-hero h1 {
  color: #ffffff;
  font-size: 3rem;
  margin-bottom: 1.25rem;
  letter-spacing: -0.03em;
}

.nzsug-hero p {
  font-size: 1.2rem;
  color: #94a3b8;
  margin-bottom: 2rem;
  font-weight: 400;
}

.nzsug-hero-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* --------------------------------------------------------------------------
   6. CONTAINER & LAYOUT GRIDS
   -------------------------------------------------------------------------- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

.section-header {
  margin-bottom: 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.section-title {
  font-size: 1.75rem;
  letter-spacing: -0.02em;
}

.section-subtitle {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  margin-top: 0.25rem;
}

/* Dynamic Grid Systems */
.grid-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.75rem;
}

/* --------------------------------------------------------------------------
   7. EVENT CARDS COMPONENT
   -------------------------------------------------------------------------- */
.event-card {
  background-color: var(--color-bg-card);
  border-radius: var(--border-radius-md);
  border: 1px solid var(--color-border);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.event-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(0, 112, 243, 0.3);
}

.event-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  border-radius: var(--border-radius-pill);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
  width: fit-content;
}

.badge-summit { background-color: #e0f2fe; color: #0369a1; }
.badge-regional { background-color: #fef3c7; color: #b45309; }
.badge-virtual { background-color: #f3e8ff; color: #6b21a8; }

.event-date {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-accent-blue);
  margin-bottom: 0.25rem;
}

.event-title {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.event-location {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 1.5rem;
}

/* --------------------------------------------------------------------------
   8. SPECIAL INTEREST GROUP (SIG) TILES
   -------------------------------------------------------------------------- */
.sig-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-md);
  padding: 1.75rem;
  border-left: 4px solid var(--color-accent-blue);
  transition: all var(--transition-normal);
}

.sig-card:hover {
  box-shadow: var(--shadow-md);
  border-left-color: var(--color-accent-cyan);
}

.sig-icon {
  width: 42px;
  height: 42px;
  background-color: rgba(0, 112, 243, 0.1);
  border-radius: var(--border-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent-blue);
  font-weight: bold;
  margin-bottom: 1rem;
}

/* --------------------------------------------------------------------------
   9. MEMBERSHIP COMPARISON TABLE
   -------------------------------------------------------------------------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.pricing-card {
  background-color: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-lg);
  padding: 2.5rem 2rem;
  text-align: center;
  position: relative;
  box-shadow: var(--shadow-sm);
}

.pricing-card.featured {
  border: 2px solid var(--color-accent-blue);
  box-shadow: var(--shadow-lg);
}

.pricing-title {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.pricing-cost {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--color-primary-dark);
  margin-bottom: 1.5rem;
}

.pricing-features {
  list-style: none;
  text-align: left;
  margin-bottom: 2rem;
}

.pricing-features li {
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--color-bg-alt);
  font-size: 0.925rem;
  color: var(--color-text-main);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.pricing-features li::before {
  content: "✓";
  color: #10b981;
  font-weight: bold;
}

/* --------------------------------------------------------------------------
   10. FOOTER
   -------------------------------------------------------------------------- */
.nzsug-footer {
  background-color: var(--color-primary-dark);
  color: #94a3b8;
  padding: 4rem 2rem 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.875rem;
}

.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand {
  color: #ffffff;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.footer-column h4 {
  color: #ffffff;
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.footer-column ul {
  list-style: none;
}

.footer-column ul li {
  margin-bottom: 0.5rem;
}

.footer-column ul li a {
  color: #94a3b8;
}

.footer-column ul li a:hover {
  color: #ffffff;
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

/* --------------------------------------------------------------------------
   11. RESPONSIVE BREAKPOINTS
   -------------------------------------------------------------------------- */
@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .nzsug-header {
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
  }

  .nzsug-nav-links {
    gap: 1rem;
    font-size: 0.85rem;
  }

  .nzsug-hero h1 {
    font-size: 2rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}









/* Style WildApricot Native Upcoming Event Gadget into Cards */
.WaGadgetUpcomingEvents .WaGadgetUpcomingEventsList > ul {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)) !important;
  gap: 1.5rem !important;
  list-style: none !important;
  padding: 0 !important;
}

.WaGadgetUpcomingEvents .eventStyleItem {
  background: var(--color-bg-card) !important;
  border: 1px solid var(--color-border) !important;
  border-radius: var(--border-radius-md) !important;
  padding: 1.5rem !important;
  box-shadow: var(--shadow-sm) !important;
  transition: all var(--transition-normal) !important;
}

.WaGadgetUpcomingEvents .eventStyleItem:hover {
  transform: translateY(-4px) !important;
  box-shadow: var(--shadow-hover) !important;
  border-color: rgba(0, 112, 243, 0.3) !important;
}

/* Format Event Title */
.WaGadgetUpcomingEvents .eventStyleItem .title a {
  font-size: 1.25rem !important;
  font-weight: 700 !important;
  color: var(--color-primary-dark) !important;
}

/* Format Action Button */
.WaGadgetUpcomingEvents .eventStyleItem .registrationControl input[type="button"],
.WaGadgetUpcomingEvents .eventStyleItem .registrationControl a {
  background: linear-gradient(135deg, var(--color-accent-blue), #0056b3) !important;
  color: #ffffff !important;
  border-radius: var(--border-radius-pill) !important;
  padding: 0.5rem 1.25rem !important;
  border: none !important;
  font-weight: 600 !important;
}









/* Hide default WildApricot attribution footer if using a custom footer */
.footerPoweredBy {
  display: none !important;
}

/* Enforce dark theme on footer gadgets */
.nzsug-footer-gadget {
  background-color: var(--color-primary-dark) !important;
  color: #94a3b8 !important;
}

/* General system branding hide */
.wa-branding, 
.footer-branding, 
#idFooterBranding {
    display: none !important;
}