/*
Theme Name: Jinko Solar Verify
Theme URI: https://www.jinkosolar.com/
Author: Jinko Solar
Author URI: https://www.jinkosolar.com/
Description: Professional solar panel serial number verification system with Jinko Solar branding. Admin can manage all serial numbers, verify codes, and product details from WordPress dashboard. Includes customer login/register portal.
Version: 2.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: jinko-verify
Tags: solar, verification, custom
*/

/* =============================================
   JINKO SOLAR VERIFY THEME — LIGHT GREEN/WHITE
   ============================================= */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --jv-green:        #1B8A3C;
  --jv-green-dark:   #126128;
  --jv-green-mid:    #22A84A;
  --jv-green-light:  #E8F5ED;
  --jv-green-xlight: #F4FAF6;
  --jv-green-accent: #00C85A;
  --jv-white:        #FFFFFF;
  --jv-text:         #111827;
  --jv-text-2:       #374151;
  --jv-text-3:       #6B7280;
  --jv-border:       #D1D5DB;
  --jv-border-light: #E5E7EB;
  --jv-bg:           #F9FAFB;
  --jv-success:      #059669;
  --jv-error:        #DC2626;
  --jv-shadow:       0 1px 3px rgba(0,0,0,0.10), 0 1px 2px rgba(0,0,0,0.06);
  --jv-shadow-md:    0 4px 16px rgba(0,0,0,0.10);
  --jv-shadow-lg:    0 12px 40px rgba(0,0,0,0.12);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--jv-white);
  color: var(--jv-text);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

/* ============================================================
   HEADER
   ============================================================ */
.jv-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--jv-border-light);
  padding: 0 32px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

.jv-header-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.jv-header-logo svg, .jv-header-logo img {
  height: 36px;
  width: auto;
}

.jv-header-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.jv-header-nav a {
  color: var(--jv-text-2);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 7px 14px;
  border-radius: 7px;
  transition: color 0.2s, background 0.2s;
}

.jv-header-nav a:hover {
  color: var(--jv-green);
  background: var(--jv-green-xlight);
}

.jv-header-nav .btn-verify-nav {
  background: var(--jv-green);
  color: var(--jv-white);
  border-radius: 7px;
  padding: 8px 18px;
  font-size: 14px;
  font-weight: 600;
}

.jv-header-nav .btn-verify-nav:hover {
  background: var(--jv-green-dark);
  color: var(--jv-white);
}

.jv-header-nav .btn-login-nav {
  border: 1.5px solid var(--jv-border);
  color: var(--jv-text-2);
}

.jv-header-nav .btn-login-nav:hover {
  border-color: var(--jv-green);
  color: var(--jv-green);
  background: var(--jv-green-xlight);
}

/* ============================================================
   HAMBURGER BUTTON (mobile only)
   ============================================================ */
.jv-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  cursor: pointer;
  background: none;
  border: 1.5px solid var(--jv-green);
  padding: 4px;
  border-radius: 8px;
  z-index: 1100;
  position: relative;
  transition: background 0.2s;
}
.jv-hamburger:hover { background: var(--jv-green-xlight); }
.jv-hamburger.open  { background: var(--jv-green); border-color: var(--jv-green); }
.jv-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--jv-green);
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center;
}
.jv-hamburger.open span { background: #fff; }
.jv-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.jv-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.jv-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Drawer Overlay */
.jv-mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 1050;
}
.jv-mobile-overlay.open { display: block; }

