/*
Theme Name: OptiGST Child Theme
Theme URI: https://optigst.com/theme
Template: hello-elementor
Author: Arnav Singh
Author URI: https://optigst.com
Description: Child theme for Hello Elementor. Premium SaaS WordPress theme for AI GST Reconciliation and waitlist conversions.
Version: 1.0.0
Text Domain: optigst-child

This is the main stylesheet for the OptiGST child theme. All dynamic styling and typography are injected into header.php based on the active Option page branding settings.
*/

/* Core Theme Resets */
*, ::before, ::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  background-color: var(--color-canvas-white);
  color: var(--color-slate-text);
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif !important;
  line-height: 1.5;
}

/* Neutralize Hello Elementor parent theme styles to align with HTML prototypes */
body, h1, h2, h3, h4, h5, h6, p, a, span, button, input, select, textarea {
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif !important;
}

header a, header button {
  text-decoration: none !important;
}

nav a {
  margin: 0 !important;
  padding: 0 !important;
  display: inline-block !important;
  text-decoration: none !important;
}

/* Prevent generic hello-elementor margins from distorting sections */
.max-content {
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Ensure buttons follow border-radius buttons variable */
/* Ensure buttons and inputs follow theme styles */
button, input, select {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
}

/* Force premium rounded input styling to override parent theme / browser defaults */
input[type="text"], 
input[type="email"], 
input[type="tel"], 
input[type="password"],
textarea {
  border: 1px solid var(--color-input-border) !important;
  border-radius: 12px !important;
  padding: 12px 16px !important;
  background-color: rgba(245, 248, 255, 0.3) !important;
  font-size: 14px !important;
  color: var(--color-slate-text) !important;
  transition: all 0.2s ease-in-out !important;
  outline: none !important;
  box-shadow: rgba(16, 24, 40, 0.05) 0px 1px 2px 0px !important;
}

/* Focused inputs */
input[type="text"]:focus, 
input[type="email"]:focus, 
input[type="tel"]:focus,
input[type="password"]:focus,
textarea:focus {
  border-color: var(--color-action-indigo) !important;
  box-shadow: rgba(62, 87, 218, 0.15) 0px 0px 0px 4px !important;
  background-color: #ffffff !important;
}

/* Custom premium select dropdown styling (Stripe style) */
select {
  border: 1px solid var(--color-input-border) !important;
  border-radius: 12px !important;
  padding: 12px 40px 12px 16px !important;
  background-color: rgba(245, 248, 255, 0.3) !important;
  font-size: 14px !important;
  color: var(--color-slate-text) !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23656c86' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e") !important;
  background-repeat: no-repeat !important;
  background-position: right 16px center !important;
  background-size: 16px !important;
  outline: none !important;
  transition: all 0.2s ease-in-out !important;
  box-shadow: rgba(16, 24, 40, 0.05) 0px 1px 2px 0px !important;
}

select:focus {
  border-color: var(--color-action-indigo) !important;
  box-shadow: rgba(62, 87, 218, 0.15) 0px 0px 0px 4px !important;
  background-color: #ffffff !important;
}

/* Ensure child theme navigation links are spaced correctly without layout conflicts */
header.sticky nav a {
  margin: 0 !important;
  color: var(--color-slate-text) !important;
  text-decoration: none !important;
}
header.sticky nav a:hover {
  color: var(--color-action-indigo) !important;
}


