/**
 * Gravity Forms — PBC brand overrides (Orbital theme)
 *
 * Core brand colors (primary gold, border radius, input/label/button colors)
 * are set via the gform_default_styles PHP filter, which injects them at high
 * specificity through Orbital's own inline <style> blocks.
 *
 * This stylesheet handles everything the filter can't: font families, button
 * text treatment, focus ring styling, section breaks, file uploads, progress
 * bars, validation states, and confirmation messages.
 *
 * Targets .gform-theme to override the framework defaults without needing
 * !important.
 */


/* ==========================================================================
   1. BASE FONT FAMILIES
   ========================================================================== */

.gform-theme {
	/* Primary font stack used across the framework */
	--gf-font-family-primary: Arial, Helvetica, sans-serif;
	--gf-font-family-secondary: Arial, Helvetica, sans-serif;
	--gf-font-family-tertiary: Arial, Helvetica, sans-serif;
}


/* ==========================================================================
   2. LABELS
   ========================================================================== */

.gform-theme {
	--gf-ctrl-label-font-family-primary: Arial, Helvetica, sans-serif;
	--gf-ctrl-label-font-family-secondary: Arial, Helvetica, sans-serif;
	--gf-ctrl-label-font-family-tertiary: Arial, Helvetica, sans-serif;
	--gf-ctrl-label-font-family-quaternary: Arial, Helvetica, sans-serif;
	--gf-ctrl-label-font-family-req: Arial, Helvetica, sans-serif;
}


/* ==========================================================================
   3. INPUT CONTROLS — Typography
   ========================================================================== */

.gform-theme {
	--gf-ctrl-font-family: Georgia, 'Times New Roman', serif;
	--gf-ctrl-placeholder-font-family: Georgia, 'Times New Roman', serif;
	--gf-ctrl-readonly-font-family: Georgia, 'Times New Roman', serif;
}


/* ==========================================================================
   4. DESCRIPTIONS & SUB-LABELS
   ========================================================================== */

.gform-theme {
	--gf-ctrl-desc-font-family: Arial, Helvetica, sans-serif;
	--gf-ctrl-desc-font-family-error: Arial, Helvetica, sans-serif;
}


/* ==========================================================================
   5. BUTTONS — Submit, Next, Previous
   ========================================================================== */

.gform-theme {
	/* Font treatment */
	--gf-ctrl-btn-font-family: Arial, Helvetica, sans-serif;
	--gf-ctrl-btn-font-weight: 700;
	--gf-ctrl-btn-text-transform: uppercase;
	--gf-ctrl-btn-letter-spacing: 0.08em;
	--gf-ctrl-btn-line-height: 1;
	--gf-ctrl-btn-radius: 0;

	/* Remove shadows (PBC: no shadows anywhere) */
	--gf-ctrl-btn-shadow: none;
	--gf-ctrl-btn-shadow-hover: none;
	--gf-ctrl-btn-shadow-focus: none;
	--gf-ctrl-btn-shadow-disabled: none;
	--gf-ctrl-btn-shadow-simple: none;
	--gf-ctrl-btn-shadow-hover-simple: none;
	--gf-ctrl-btn-shadow-focus-simple: none;
	--gf-ctrl-btn-shadow-disabled-simple: none;

	/* Secondary button (Previous/Back) — outlined style */
	--gf-ctrl-btn-bg-color-secondary: transparent;
	--gf-ctrl-btn-color-secondary: #222222;
	--gf-ctrl-btn-border-color-secondary: #cccccc;
	--gf-ctrl-btn-border-style-secondary: solid;
	--gf-ctrl-btn-border-width-secondary: 1px;
	--gf-ctrl-btn-bg-color-hover-secondary: #f5f5f5;
	--gf-ctrl-btn-color-hover-secondary: #222222;
	--gf-ctrl-btn-border-color-hover-secondary: #999999;
}


/* ==========================================================================
   6. FOCUS / OUTLINE — Gold ring instead of blue
   ========================================================================== */

.gform-theme {
	--gf-ctrl-outline-color-focus: rgba(229, 166, 36, 0.4);
	--gf-ctrl-outline-style: solid;
	--gf-ctrl-outline-width-focus: 3px;
	--gf-ctrl-outline-offset: 0px;
	--gf-ctrl-border-color-focus: #E5A624;
}


/* ==========================================================================
   7. SECTION BREAKS
   ========================================================================== */

.gform-theme {
	--gf-field-section-border-color: #dddddd;
	--gf-field-section-border-style: solid;
	--gf-field-section-border-width: 1px;
}


/* ==========================================================================
   8. FILE UPLOAD
   ========================================================================== */

.gform-theme {
	/* Drop zone */
	--gf-ctrl-file-zone-border-style: dashed;
	--gf-ctrl-file-zone-radius: 0;

	/* File button */
	--gf-ctrl-file-btn-font-family: Arial, Helvetica, sans-serif;
	--gf-ctrl-file-btn-font-weight: 700;
	--gf-ctrl-file-btn-text-transform: uppercase;
	--gf-ctrl-file-btn-letter-spacing: 0.08em;
	--gf-ctrl-file-btn-radius: 0;

	/* File preview */
	--gf-ctrl-file-prev-font-family: Arial, Helvetica, sans-serif;

	/* Upload progress bar */
	--gf-ctrl-file-prog-bar-radius: 0;
}


/* ==========================================================================
   9. MULTI-PAGE PROGRESS BAR & STEPS
   ========================================================================== */

.gform-theme {
	/* Progress bar */
	--gf-field-pg-prog-font-family: Arial, Helvetica, sans-serif;
	--gf-field-pg-prog-font-weight: 700;
	--gf-field-pg-prog-text-transform: uppercase;
	--gf-field-pg-prog-letter-spacing: 0.1em;
	--gf-field-pg-prog-bar-radius: 0;

	/* Step indicators */
	--gf-field-pg-steps-number-radius: 0;
}


/* ==========================================================================
   10. VALIDATION & ERROR STATES
   ========================================================================== */

.gform-theme {
	/* Validation container */
	--gf-form-validation-font-family: Arial, Helvetica, sans-serif;
	--gf-form-validation-heading-font-family: Arial, Helvetica, sans-serif;
	--gf-form-validation-summary-font-family: Arial, Helvetica, sans-serif;
	--gf-form-validation-radius: 0;
	--gf-form-validation-shadow: none;

	/* Validation heading icon */
	--gf-form-validation-heading-icon-radius: 0;
}


/* ==========================================================================
   11. PASSWORD STRENGTH METER
   ========================================================================== */

.gform-theme {
	--gf-field-pwd-str-font-family: Arial, Helvetica, sans-serif;
}


/* ==========================================================================
   12. CONFIRMATION MESSAGE
   ========================================================================== */

.gform_confirmation_message {
	font-family: Georgia, 'Times New Roman', serif;
	font-size: 16px;
	line-height: 1.6;
	color: #222222;
}


/* ==========================================================================
   13. MISC — Repeater separators, disabled states
   ========================================================================== */

.gform-theme {
	/* Repeater field separators */
	--gf-field-repeater-separator-color: #dddddd;

	/* Keep radii at zero for date picker cells */
	--gf-ctrl-date-picker-cell-content-radius: 0;
}
