:root {
  --primary: #9b4a1b;
  --primary-hover: #823d15;
  --primary-light: #fef7f2;
  --text-main: #1f2937;
  --text-muted: #6b7280;
  --border-color: #e5e7eb;
  --bg-light: #f8fafc;
  --radius: 12px;
  --font-serif: 'Playfair Display', serif;
  --font-sans: 'Plus Jakarta Sans', sans-serif;
  --font-script: 'Alex Brush', cursive;
}
.auth-wrapper { width: 100%; max-width: 1240px; min-height: 780px; background: #ffffff; border-radius: 28px; box-shadow: 0 25px 50px -12px rgba(0,0,0,0.08); display: grid; grid-template-columns: 1fr 1.3fr; overflow: hidden; margin: auto; }
.hero-panel { position: relative; background: linear-gradient(rgba(15,23,42,0.45), rgba(15,23,42,0.75)), url('https://images.unsplash.com/photo-1571896349842-33c89424de2d?q=80&w=1200&auto=format&fit=crop') center/cover no-repeat; padding: 48px; display: flex; flex-direction: column; justify-content: space-between; color: #ffffff; }
.hero-header .tagline-mini { font-size: 0.75rem; letter-spacing: 3px; font-weight: 600; text-transform: uppercase; opacity: 0.85; margin-bottom: 8px; display: block; }
.hero-header h1 { font-family: var(--font-serif); font-size: 2.5rem; font-weight: 600; line-height: 1.15; }
.hero-header h1 span { display: block; font-family: var(--font-script); font-size: 3.5rem; font-weight: 400; line-height: 1.1; margin-top: -4px; }
.hero-header p { margin-top: 16px; font-size: 0.95rem; line-height: 1.6; color: #e2e8f0; max-width: 90%; }
.hero-features { margin: 32px 0; display: flex; flex-direction: column; gap: 20px; }
.feature-item { display: flex; align-items: center; gap: 16px; }
.feature-icon { width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,0.9); color: var(--primary); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.feature-text h4 { font-size: 0.95rem; font-weight: 600; color: #ffffff; }
.feature-text p { font-size: 0.825rem; color: #cbd5e1; }
.quote-box { background: rgba(255,255,255,0.12); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid rgba(255,255,255,0.2); border-radius: 16px; padding: 18px 20px; display: flex; align-items: center; gap: 16px; }
.quote-mark { color: #f97316; font-family: var(--font-serif); font-size: 3rem; line-height: 0; margin-top: 8px; }
.quote-box p { font-size: 0.85rem; font-style: italic; color: #f1f5f9; line-height: 1.4; }
.dots-indicator { display: flex; gap: 6px; margin-top: 14px; }
.dots-indicator span { width: 20px; height: 4px; background: rgba(255,255,255,0.3); border-radius: 2px; }
.dots-indicator span.active { background: #ea580c; }
.auth-panel { padding: 44px 60px; display: flex; flex-direction: column; justify-content: space-between; background-color: #ffffff; }
.brand-center { text-align: center; margin-bottom: 24px; }
.brand-logo { display: inline-flex; flex-direction: column; align-items: center; gap: 4px; margin-bottom: 12px; }
.brand-logo svg { width: 38px; height: 38px; color: var(--primary); }
.brand-logo .title { font-family: var(--font-serif); font-weight: 700; font-size: 1.15rem; letter-spacing: 0.5px; color: #111827; }
.brand-logo .subtitle { font-size: 0.65rem; letter-spacing: 2px; text-transform: uppercase; color: #4b5563; font-weight: 600; }
.brand-center h2 { font-family: var(--font-serif); font-size: 1.85rem; color: #111827; margin-top: 6px; }
.brand-center p { font-size: 0.875rem; color: var(--text-muted); margin-top: 4px; }
.tabs-nav { display: flex; border-bottom: 1px solid var(--border-color); margin-bottom: 28px; }
.tab-btn { flex: 1; padding: 12px 0; text-align: center; background: none; border: none; font-size: 0.95rem; font-weight: 500; color: var(--text-muted); cursor: pointer; position: relative; transition: all 0.2s; }
.tab-btn.active { font-weight: 600; color: var(--primary); }
.tab-btn.active::after { content: ''; position: absolute; bottom: -1px; left: 20%; right: 20%; height: 2px; background-color: var(--primary); border-radius: 2px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 0.825rem; font-weight: 600; margin-bottom: 6px; color: #374151; }
.input-box { position: relative; display: flex; align-items: center; }
.input-box i { position: absolute; left: 14px; color: #9ca3af; width: 18px; height: 18px; }
.input-box input { width: 100%; padding: 12px 14px 12px 42px; border: 1px solid var(--border-color); border-radius: var(--radius); font-size: 0.9rem; outline: none; transition: border-color 0.2s, box-shadow 0.2s; font-family: inherit; }
.input-box input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(155,74,27,0.1); }
.input-box .trailing-icon { position: absolute; right: 14px; left: auto; cursor: pointer; }
.phone-prefix { position: absolute; left: 14px; display: flex; align-items: center; gap: 6px; font-size: 0.85rem; color: #374151; font-weight: 500; }
.phone-prefix img { width: 18px; border-radius: 2px; }
.input-phone { padding-left: 72px !important; }
.form-row { display: flex; justify-content: space-between; align-items: center; font-size: 0.85rem; margin-bottom: 24px; }
.checkbox-label { display: flex; align-items: center; gap: 8px; cursor: pointer; color: #4b5563; user-select: none; }
.checkbox-label input { accent-color: var(--primary); width: 16px; height: 16px; border-radius: 4px; }
.link-primary { color: var(--primary); text-decoration: none; font-weight: 600; }
.link-primary:hover { text-decoration: underline; }
.submit-btn { width: 100%; padding: 13px; border: none; border-radius: var(--radius); background-color: var(--primary); color: #ffffff; font-size: 0.95rem; font-weight: 600; cursor: pointer; display: flex; justify-content: center; align-items: center; gap: 8px; transition: background-color 0.2s, transform 0.1s; }
.submit-btn:hover { background-color: var(--primary-hover); }
.submit-btn:active { transform: translateY(1px); }
.divider { position: relative; text-align: center; margin: 24px 0; }
.divider::before { content: ''; position: absolute; top: 50%; left: 0; right: 0; height: 1px; background: var(--border-color); }
.divider span { position: relative; background: #ffffff; padding: 0 12px; font-size: 0.775rem; color: #9ca3af; }
.social-group { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 24px; }
.social-btn { padding: 9px; border: 1px solid var(--border-color); border-radius: var(--radius); background: #ffffff; font-size: 0.85rem; font-weight: 500; color: #374151; display: flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer; transition: all 0.2s; }
.social-btn:hover { background-color: #f9fafb; border-color: #d1d5db; }
.social-btn svg, .social-btn img { width: 17px; height: 17px; }
.auth-bottom-cta { text-align: center; font-size: 0.85rem; color: var(--text-muted); margin-bottom: 24px; }
.trust-badges { border-top: 1px solid var(--border-color); padding-top: 20px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.badge-item { display: flex; align-items: center; gap: 8px; }
.badge-item i { color: var(--primary); width: 20px; height: 20px; flex-shrink: 0; }
.badge-item h5 { font-size: 0.775rem; font-weight: 600; color: #1f2937; line-height: 1.2; }
.badge-item p { font-size: 0.7rem; color: #6b7280; }
.mobile-header-bar { display: none; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.mobile-header-bar a { color: #4b5563; text-decoration: none; font-size: 0.85rem; font-weight: 500; }
@media (max-width: 960px) {
  body { padding: 0; background-color: #ffffff; }
  .auth-wrapper { box-shadow: none; border-radius: 0; grid-template-columns: 1fr; min-height: 100vh; }
  .hero-panel { display: none; }
  .auth-panel { padding: 24px 20px 32px; }
  .mobile-header-bar { display: flex; }
  .trust-badges { margin-top: 24px; }
}
