/* ========== TechRacine V2 Glass Theme (TR-WEB-002) ==========
   Shared glassmorphism theme: violet + cyan on deep indigo.
   Loaded after assets/css/main.css on every page via includes/header.php */

:root {
  --brand-primary: #5B21B6;
  --brand-secondary: #0E7490;
  --brand-bright: #22D3EE;
  --brand-violet: #7C3AED;
  --brand-primary-soft: rgba(91, 33, 182, 0.08);
  --brand-secondary-soft: rgba(14, 116, 144, 0.10);
  --ink: #171717;
  --ink-2: #404040;
  --muted: #737373;
  --line: #E5E5E5;
  --surface: #FFFFFF;
  --surface-soft: #FAFAF9;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --font-body: 'Inter', system-ui, sans-serif;
  --font-head: 'Plus Jakarta Sans', 'Inter', sans-serif;
}
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: #334155; line-height: 1.6; background: #fff; }
h1, h2, h3, h4, h5 { font-family: var(--font-head); font-weight: 700; line-height: 1.2; color: var(--ink); }
.container-xl { max-width: 1280px; }
section.section-pad { padding: 80px 0; }
@media (max-width: 768px) { section.section-pad { padding: 56px 0; } }

.skip-link { position: absolute; left: -9999px; top: 0; background: var(--brand-primary); color: #fff; padding: 10px 18px; z-index: 2000; border-radius: 0 0 8px 0; }
.skip-link:focus { left: 0; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--brand-secondary); outline-offset: 2px; }

.eyebrow { font-size: 0.8rem; font-weight: 700; color: var(--brand-secondary); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 10px; display: block; }
.section-header { text-align: center; margin-bottom: 48px; }
.section-header h2 { font-size: 2.1rem; letter-spacing: -0.01em; margin-bottom: 12px; }
.section-header p { color: var(--muted); max-width: 640px; margin: 0 auto; font-size: 1.03rem; }
@media (max-width: 768px) { .section-header h2 { font-size: 1.65rem; } }