/* Mobile Side Drawer */
.jv-mobile-drawer {
  position: fixed;
  top: 0;
  right: -280px;
  width: 260px;
  height: 100vh;
  background: #fff;
  z-index: 1100;
  box-shadow: -4px 0 24px rgba(0,0,0,0.15);
  display: flex;
  flex-direction: column;
  transition: right 0.3s cubic-bezier(0.4,0,0.2,1);
  overflow-y: auto;
}
.jv-mobile-drawer.open { right: 0; }
.jv-mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--jv-border-light);
  background: var(--jv-green-xlight);
}
.jv-mobile-drawer-header img { height: 30px; width: auto; }
.jv-mobile-drawer-close {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px 8px;
  color: var(--jv-text-2);
  font-size: 22px;
  line-height: 1;
  border-radius: 6px;
}
.jv-mobile-drawer-close:hover { background: rgba(0,0,0,0.06); }
.jv-mobile-drawer-nav {
  display: flex;
  flex-direction: column;
  padding: 16px 12px;
  gap: 4px;
}
.jv-mobile-drawer-nav a {
  display: block;
  color: var(--jv-text-2);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  padding: 11px 16px;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}
.jv-mobile-drawer-nav a:hover { color: var(--jv-green); background: var(--jv-green-xlight); }
.jv-mobile-drawer-nav .btn-drawer-verify {
  background: var(--jv-green);
  color: #fff !important;
  font-weight: 600;
  margin-top: 6px;
  text-align: center;
}
.jv-mobile-drawer-nav .btn-drawer-verify:hover { background: var(--jv-green-dark); }
.jv-mobile-drawer-nav .btn-drawer-login {
  border: 1.5px solid var(--jv-border);
  text-align: center;
}
.jv-mobile-drawer-nav .btn-drawer-login:hover { border-color: var(--jv-green); color: var(--jv-green) !important; background: var(--jv-green-xlight); }

/* ============================================================
   HERO / VIDEO SECTION
   ============================================================ */
.jv-hero {
  position: relative;
  width: 100%;
  overflow: hidden;
  margin-top: 68px;
  background: #000;
  /* Desktop: full viewport height */
  height: 100vh;
  min-height: 500px;
}

.jv-hero-video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
}

.jv-hero-video-wrap video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.jv-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.50) 0%,
    rgba(0,0,0,0.30) 50%,
    rgba(0,0,0,0.72) 100%
  );
  z-index: 1;
}

.jv-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 24px;
  max-width: 820px;
}

.jv-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(27,138,60,0.18);
  border: 1px solid rgba(27,138,60,0.45);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 12px;
  font-weight: 600;
  color: #6EE89A;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 22px;
}

.jv-hero-badge-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #6EE89A;
  animation: jv-pulse 2s infinite;
}

@keyframes jv-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.7); }
}

.jv-hero-title {
  font-size: clamp(34px, 6vw, 66px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -1.5px;
  color: #fff;
  margin-bottom: 18px;
}

.jv-hero-title span {
  color: #6EE89A;
}

.jv-hero-sub {
  font-size: clamp(15px, 2.2vw, 18px);
  color: rgba(255,255,255,0.72);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.jv-hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--jv-green);
  color: #fff;
  text-decoration: none;
  padding: 15px 34px;
  border-radius: 9px;
  font-size: 16px;
  font-weight: 700;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(27,138,60,0.40);
}

.jv-hero-btn:hover {
  background: var(--jv-green-mid);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(27,138,60,0.45);
}

.jv-hero-btn svg { width: 18px; height: 18px; }

.jv-scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.45);
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.jv-scroll-hint span {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
  animation: jv-scrollLine 1.8s infinite;
}

