/* =========================================================
   File: assets/css/integrations.css
   Project: DumagueteAA QCS Lite
   Version: 0.1.0

   Purpose:
   Third-party integration containment layer.

   This file exists to normalize and contain
   output from plugins and external systems.

   Examples:
   - Ninja Tables
   - Newsletter plugin
   - Form plugins
   - Stripe embeds
   - Future integrations

   Rules:
   - Do not define brand styling here.
   - Do not define layout primitives here.
   - Only normalize integration output.
   ========================================================= */


/* =========================================================
   01) NINJA TABLES
   ========================================================= */

.ninja_table_wrapper,
.ninja-tables {
  width: 100%;
  max-width: 100%;
}

.ninja_table_wrapper table,
.ninja-tables table {
  width: 100%;
}


/* =========================================================
   02) NEWSLETTER PLUGIN
   ========================================================= */

.newsletter,
.newsletter-form {
  width: 100%;
  max-width: 100%;
}


/* =========================================================
   03) FORM PLUGIN CONTAINMENT
   ========================================================= */

.forminator-ui,
.wpforms-container,
.gform_wrapper {
  width: 100%;
  max-width: 100%;
}


/* =========================================================
   04) STRIPE EMBEDS
   ========================================================= */

.stripe-button-el,
.stripe-payment-form,
.stripe-checkout {
  max-width: 100%;
}


/* =========================================================
   05) IFRAME CONTAINMENT
   ========================================================= */

iframe {
  max-width: 100%;
}


/* =========================================================
   06) EMBEDDED MEDIA
   ========================================================= */

.embed-responsive,
.wp-block-embed {
  max-width: 100%;
}


/* =========================================================
   07) ERROR OUTPUT
   ========================================================= */

.daa-integration-error {
  margin-top: var(--daa-space-sm);
}


/* =========================================================
   08) SUCCESS OUTPUT
   ========================================================= */

.daa-integration-success {
  margin-top: var(--daa-space-sm);
}


/* =========================================================
   09) CAPABILITY PLACEHOLDERS
   ========================================================= */

/*
Future integrations:

- Events Capability
- Payment Capability
- Newsletter Capability
- Subscriber Management Capability
- Privacy & Consent Capability

*/


/* =========================================================
   10) MAINTENANCE NOTES
   ========================================================= */

/*
Do not style integrations globally.

Normalize first.
Contain second.
Refine only when required.

Keep integrations subordinate to QCS Lite
architecture.
*/