/* ---- Header overrides (keep main.css nav, rebrand accents) ---- */
#header { background: #fff; border-bottom: 1px solid var(--line); }
#header .btn-getstarted { background: linear-gradient(135deg, var(--brand-violet), var(--brand-primary)); border: 1px solid transparent; color: #fff; padding: 10px 22px; border-radius: 10px; font-weight: 600; box-shadow: 0 4px 14px rgba(124,58,237,0.35); }
#header .btn-getstarted:hover { filter: brightness(1.08); color: #fff; }
#header .navmenu a:hover, #header .navmenu .active { color: var(--brand-primary); }
/* Rebrand Bootstrap + template accent colors to the glass theme */
.btn-primary { background-color: var(--brand-primary); border-color: var(--brand-primary); }
.btn-primary:hover, .btn-primary:focus, .btn-primary:active { background-color: #4C1D95; border-color: #4C1D95; }
.btn-outline-primary { color: var(--brand-primary); border-color: var(--brand-primary); }
.btn-outline-primary:hover, .btn-outline-primary:focus, .btn-outline-primary:active { background-color: var(--brand-primary); border-color: var(--brand-primary); color: #fff; }

/* ---- Hero ---- */
.hero-section { background: linear-gradient(140deg, #0B0620 0%, #241055 55%, #0B3B4F 100%); color: #fff; position: relative; overflow: hidden; padding: 88px 0 72px; }
.hero-section::before { content: ''; position: absolute; inset: 0; background:
  radial-gradient(600px 300px at 85% 10%, rgba(34,211,238,0.22), transparent 70%),
  radial-gradient(560px 320px at 12% 88%, rgba(124,58,237,0.35), transparent 70%); pointer-events: none; }
.hero-section h1 { font-size: 3.4rem; font-weight: 800; color: #fff; letter-spacing: -0.02em; line-height: 1.08; }
.hero-section h1 .accent { color: #67E8F9; }
.hero-section .hero-sub { font-size: 1.12rem; color: #D7D2F0; max-width: 560px; line-height: 1.7; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.22); border-radius: 50px; padding: 6px 16px; color: #EDE9FE; font-size: 0.83rem; font-weight: 600; margin-bottom: 20px; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.hero-badge .dot { width: 8px; height: 8px; background: #4ADE80; border-radius: 50%; }
.btn-primary-brand { background: linear-gradient(135deg, var(--brand-violet), var(--brand-primary)); color: #fff; padding: 14px 30px; border-radius: 12px; font-weight: 700; font-size: 1rem; border: 1px solid rgba(255,255,255,0.18); display: inline-block; transition: transform .2s ease, box-shadow .2s ease, filter .2s ease; box-shadow: 0 8px 24px rgba(124,58,237,0.45); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.btn-primary-brand:hover { filter: brightness(1.1); color: #fff; transform: translateY(-2px); }
.btn-outline-brand { border: 2px solid rgba(255,255,255,0.4); color: #fff; padding: 12px 28px; border-radius: 10px; font-weight: 600; font-size: 1rem; background: transparent; display: inline-block; transition: all .2s ease; }
.btn-outline-brand:hover { border-color: rgba(255,255,255,0.8); background: rgba(255,255,255,0.14); color: #fff; transform: translateY(-2px); }
.hero-proof { display: flex; gap: 28px; margin-top: 28px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.16); max-width: 480px; }
.hero-proof .num { color: #fff; font-weight: 800; font-size: 1.5rem; font-family: var(--font-head); line-height: 1; }
.hero-proof .lbl { color: #B9B3E3; font-size: 0.82rem; }
/* architecture visual */
.arch-visual { background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.18); border-radius: 20px; padding: 26px; color: #fff; box-shadow: 0 25px 60px rgba(0,0,0,0.35); position: relative; z-index: 1; backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
.arch-visual .arch-title { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #67E8F9; margin-bottom: 14px; }
.arch-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 6px; }
.arch-chip { background: rgba(255,255,255,0.10); border: 1px solid rgba(255,255,255,0.16); border-radius: 8px; padding: 6px 12px; font-size: 0.83rem; font-weight: 600; color: #F5F3FF; }
.arch-arrow { text-align: center; color: #67E8F9; font-weight: 700; margin: 4px 0; }
.arch-core { background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.22); color: #fff; border-radius: 12px; padding: 14px 16px; text-align: center; }
.arch-core strong { display: block; font-family: var(--font-head); letter-spacing: 0.04em; }
.arch-core span { font-size: 0.83rem; color: #DDD6FE; }
.arch-shot { margin-top: 14px; border: 1px solid rgba(255,255,255,0.18); border-radius: 12px; overflow: hidden; }
.arch-shot img { width: 100%; height: auto; display: block; }
@media (max-width: 768px) { .hero-section { padding: 56px 0 48px; } .hero-section h1 { font-size: 2.1rem; } }

/* ---- Ecosystem strip ---- */
.platforms-section { padding: 32px 0; background: #fff; border-bottom: 1px solid var(--line); }
.platform-label { font-size: 0.78rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 0.1em; }
.platform-logo { height: 34px; width: auto; filter: grayscale(100%); opacity: 0.65; transition: all .25s; }
.platform-logo:hover { filter: none; opacity: 1; }
.platform-note { font-size: 0.78rem; color: var(--muted); }

/* ---- Cards ---- */
.cap-card, .service-card, .product-card, .problem-card, .industry-card, .eng-card, .resource-card, .case-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.95), rgba(255,255,255,0.78)); border: 1px solid rgba(91,33,182,0.12); border-radius: var(--radius-lg); padding: 30px 26px; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; position: relative; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
/* Equal-height cards ONLY when a card is the sole child of its parent.
   (A blanket height:100% blows up stacked cards — e.g. engineering notes —
   because each card resolves to 100% of the whole column.) */
.cap-card:only-child, .service-card:only-child, .product-card:only-child, .problem-card:only-child, .industry-card:only-child, .eng-card:only-child, .resource-card:only-child, .case-card:only-child { height: 100%; }
.cap-card:hover, .service-card:hover, .product-card:hover, .problem-card:hover, .industry-card:hover, .eng-card:hover, .resource-card:hover, .case-card:hover { transform: translateY(-5px); box-shadow: 0 18px 36px rgba(91,33,182,0.14); border-color: rgba(124,58,237,0.35); }
.cap-card { border-top: 4px solid var(--brand-secondary); }
.cap-card .kicker { font-size: 0.78rem; font-weight: 800; letter-spacing: 0.12em; color: var(--brand-primary); }
.card-icon { width: 52px; height: 52px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; font-size: 1.3rem; margin-bottom: 16px; background: var(--brand-primary-soft); color: var(--brand-primary); }
.card-icon.alt { background: var(--brand-secondary-soft); color: var(--brand-secondary); }
.service-card h4, .cap-card h4, .product-card h4 { font-size: 1.15rem; margin-bottom: 8px; }
.service-card p, .product-card p, .problem-card p { color: #64748B; font-size: 0.94rem; margin-bottom: 0; }
.card-link { font-weight: 700; color: var(--brand-primary); text-decoration: none; font-size: 0.92rem; }
.card-link:hover { color: var(--brand-secondary); text-decoration: underline; }

.tint { background: var(--surface-soft); }
.product-shot { border: 1px solid var(--line); border-radius: var(--radius-md); overflow: hidden; margin: 14px 0; background: #fff; }
.product-shot img { width: 100%; height: 170px; object-fit: cover; object-position: top; display: block; }
.product-tag { display: inline-block; font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; padding: 4px 12px; border-radius: 6px; margin-bottom: 12px; }
.product-tag.live { background: #DCFCE7; color: #166534; }
.product-tag.beta { background: #FEF3C7; color: #92400E; }
.product-tag.dev { background: #E0E7FF; color: #3730A3; }
.workflow-line { font-size: 0.82rem; color: var(--brand-primary); font-weight: 600; background: var(--brand-primary-soft); border-radius: 8px; padding: 8px 12px; margin-top: 12px; }
.product-tag.internal { background: #E9E4F5; color: #4C1D95; }
.product-visual { border-radius: var(--radius-md); padding: 20px; margin: 14px 0; background: linear-gradient(135deg, rgba(124,58,237,0.12), rgba(34,211,238,0.12)); border: 1px solid rgba(91,33,182,0.15); display: flex; align-items: center; gap: 14px; }
.product-visual .pv-mark { width: 52px; height: 52px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; font-family: var(--font-head); font-weight: 800; color: #fff; background: linear-gradient(135deg, #7C3AED, #0E7490); font-size: 0.95rem; flex: 0 0 auto; box-shadow: 0 6px 16px rgba(91,33,182,0.3); }
.product-visual .pv-text strong { display: block; font-size: 0.95rem; color: var(--ink); }
.product-visual .pv-text span { font-size: 0.83rem; color: var(--muted); }

/* integration diagram */
.flow-diagram { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 30px; }
.flow-col h6 { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--brand-secondary); margin-bottom: 12px; }
.flow-chip { display: block; border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px; margin-bottom: 10px; font-weight: 600; font-size: 0.92rem; background: var(--surface-soft); }
.flow-core { background: linear-gradient(135deg, var(--brand-violet), var(--brand-primary)); border: 1px solid rgba(255,255,255,0.2); color: #fff; border-radius: 14px; padding: 22px; text-align: center; height: 100%; box-shadow: 0 12px 28px rgba(91,33,182,0.3); }
.flow-core p { color: #DDD6FE; font-size: 0.9rem; }
.pill { display: inline-block; border: 1px solid var(--line); background: #fff; border-radius: 50px; padding: 6px 14px; font-size: 0.82rem; font-weight: 600; margin: 0 8px 8px 0; color: var(--ink-2); }

/* process timeline */
.process-wrap { position: relative; }
.process-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 991px) { .process-steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 576px) { .process-steps { grid-template-columns: 1fr; } }
.step-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md); padding: 20px; }
.step-num { font-family: var(--font-head); font-weight: 800; color: var(--brand-secondary); font-size: 0.85rem; letter-spacing: 0.08em; }
.step-card h5 { font-size: 1rem; margin: 6px 0; }
.step-card p { font-size: 0.88rem; color: var(--muted); margin: 0; }

.tech-group h6 { font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--brand-primary); margin-bottom: 10px; }
.tech-badge { display: inline-block; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 6px 12px; font-size: 0.85rem; font-weight: 600; margin: 0 8px 8px 0; color: var(--ink-2); }

.case-img { width: 100%; height: 190px; object-fit: cover; border-radius: var(--radius-md); border: 1px solid var(--line); }

/* ---- Partner logos: fit whole logo, uniform box, never crop ---- */
.partner-logo-box { height: 150px; display: flex; align-items: center; justify-content: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md); padding: 20px; margin-bottom: 4px; }
.partner-logo-box img { max-height: 100%; max-width: 100%; width: auto; height: auto; object-fit: contain; }
.badge-cat { display: inline-block; font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; padding: 4px 10px; border-radius: 6px; margin: 12px 0 8px; background: var(--brand-primary-soft); color: var(--brand-primary); }

/* CTA */
.cta-section { background: linear-gradient(135deg, #150A38 0%, #5B21B6 55%, #0E7490 100%); padding: 76px 0; text-align: center; }
.cta-section h2 { color: #fff; font-size: 2.1rem; font-weight: 800; margin-bottom: 14px; }
.cta-section p { color: #E6E1FF; font-size: 1.05rem; max-width: 580px; margin: 0 auto 28px; }
.btn-light-brand { background: #fff; color: var(--brand-primary); padding: 14px 34px; border-radius: 10px; font-weight: 800; font-size: 1rem; border: none; display: inline-block; transition: transform .2s ease; }
.btn-light-brand:hover { transform: translateY(-2px); color: var(--brand-primary); }
.btn-ghost-light { border: 2px solid rgba(255,255,255,0.5); color: #fff; padding: 12px 30px; border-radius: 10px; font-weight: 600; display: inline-block; }
.btn-ghost-light:hover { background: rgba(255,255,255,0.12); color: #fff; }

/* Footer */
#footer { background: #0D0A26; color: #CBD5E1; }
#footer .footer-brand { font-size: 1.3rem; font-weight: 800; color: #fff; font-family: var(--font-head); }
#footer h5 { color: #fff; font-weight: 700; margin-bottom: 16px; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; }
#footer ul { list-style: none; padding: 0; margin: 0; }
#footer ul li { margin-bottom: 10px; }
#footer ul a { color: #CBD5E1; text-decoration: none; font-size: 0.92rem; }
#footer ul a:hover { color: #fff; text-decoration: underline; }
#footer .footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); padding: 22px 0; text-align: center; color: #94A3B8; font-size: 0.86rem; }
#footer .social-links a { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,0.1); display: inline-flex; align-items: center; justify-content: center; color: #fff; margin-right: 8px; }
#footer .social-links a:hover { background: var(--brand-secondary); }

[data-aos] { transition-duration: 600ms; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
@media (max-width: 768px) {
  .hero-proof { gap: 18px; }
  .cta-section h2 { font-size: 1.65rem; }
}

/* ---- Lead qualification form (contact-us) ---- */
.lead-form-card { background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(255,255,255,0.82)); border: 1px solid rgba(91,33,182,0.14); border-radius: 20px; padding: 36px; box-shadow: 0 18px 40px rgba(91,33,182,0.10); }
@media (max-width: 576px) { .lead-form-card { padding: 24px 18px; } }
.form-steps-bar { display: flex; gap: 8px; margin-bottom: 6px; }
.form-steps-bar span { height: 6px; flex: 1; border-radius: 4px; background: var(--line); }
.form-steps-bar span.done { background: linear-gradient(90deg, var(--brand-violet), var(--brand-secondary)); }
.form-step-label { font-size: 0.82rem; font-weight: 700; color: var(--brand-primary); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 16px; }
.form-step { display: none; }
.form-step.active { display: block; }
.pick-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (max-width: 576px) { .pick-grid { grid-template-columns: 1fr; } }
.pick { position: relative; display: block; margin: 0; cursor: pointer; }
.pick input { position: absolute; opacity: 0; pointer-events: none; }
.pick span { display: block; border: 1px solid var(--line); background: #fff; border-radius: 12px; padding: 13px 15px; font-weight: 600; font-size: 0.93rem; color: var(--ink); transition: border-color .2s, background .2s, box-shadow .2s; }
.pick span small { display: block; font-weight: 400; color: var(--muted); font-size: 0.82rem; margin-top: 2px; }
.pick input:checked + span { border-color: var(--brand-violet); background: var(--brand-primary-soft); box-shadow: 0 4px 14px rgba(91,33,182,0.12); }
.pick input:focus-visible + span { outline: 3px solid var(--brand-secondary); outline-offset: 2px; }
.hp-field { position: absolute !important; left: -9999px !important; top: auto; width: 1px; height: 1px; overflow: hidden; }
.field-error { color: #B91C1C; font-size: 0.86rem; margin-top: 10px; display: none; }
.field-error.show { display: block; }
.is-invalid { border-color: #B91C1C !important; }
#formSuccess { display: none; }
.contact-card { background: linear-gradient(180deg, rgba(255,255,255,0.95), rgba(255,255,255,0.78)); border: 1px solid rgba(91,33,182,0.12); border-radius: var(--radius-lg); padding: 24px 20px; height: 100%; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; cursor: pointer; }
.contact-card:hover { transform: translateY(-4px); box-shadow: 0 14px 28px rgba(91,33,182,0.12); border-color: rgba(124,58,237,0.35); }
.contact-card h5 { font-size: 1rem; margin-bottom: 6px; }

/* ---- FAQ accordion (site-wide: faq.html + integration FAQs) ---- */
.faq-page .accordion-item, .accordion .accordion-item { background: rgba(255,255,255,0.92); border: 1px solid rgba(91,33,182,0.14) !important; border-radius: 12px !important; margin-bottom: 12px; overflow: hidden; }
.faq-page .accordion-button, .accordion .accordion-button { font-weight: 600; color: var(--brand-primary); position: relative; transition: color .2s ease; border-radius: 12px !important; }
.faq-page .accordion-button::after, .accordion .accordion-button::after { content: ""; font-family: inherit; font-size: inherit; font-weight: 400; color: var(--brand-primary); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%235B21B6'%3E%3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-size: 1rem; background-position: center; width: 1rem; height: 1rem; }
.faq-page .accordion-button:not(.collapsed), .accordion .accordion-button:not(.collapsed) { background: var(--brand-primary-soft); background-color: var(--brand-primary-soft); color: var(--brand-primary); box-shadow: none; }
.faq-page .accordion-button:not(.collapsed)::after, .accordion .accordion-button:not(.collapsed)::after { content: ""; color: var(--brand-primary); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%235B21B6'%3E%3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E"); transform: rotate(180deg); }
.faq-page .accordion-button:focus, .accordion .accordion-button:focus { box-shadow: none; border-color: rgba(124,58,237,0.35); }
.faq-page .accordion-body, .accordion .accordion-body { color: #475569; border-left: 3px solid var(--brand-primary); }
.faq-page h4 { font-size: 0.8rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; color: var(--brand-secondary); margin: 30px 0 14px; }
.faq-page h4:first-of-type { margin-top: 0; }

/* ---- Press filter pills ---- */
.press-filter.active { background-color: var(--brand-primary); border-color: var(--brand-primary); color: #fff; }

/* ---- Stat facts (about, homepage strips) ---- */
.stat-number { font-size: 2.2rem; font-weight: 800; font-family: var(--font-head); color: var(--brand-primary); line-height: 1; margin-bottom: 6px; }
.stat-label { font-size: 0.9rem; color: var(--muted); font-weight: 500; }

/* ---- Back-to-top: match primary brand button ---- */
.scroll-top { background: linear-gradient(135deg, var(--brand-violet), var(--brand-primary)); background-color: var(--brand-primary); box-shadow: 0 8px 20px rgba(91,33,182,0.35); }
.scroll-top i { color: #fff; }
.scroll-top:hover { background: linear-gradient(135deg, var(--brand-violet), var(--brand-primary)); background-color: #4C1D95; filter: brightness(1.1); color: #fff; }

/* ---- Floating Quick Enquiry (bottom-right, scroll-sticky) ---- */
.qe-float-panel { position: fixed; bottom: 80px; right: 20px; z-index: 1070; width: 340px; max-width: 90vw; background: #fff; border: 1px solid rgba(91,33,182,0.12); border-radius: 14px; box-shadow: 0 20px 60px rgba(0,0,0,0.18); transform: translateY(140%); transition: transform .35s ease, opacity .3s ease; opacity: 0; visibility: hidden; }
.qe-float-panel.open { transform: translateY(0); opacity: 1; visibility: visible; }
.qe-float-panel .qe-head { background: linear-gradient(135deg, var(--brand-violet), var(--brand-primary)); color: #fff; padding: 12px 16px; border-radius: 13px 13px 0 0; font-weight: 800; font-size: 1rem; display: flex; align-items: center; gap: 8px; }
.qe-float-panel .qe-head .qe-close { color: #fff; opacity: .9; background: none; border: none; font-size: 1.4rem; line-height: 1; margin-left: auto; padding: 0; cursor: pointer; }
.qe-float-panel .qe-close:hover { opacity: 1; }
.qe-float-panel form { padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.qe-float-panel .form-control { font-size: 0.92rem; padding: 8px 12px; border-radius: 10px; border: 1px solid var(--line); }
.qe-float-panel .form-select { font-size: 0.92rem; padding: 8px 12px; border-radius: 10px; border: 1px solid var(--line); }
.qe-float-panel button[type="submit"] { margin-top: 4px; padding: 10px; border-radius: 10px; font-weight: 700; font-size: 0.95rem; }
.qe-float-success { padding: 16px; text-align: center; display: none; }
.qe-float-success .ok { font-weight: 800; color: var(--brand-primary); }
.qe-float-success .muted { color: #64748B; font-size: 0.86rem; margin-top: 4px; }
@media (max-width: 576px) { .qe-float-panel { width: 90vw; right: 5%; bottom: 80px; } }
