/* ==========================================================================
   Geschreven Gedichten Plugin — Versie 3.0 Theme-Aligned Stylesheet
   Verbindt elke plugin-module naadloos met het 1200px Ontwerp 3.0 systeem.
   ========================================================================== */

:root {
  --gg-p-bg: var(--gg-v3-bg, #FAF8F5);
  --gg-p-surface: var(--gg-v3-surface, #FFFFFF);
  --gg-p-surface-soft: var(--gg-v3-surface-soft, #F3EFE8);
  --gg-p-border: var(--gg-v3-border, #E8E2D9);
  --gg-p-ink: var(--gg-v3-ink, #1E242B);
  --gg-p-muted: var(--gg-v3-muted, #5C6470);
  --gg-p-primary: var(--gg-v3-primary, #1792E1);
  --gg-p-primary-dark: var(--gg-v3-primary-dark, #305D9E);
  --gg-p-accent: var(--gg-v3-accent, #FD6721);
  --gg-p-accent-hover: var(--gg-v3-accent-hover, #E25614);
  --gg-p-radius: var(--gg-v3-radius, 18px);
  --gg-p-container: var(--gg-v3-container, 1200px);
  --gg-p-serif: var(--gg-v3-font-serif, 'Baskervville', Georgia, serif);
  --gg-p-sans: var(--gg-v3-font-sans, 'Outfit', system-ui, sans-serif);
}

/* 1. Uniforme 1200px breedte voor alle plugin-wrappers */
.gg-studio-wrap,
.ggu-studio,
.gg-gastatelier,
.gg-prentenhuis,
.gg-atelier-wrap,
.gg-rhyme-app,
.gg-synonyms-app,
.gg-woordenbrug-app,
.gg-dichtopdrachten-app,
.gg-profile-workspace,
.gg-community-wrap,
.gg-bundles-wrap,
.gg-pricing-wrap,
.gg-faq-wrap,
.gg-discovery-wrap {
  width: 100% !important;
  max-width: var(--gg-p-container) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  box-sizing: border-box !important;
  font-family: var(--gg-p-sans);
  color: var(--gg-p-ink);
}

/* 2. Kaarten, panelen en formulieren in alle plugin-modules */
.ggu-studio-card,
.gg-gastatelier-card,
.gg-gastgedicht-card,
.gg-prentenhuis-card,
.gg-rhyme-card,
.gg-synonym-card,
.gg-woordenbrug-card,
.gg-challenge-card,
.gg-profile-card,
.gg-bundle-card,
.gg-pricing-card,
.gg-auth-card,
.gg-member-gate-card,
.gg-popup-card,
.gg-faq-item {
  background: var(--gg-p-surface) !important;
  border: 1px solid var(--gg-p-border) !important;
  border-radius: var(--gg-p-radius) !important;
  box-shadow: 0 6px 22px rgba(30, 36, 43, 0.05) !important;
  color: var(--gg-p-ink) !important;
}

/* 3. Formuliervelden binnen Studio, Gastatelier, Rijm, Portaal & Auth */
.gg-platform-v3 input[type="text"],
.gg-platform-v3 input[type="email"],
.gg-platform-v3 input[type="password"],
.gg-platform-v3 input[type="search"],
.gg-platform-v3 input[type="url"],
.gg-platform-v3 select,
.gg-platform-v3 textarea {
  background: var(--gg-p-surface) !important;
  color: var(--gg-p-ink) !important;
  border: 1.5px solid var(--gg-p-border) !important;
  border-radius: 12px !important;
  font-family: var(--gg-p-sans) !important;
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

.gg-platform-v3 input:focus,
.gg-platform-v3 select:focus,
.gg-platform-v3 textarea:focus {
  border-color: var(--gg-p-primary) !important;
  box-shadow: 0 0 0 3px rgba(23, 146, 225, 0.16) !important;
  outline: none !important;
}

/* 4. Consistente CRO-knoppen binnen alle plugin-modules */
.gg-platform-v3 .gg-btn-primary,
.gg-platform-v3 .gg-submit-btn,
.gg-platform-v3 .gg-cta-btn,
.gg-platform-v3 .gg-prent-download-btn,
.gg-platform-v3 .gg-auth-submit {
  background: var(--gg-p-accent) !important;
  color: #FFFFFF !important;
  border: none !important;
  border-radius: 999px !important;
  font-weight: 600 !important;
  padding: 11px 22px !important;
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.15s ease;
}

.gg-platform-v3 .gg-btn-primary:hover,
.gg-platform-v3 .gg-submit-btn:hover,
.gg-platform-v3 .gg-cta-btn:hover,
.gg-platform-v3 .gg-prent-download-btn:hover,
.gg-platform-v3 .gg-auth-submit:hover {
  background: var(--gg-p-accent-hover) !important;
  transform: translateY(-1px);
}

.gg-platform-v3 .gg-btn-secondary,
.gg-platform-v3 .gg-tool-chip {
  background: var(--gg-p-surface-soft) !important;
  color: var(--gg-p-ink) !important;
  border: 1px solid var(--gg-p-border) !important;
  border-radius: 999px !important;
  font-weight: 500 !important;
}

.gg-platform-v3 .gg-btn-secondary:hover,
.gg-platform-v3 .gg-tool-chip:hover {
  border-color: var(--gg-p-primary) !important;
  color: var(--gg-p-primary-dark) !important;
}

/* 5. Hartjes & Vertaalmodule */
.gg-poem-heart-btn {
  border-radius: 999px !important;
  border: 1px solid var(--gg-p-border) !important;
  background: var(--gg-p-surface) !important;
  color: var(--gg-p-ink) !important;
}

.gg-poem-heart-btn.is-liked,
.gg-poem-heart-btn[aria-pressed="true"] {
  background: rgba(253, 103, 33, 0.12) !important;
  border-color: var(--gg-p-accent) !important;
  color: var(--gg-p-accent) !important;
}
