/*
Theme Name: Eternal Exports
Theme URI: https://export.eternaltechverse.com/
Description: Child theme of Astra carrying the Eternal Exports design system. Header, footer and page templates are provided by this theme; page content is edited as normal WordPress pages.
Author: Eternal Techverse
Template: astra
Version: 1.0.0
Text Domain: eternal-exports
*/

/* The design system lives in assets/css/styles.css, enqueued from functions.php.
   Add only WordPress-specific overrides below. */

/* Keep the admin bar from overlapping the non-sticky header. */
body.admin-bar .site-header {
  top: 0;
}

/* Astra wraps content in its own containers; neutralise its padding so our
   full-bleed sections (hero gradient, navy pain band, footer) reach the edges. */
.ast-container,
#primary,
#content .ast-container {
  max-width: none;
  padding: 0;
  margin: 0;
  width: 100%;
}

#page .site-content,
#content {
  padding: 0;
  margin: 0;
}

.entry-content {
  margin: 0;
}

.entry-content > * {
  margin-block: 0;
}

/* ------------------------------------------------------------------
   Fluent Forms, mapped onto the Eternal Exports design system so the
   demo form matches the rest of the site rather than the plugin default.
   ------------------------------------------------------------------ */

.frm-fluent-form .ff-el-group {
  margin-bottom: var(--space-6);
}

.frm-fluent-form .ff-el-input--label label {
  display: block;
  margin-bottom: var(--space-2);
  color: var(--navy-900);
  font-size: 15px;
  font-weight: 700;
}

.frm-fluent-form .ff-el-is-required.asterisk-right label:after,
.frm-fluent-form .ff-el-is-required label:after {
  color: var(--error);
}

.frm-fluent-form .ff-el-form-control {
  width: 100%;
  min-height: 48px;
  padding: 0 var(--space-4);
  border: 1px solid var(--input-border);
  border-radius: var(--radius-sm);
  background: var(--page);
  color: var(--text);
  font-family: inherit;
  font-size: 16px;
  line-height: 1.5;
  box-shadow: none;
}

.frm-fluent-form textarea.ff-el-form-control {
  min-height: 96px;
  padding: var(--space-3) var(--space-4);
}

.frm-fluent-form select.ff-el-form-control {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M4 6l4 4 4-4' stroke='%23334155' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
}

.frm-fluent-form .ff-el-form-control:focus {
  border-color: var(--blue-600);
  outline: 3px solid rgba(60, 92, 224, .15);
  outline-offset: 1px;
  box-shadow: none;
}

.frm-fluent-form .ff-el-help-message {
  margin-top: var(--space-1);
  color: var(--muted);
  font-size: 13px;
}

.frm-fluent-form .error-text,
.frm-fluent-form .ff-el-is-error .text-danger {
  margin-top: var(--space-1);
  color: var(--error);
  font-size: 13px;
}

.frm-fluent-form .ff-el-is-error .ff-el-form-control {
  border-color: var(--error);
}

/* Consent checkbox row */
.frm-fluent-form .ff-el-form-check {
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
}

.frm-fluent-form .ff-el-form-check-label {
  color: var(--text);
  font-size: 14px;
  line-height: 1.55;
}

.frm-fluent-form .ff-el-form-check-input {
  margin-top: 4px;
  flex-shrink: 0;
}

/* Buttons: submit, and the step next/previous controls */
.frm-fluent-form .ff-btn-submit,
.frm-fluent-form .ff-btn-next,
.frm-fluent-form .ff-btn-prev {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border: 2px solid transparent;
  border-radius: var(--radius-btn);
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}

.frm-fluent-form .ff-btn-submit,
.frm-fluent-form .ff-btn-next {
  background: var(--blue-700);
  color: #fff;
  box-shadow: 0 8px 20px rgba(47, 79, 199, .22);
}

.frm-fluent-form .ff-btn-submit:hover,
.frm-fluent-form .ff-btn-next:hover {
  background: var(--navy-900);
  color: #fff;
}

.frm-fluent-form .ff-btn-prev {
  background: transparent;
  border-color: var(--line);
  color: var(--blue-700);
  box-shadow: none;
}

.frm-fluent-form .ff-btn-prev:hover {
  background: var(--blue-50);
  border-color: var(--blue-700);
  color: var(--navy-900);
}

.frm-fluent-form .step-nav {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-6);
  padding-top: var(--space-6);
  border-top: 1px solid var(--line);
}

/* Step progress indicator */
.frm-fluent-form .ff-el-progress {
  height: 6px;
  margin-bottom: var(--space-6);
  border-radius: 999px;
  background: var(--blue-100);
}

.frm-fluent-form .ff-el-progress-bar {
  border-radius: 999px;
  background: var(--blue-700);
  color: transparent;
  font-size: 0;
}

.frm-fluent-form .ff-el-progress-status,
.frm-fluent-form .ff-step-titles {
  margin-bottom: var(--space-3);
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.frm-fluent-form .ff-step-titles li.active {
  color: var(--blue-700);
  font-weight: 700;
}

/* Success / error messaging after submit */
.ff-message-success {
  padding: var(--space-6);
  border: 1px solid var(--success);
  border-radius: var(--radius-card-sm);
  background: #f0fdf4;
  color: var(--success);
}

.frm-fluent-form .ff_submitting_msg,
.frm-fluent-form .error {
  font-size: 14px;
}