@keyframes jv-scrollLine {
  0%   { transform: scaleY(0); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; }
  51%  { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ============================================================
   STATS STRIP
   ============================================================ */
.jv-stats {
  background: var(--jv-green);
  border-top: none;
  border-bottom: none;
  padding: 0;
}

.jv-stats-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.jv-stat-item {
  padding: 32px 24px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.18);
}

.jv-stat-item:last-child { border-right: none; }

.jv-stat-num {
  font-size: 36px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -1px;
  line-height: 1;
  margin-bottom: 6px;
}

.jv-stat-label {
  font-size: 13px;
  color: rgba(255,255,255,0.72);
  font-weight: 400;
}

/* ============================================================
   VERIFY SECTION
   ============================================================ */
.jv-verify-section {
  padding: 80px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.jv-section-eyebrow {
  font-size: 12px;
  font-weight: 700;
  color: var(--jv-green);
  letter-spacing: 2.5px;
  text-transform: uppercase;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.jv-section-eyebrow::before {
  content: '';
  display: inline-block;
  width: 20px; height: 2.5px;
  background: var(--jv-green);
  border-radius: 2px;
}

.jv-section-title {
  font-size: clamp(26px, 4vw, 42px);
  font-weight: 800;
  letter-spacing: -0.8px;
  line-height: 1.1;
  margin-bottom: 16px;
  color: var(--jv-text);
}

.jv-section-desc {
  font-size: 16px;
  color: var(--jv-text-3);
  line-height: 1.7;
  max-width: 520px;
  margin-bottom: 48px;
}

.jv-verify-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}

.jv-verify-card {
  background: var(--jv-white);
  border: 1.5px solid var(--jv-border-light);
  border-radius: 16px;
  padding: 36px;
  box-shadow: var(--jv-shadow-md);
}

.jv-verify-card-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--jv-text);
}

.jv-verify-card-sub {
  font-size: 14px;
  color: var(--jv-text-3);
  margin-bottom: 28px;
  line-height: 1.5;
}

.jv-field {
  margin-bottom: 20px;
}

.jv-field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--jv-text-2);
  margin-bottom: 8px;
}

.jv-field input {
  width: 100%;
  background: var(--jv-bg);
  border: 1.5px solid var(--jv-border);
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 15px;
  color: var(--jv-text);
  outline: none;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
  font-family: inherit;
}

.jv-field input:focus {
  border-color: var(--jv-green);
  background: var(--jv-white);
  box-shadow: 0 0 0 3px rgba(27,138,60,0.10);
}

.jv-field input::placeholder {
  color: #9CA3AF;
}

.jv-hint-box {
  background: var(--jv-green-xlight);
  border: 1px solid rgba(27,138,60,0.20);
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 13px;
  color: var(--jv-green-dark);
  margin-bottom: 24px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.5;
}

.jv-hint-box svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 1px; color: var(--jv-green); }

.jv-btn-verify {
  width: 100%;
  background: var(--jv-green);
  color: #fff;
  border: none;
  border-radius: 9px;
  padding: 14px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  font-family: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  box-shadow: 0 3px 12px rgba(27,138,60,0.25);
}

.jv-btn-verify:hover { background: var(--jv-green-dark); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(27,138,60,0.30); }
.jv-btn-verify:active { transform: translateY(0); }
.jv-btn-verify svg { width: 18px; height: 18px; }

/* ---- RESULT BOX ---- */
.jv-result-box { display: none; }
.jv-result-box.active { display: block; }

.jv-result-success {
  background: var(--jv-white);
  border: 1.5px solid rgba(5,150,105,0.30);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--jv-shadow-md);
}

.jv-result-header {
  background: linear-gradient(135deg, rgba(5,150,105,0.08), rgba(27,138,60,0.04));
  border-bottom: 1px solid rgba(5,150,105,0.15);
  padding: 24px 28px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.jv-result-badge {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(5,150,105,0.12);
  border: 1.5px solid rgba(5,150,105,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.jv-result-badge svg { width: 24px; height: 24px; color: var(--jv-success); }

.jv-result-head-text h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--jv-text);
  margin-bottom: 2px;
}

.jv-result-head-text p {
  font-size: 13px;
  color: var(--jv-success);
}

.jv-result-body { padding: 24px 28px; }

.jv-result-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 20px;
}

.jv-result-field {
  background: var(--jv-bg);
  border: 1px solid var(--jv-border-light);
  border-radius: 8px;
  padding: 12px 14px;
}

.jv-result-field-label {
  font-size: 11px;
  color: var(--jv-text-3);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 4px;
  font-weight: 600;
}

.jv-result-field-value {
  font-size: 14px;
  font-weight: 600;
  color: var(--jv-text);
}

.jv-result-energy { grid-column: 1 / -1; }

.jv-energy-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--jv-green-light);
  border: 1px solid rgba(27,138,60,0.25);
  color: var(--jv-green-dark);
  border-radius: 6px;
  padding: 4px 12px;
  font-size: 13px;
  font-weight: 600;
}

.jv-result-footer {
  border-top: 1px solid var(--jv-border-light);
  padding: 16px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  background: var(--jv-bg);
}

.jv-result-footer a {
  color: var(--jv-green);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
}

.jv-result-footer a:hover { color: var(--jv-green-dark); }
.jv-result-footer a svg { width: 14px; height: 14px; }

.jv-result-footer-time {
  font-size: 12px;
  color: var(--jv-text-3);
}

/* Error result */
.jv-result-error {
  background: var(--jv-white);
  border: 1.5px solid rgba(220,38,38,0.25);
  border-radius: 16px;
  padding: 36px 28px;
  text-align: center;
  box-shadow: var(--jv-shadow-md);
}

.jv-result-error-icon {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: rgba(220,38,38,0.08);
  border: 1.5px solid rgba(220,38,38,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.jv-result-error-icon svg { width: 28px; height: 28px; color: var(--jv-error); }

.jv-result-error h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--jv-text);
}

.jv-result-error p {
  font-size: 14px;
  color: var(--jv-text-3);
  line-height: 1.6;
}

/* Info panel */
.jv-info-panel {
  background: var(--jv-white);
  border: 1.5px solid var(--jv-border-light);
  border-radius: 16px;
  padding: 28px;
  box-shadow: var(--jv-shadow);
}

.jv-info-panel h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--jv-border-light);
  color: var(--jv-text);
}

.jv-info-step {
  display: flex;
  gap: 14px;
  margin-bottom: 20px;
  align-items: flex-start;
}

.jv-info-step:last-child { margin-bottom: 0; }

.jv-step-num {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--jv-green-light);
  border: 1.5px solid rgba(27,138,60,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--jv-green-dark);
  flex-shrink: 0;
}

.jv-step-text h4 { font-size: 14px; font-weight: 600; margin-bottom: 3px; color: var(--jv-text); }
.jv-step-text p  { font-size: 13px; color: var(--jv-text-3); line-height: 1.5; }

/* ============================================================
   FEATURES SECTION
   ============================================================ */
.jv-features {
  background: var(--jv-bg);
  border-top: 1px solid var(--jv-border-light);
  border-bottom: 1px solid var(--jv-border-light);
  padding: 80px 24px;
}

.jv-features-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.jv-features-header {
  text-align: center;
  margin-bottom: 56px;
}

.jv-features-header .jv-section-eyebrow { justify-content: center; }
.jv-features-header .jv-section-title   { text-align: center; }

.jv-features-subtitle {
  text-align: center;
  color: var(--jv-text-3);
  font-size: 16px;
  margin-top: 8px;
}

.jv-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.jv-feature-card {
  background: var(--jv-white);
  border: 1.5px solid var(--jv-border-light);
  border-radius: 14px;
  padding: 28px 24px;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.jv-feature-card:hover {
  border-color: rgba(27,138,60,0.30);
  transform: translateY(-3px);
  box-shadow: var(--jv-shadow-md);
}

.jv-feature-icon {
  width: 46px; height: 46px;
  border-radius: 11px;
  background: var(--jv-green-light);
  border: 1.5px solid rgba(27,138,60,0.20);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.jv-feature-icon svg { width: 22px; height: 22px; color: var(--jv-green); }

.jv-feature-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--jv-text);
}

.jv-feature-card p {
  font-size: 14px;
  color: var(--jv-text-3);
  line-height: 1.65;
}

/* ============================================================
   FOOTER
   ============================================================ */
.jv-footer {
  background: var(--jv-text);
  padding: 48px 24px;
}

.jv-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.jv-footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.jv-footer-logo svg, .jv-footer-logo img { height: 28px; width: auto; filter: brightness(0) invert(1); }

.jv-footer-links {
  display: flex;
  gap: 28px;
}

.jv-footer-links a {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  transition: color 0.2s;
}

.jv-footer-links a:hover { color: #fff; }

.jv-footer-copy {
  font-size: 12px;
  color: rgba(255,255,255,0.30);
}

/* ============================================================
   AUTH PAGES (Login / Register)
   ============================================================ */
.jv-auth-wrap {
  min-height: calc(100vh - 68px);
  margin-top: 68px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--jv-bg);
  padding: 48px 24px;
}

.jv-auth-box {
  background: var(--jv-white);
  border: 1.5px solid var(--jv-border-light);
  border-radius: 20px;
  padding: 48px 44px;
  width: 100%;
  max-width: 460px;
  box-shadow: var(--jv-shadow-lg);
}

.jv-auth-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 32px;
  justify-content: center;
  text-decoration: none;
}

.jv-auth-logo svg, .jv-auth-logo img { height: 34px; width: auto; }

.jv-auth-title {
  font-size: 26px;
  font-weight: 800;
  color: var(--jv-text);
  margin-bottom: 6px;
  text-align: center;
}

.jv-auth-sub {
  font-size: 14px;
  color: var(--jv-text-3);
  margin-bottom: 32px;
  text-align: center;
  line-height: 1.5;
}

.jv-auth-field {
  margin-bottom: 18px;
}

.jv-auth-field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--jv-text-2);
  margin-bottom: 7px;
}

.jv-auth-field input {
  width: 100%;
  background: var(--jv-bg);
  border: 1.5px solid var(--jv-border);
  border-radius: 8px;
  padding: 11px 14px;
  font-size: 15px;
  color: var(--jv-text);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  font-family: inherit;
}

.jv-auth-field input:focus {
  border-color: var(--jv-green);
  box-shadow: 0 0 0 3px rgba(27,138,60,0.10);
  background: var(--jv-white);
}

.jv-auth-field input::placeholder { color: #9CA3AF; }

.jv-auth-btn {
  width: 100%;
  background: var(--jv-green);
  color: #fff;
  border: none;
  border-radius: 9px;
  padding: 13px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  margin-top: 8px;
  transition: background 0.2s, transform 0.15s;
  box-shadow: 0 3px 12px rgba(27,138,60,0.25);
}

.jv-auth-btn:hover { background: var(--jv-green-dark); transform: translateY(-1px); }

.jv-auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 22px 0;
}

.jv-auth-divider::before,
.jv-auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--jv-border-light);
}

.jv-auth-divider span {
  font-size: 12px;
  color: var(--jv-text-3);
  white-space: nowrap;
}

.jv-auth-switch {
  text-align: center;
  font-size: 14px;
  color: var(--jv-text-3);
  margin-top: 20px;
}

.jv-auth-switch a {
  color: var(--jv-green);
  font-weight: 600;
  text-decoration: none;
}

.jv-auth-switch a:hover { color: var(--jv-green-dark); text-decoration: underline; }

.jv-auth-notice {
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 13px;
  margin-bottom: 18px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.5;
}

.jv-auth-notice svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 1px; }

.jv-auth-notice.success {
  background: var(--jv-green-xlight);
  border: 1px solid rgba(27,138,60,0.20);
  color: var(--jv-green-dark);
}

.jv-auth-notice.error {
  background: #FEF2F2;
  border: 1px solid rgba(220,38,38,0.20);
  color: var(--jv-error);
}

/* Customer portal top bar (header extension when logged in) */
.jv-user-menu {
  display: flex;
  align-items: center;
  gap: 8px;
}

.jv-user-avatar {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--jv-green-light);
  border: 1.5px solid rgba(27,138,60,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
}

.jv-user-avatar svg { width: 16px; height: 16px; color: var(--jv-green); }

.jv-user-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--jv-text-2);
}

/* ============================================================
   ADMIN CSS OVERRIDES (keep admin dark but green accents)
   ============================================================ */

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .jv-stats-inner       { grid-template-columns: repeat(2, 1fr); }
  .jv-stat-item:nth-child(2) { border-right: none; }
  .jv-stat-num          { font-size: 30px; }
  .jv-verify-layout     { grid-template-columns: 1fr; }
  .jv-features-grid     { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  .jv-header            { padding: 0 16px; }
  .jv-header-nav .hide-mobile { display: none; }

  /* Hide desktop nav links on mobile, show hamburger */
  .jv-header-nav        { display: none; }
  .jv-hamburger         { display: flex !important; }

  /* VIDEO FIX: use padding-top to preserve natural aspect ratio, no zoom/crop */
  .jv-hero {
    margin-top: 68px;
    height: 0 !important;
    min-height: 0 !important;
    padding-top: 56.25%; /* 16:9 ratio = 9/16 = 56.25% */
    position: relative;
    overflow: hidden;
    background: #000;
  }
  .jv-hero-video-wrap {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100%;
    height: 100%;
  }
  .jv-hero-video-wrap video {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
    background: #000;
  }

  .jv-auth-box          { padding: 36px 24px; }
  .jv-stats-inner       { grid-template-columns: repeat(2, 1fr); }
  .jv-verify-card       { padding: 24px 20px; }
  .jv-result-grid       { grid-template-columns: 1fr; }
  .jv-result-energy     { grid-column: 1; }
  .jv-features-grid     { grid-template-columns: 1fr; }
  .jv-footer-inner      { flex-direction: column; align-items: flex-start; }

  /* Green stats strip: shrink number/label sizing so longer values
     (e.g. "585W – 670W") fit nicely inside the 2-column mobile grid
     instead of overflowing/looking oversized */
  .jv-stat-item  { padding: 18px 10px; }
  .jv-stat-num   { font-size: 22px; letter-spacing: -0.5px; margin-bottom: 4px; }
  .jv-stat-label { font-size: 11px; }
}

@media (max-width: 380px) {
  .jv-stat-num   { font-size: 19px; }
  .jv-stat-label { font-size: 10px; }
}

/* ============================================================
   AUTO-GENERATED VERIFICATION CODE BOX (below verify code field)
   ============================================================ */
.jv-captcha-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 10px;
  padding: 12px 14px;
  background: var(--jv-green-xlight);
  border: 1.5px dashed rgba(27,138,60,0.30);
  border-radius: 8px;
  flex-wrap: wrap;
}

.jv-captcha-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.jv-captcha-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--jv-text-3);
}

.jv-captcha-code {
  font-family: 'Courier New', monospace;
  font-size: 20px;
  font-weight: 800;
  color: var(--jv-green-dark);
  letter-spacing: 4px;
  user-select: all;
}

.jv-captcha-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.jv-captcha-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--jv-green);
  color: #fff;
  border: none;
  padding: 8px 14px;
  border-radius: 7px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s;
  white-space: nowrap;
}

.jv-captcha-btn:hover { background: var(--jv-green-mid); }

.jv-captcha-btn svg { width: 14px; height: 14px; flex-shrink: 0; }

.jv-captcha-btn-alt {
  background: var(--jv-white);
  color: var(--jv-green-dark);
  border: 1.5px solid rgba(27,138,60,0.30);
  padding: 8px 10px;
}

.jv-captcha-btn-alt:hover { background: var(--jv-green-light); }

.jv-captcha-hint {
  margin-top: 6px;
  font-size: 12px;
  color: var(--jv-text-3);
}

@media (max-width: 480px) {
  .jv-captcha-code { font-size: 17px; letter-spacing: 3px; }
}

/* ============================================================
   HERO — video only (no content overlay)
   ============================================================ */
.jv-hero {
  display: block;
  width: 100%;
  height: 100vh;
  min-height: 500px;
  overflow: hidden;
  position: relative;
  margin-top: 68px;
  background: #000;
}

.jv-hero-video-wrap {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.jv-hero-video-wrap video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

/* ============================================================
   HEADER — logo only (no text span shown)
   ============================================================ */
