/**
 * vCard builder (vc.php) — Abutic minimal / editorial style
 * Scoped to body.vc-page only.
 */

body.vc-page {
  background: #ffffff !important;
  color: #0f172a;
  text-align: left;
}

body.vc-page .glass-card {
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border: none !important;
  box-shadow: none !important;
}

/* Top nav */
body.vc-page nav.fixed {
  background: #ffffff !important;
  border-bottom: 1px solid #e4e4e7 !important;
  backdrop-filter: none !important;
}

body.vc-page nav.fixed a {
  color: #475569;
}

body.vc-page nav.fixed a:hover {
  color: #0f172a;
}

/* Hero */
body.vc-page .vc-hero {
  text-align: center;
  padding: 0 1rem 1.5rem;
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}

body.vc-page .vc-hero h1 {
  font-size: 1.625rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.25;
  margin: 0 0 0.5rem;
  letter-spacing: -0.02em;
}

@media (min-width: 640px) {
  body.vc-page .vc-hero h1 {
    font-size: 1.875rem;
  }
}

body.vc-page .vc-hero .vc-hero-accent {
  display: block;
  margin-top: 0.125rem;
}

body.vc-page .vcard-description {
  font-size: 0.9375rem !important;
  color: #64748b !important;
  line-height: 1.55;
  text-align: center;
  max-width: 28rem;
  margin: 0 auto;
}

/* NFC / info callout */
body.vc-page .vc-callout {
  max-width: 42rem;
  margin: 0 auto 1.5rem;
  padding: 1rem 1.125rem;
  background: #f4f4f5;
  border-radius: 0.375rem;
  border: 1px solid #e4e4e7;
  border-left: 3px solid #6366f1;
  text-align: left;
}

body.vc-page .vc-callout p {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.5;
  color: #475569;
}

body.vc-page .vc-callout p:first-child {
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 0.35rem;
}

body.vc-page .vc-callout a {
  color: #18181b;
  font-weight: 600;
  text-decoration: underline;
}

body.vc-page .vc-callout a:hover {
  color: #0f172a;
}

body.vc-page .vc-callout i {
  color: #64748b !important;
}

/* Form shell */
body.vc-page .container.vc-form-shell {
  max-width: 720px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding: 0 1rem 3rem !important;
  background: transparent !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  border: none !important;
  backdrop-filter: none !important;
}

/* Step indicator */
body.vc-page #stepIndicator {
  text-align: center;
  margin-bottom: 1.25rem !important;
  font-size: 0.6875rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  color: #64748b !important;
}

body.vc-page #stepIndicator #currentStep {
  color: #18181b !important;
  font-size: 0.875rem !important;
}

/* Tabs — text + underline (match edit profile) */
body.vc-page .vcard-tab-nav {
  list-style: none;
  padding: 0 !important;
  margin: 0 0 1.75rem !important;
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  gap: 0 !important;
  justify-content: stretch !important;
  border-bottom: 1px solid #e4e4e7 !important;
  background: transparent !important;
  border-radius: 0 !important;
  overflow-x: auto !important;
  -webkit-overflow-scrolling: touch;
}

body.vc-page .vcard-tab-nav li {
  flex: 1 1 0 !important;
  min-width: 0 !important;
  padding: 0.75rem 0.35rem 0.875rem !important;
  margin: 0 !important;
  border-radius: 0 !important;
  font-weight: 500 !important;
  font-size: 0.75rem !important;
  color: #64748b !important;
  text-align: center !important;
  white-space: nowrap !important;
  position: relative !important;
  cursor: pointer !important;
  background: transparent !important;
  box-shadow: none !important;
}

@media (min-width: 480px) {
  body.vc-page .vcard-tab-nav li {
    font-size: 0.8125rem !important;
    padding: 0.875rem 0.5rem 1rem !important;
  }
}

body.vc-page .vcard-tab-nav li:hover:not(.active) {
  color: #0f172a !important;
  background: transparent !important;
}

body.vc-page .vcard-tab-nav li.active {
  background: transparent !important;
  color: #0f172a !important;
  font-weight: 700 !important;
  box-shadow: none !important;
}

body.vc-page .vcard-tab-nav li.active::after {
  content: '';
  position: absolute;
  left: 0.2rem;
  right: 0.2rem;
  bottom: -1px;
  height: 2px;
  background: #18181b;
  border-radius: 1px 1px 0 0;
}

/* Primary / next buttons */
body.vc-page .vc-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.5rem !important;
  padding: 0.65rem 1.5rem !important;
  font-size: 0.875rem !important;
  font-weight: 600 !important;
  border-radius: 0.375rem !important;
  border: none !important;
  cursor: pointer !important;
  transition: background-color 0.15s ease, opacity 0.15s ease !important;
  box-shadow: none !important;
  transform: none !important;
  width: auto !important;
  max-width: 100% !important;
}

body.vc-page .vc-btn.w-full {
  width: 100% !important;
}

@media (min-width: 640px) {
  body.vc-page .vc-btn.w-full.sm\:w-auto {
    width: auto !important;
  }
}

body.vc-page .vc-btn--primary,
body.vc-page .next-tab-btn.vc-btn--primary,
body.vc-page #vcardSubmitBtn.vc-btn--primary {
  background: #18181b !important;
  color: #fafafa !important;
  background-image: none !important;
}

body.vc-page .vc-btn--primary:hover,
body.vc-page .next-tab-btn.vc-btn--primary:hover,
body.vc-page #vcardSubmitBtn.vc-btn--primary:hover {
  background: #27272a !important;
  color: #fafafa !important;
  box-shadow: none !important;
  transform: none !important;
}

body.vc-page button[type="submit"]:not(.faq-question) {
  width: auto !important;
}

/* Labels + fields (override clean-input-overrides) */
body.vc-page #tab-basic-info .input-group label,
body.vc-page #tab-contact-info .input-group label,
body.vc-page #tab-social .input-group label,
body.vc-page #tab-advanced .input-group label,
body.vc-page label.clabel {
  font-size: 0.75rem !important;
  font-weight: 500 !important;
  color: #64748b !important;
  letter-spacing: 0.02em !important;
  margin-bottom: 0.375rem !important;
}

body.vc-page #tab-basic-info input:not([type="file"]),
body.vc-page #tab-basic-info textarea,
body.vc-page #tab-contact-info input:not([type="file"]),
body.vc-page #tab-contact-info textarea,
body.vc-page #tab-social input:not([type="file"]),
body.vc-page #tab-social textarea,
body.vc-page #tab-advanced input.pw-field {
  background: #ffffff !important;
  border: 1px solid #e4e4e7 !important;
  border-radius: 0.375rem !important;
  padding: 0.65rem 5.5rem 0.65rem 0.875rem !important;
  font-size: 1rem !important;
  box-shadow: none !important;
}

/* File upload: symmetric padding (wide right padding is for text-field chrome only) */
body.vc-page #tab-basic-info input[type="file"],
body.vc-page #tab-contact-info input[type="file"],
body.vc-page #tab-social input[type="file"] {
  padding: 0.65rem 0.875rem !important;
}

body.vc-page #tab-advanced input.pw-field:focus {
  border-color: #d4d4d8 !important;
  background: #ffffff !important;
  outline: none !important;
}

body.vc-page #tab-advanced input:not(.slug-input):not(.pw-field),
body.vc-page #tab-advanced textarea {
  background: #f4f4f5 !important;
  border: 1px solid transparent !important;
  border-radius: 0.375rem !important;
  padding: 0.65rem 0.875rem !important;
  font-size: 1rem !important;
  box-shadow: none !important;
  transform: none !important;
  transition: border-color 0.15s ease, background-color 0.15s ease !important;
}

body.vc-page #tab-basic-info input:not([type="file"]):focus,
body.vc-page #tab-basic-info textarea:focus,
body.vc-page #tab-contact-info input:not([type="file"]):focus,
body.vc-page #tab-contact-info textarea:focus,
body.vc-page #tab-social input:not([type="file"]):focus,
body.vc-page #tab-social textarea:focus,
body.vc-page #tab-advanced input:focus,
body.vc-page #tab-advanced textarea:focus {
  border-color: #d4d4d8 !important;
  background: #ffffff !important;
  outline: none !important;
  box-shadow: none !important;
  transform: none !important;
}

/* File input button */
body.vc-page input[type="file"]::file-selector-button {
  margin-right: 0.75rem;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #fafafa;
  background: #18181b;
  border: none;
  border-radius: 0.375rem;
  cursor: pointer;
}

body.vc-page input[type="file"]::file-selector-button:hover {
  background: #27272a;
}

/* Photo preview ring */
body.vc-page #photo-preview {
  border-width: 1px !important;
  border-color: #e4e4e7 !important;
  box-shadow: none !important;
}

/* More websites toggle */
body.vc-page #toggle-more-websites.more-toggle,
body.vc-page .input-group-toggle #toggle-more-websites {
  background: transparent !important;
  color: #18181b !important;
  font-weight: 600 !important;
  padding: 0.5rem 0 !important;
  border-radius: 0 !important;
}

body.vc-page .more-toggle {
  color: #18181b !important;
}

body.vc-page .more-toggle:hover {
  color: #0f172a !important;
}

/* Hint strips */
body.vc-page .vc-field-hint,
body.vc-page .field-hint {
  font-size: 0.8125rem !important;
  color: #64748b !important;
  background: #f4f4f5 !important;
  border-left: 3px solid #d4d4d8 !important;
  border-radius: 0.375rem !important;
  padding: 0.75rem 1rem !important;
  margin: 0.5rem 0 1rem !important;
}

body.vc-page #tab-social .input-group + div[style*="background: rgba(59"] {
  background: #f4f4f5 !important;
  border-left: 3px solid #d4d4d8 !important;
  color: #64748b !important;
}

/* Slug / custom URL */
body.vc-page .slug-control:focus-within {
  box-shadow: inset 0 0 0 1px #d4d4d8 !important;
}

body.vc-page .slug-line {
  background: #f4f4f5 !important;
  border-color: #e4e4e7 !important;
}

body.vc-page .slug-preview a {
  color: #18181b !important;
}

/* Password group */
body.vc-page .pw-group {
  background: #f4f4f5 !important;
  border: 1px solid #e4e4e7 !important;
  border-radius: 0.5rem !important;
  box-shadow: none !important;
  background-image: none !important;
}

body.vc-page .pw-field:focus {
  border-color: #d4d4d8 !important;
  box-shadow: none !important;
}

/* FAQ */
body.vc-page section.bg-white.py-8 {
  background: #ffffff !important;
  border-top: 1px solid #e4e4e7;
}

body.vc-page section.bg-white.py-8 h2 {
  font-size: 1.125rem !important;
  font-weight: 700 !important;
  color: #0f172a !important;
  margin-bottom: 1.25rem !important;
}

body.vc-page section.bg-white.py-8 details {
  border: 1px solid #e4e4e7 !important;
  border-radius: 0.375rem !important;
  box-shadow: none !important;
  background: #fff !important;
}

body.vc-page section.bg-white.py-8 summary {
  box-shadow: none !important;
  border: none !important;
  background: #fafafa !important;
}

body.vc-page section.bg-white.py-8 summary:hover {
  background: #f4f4f5 !important;
}

/* Floating home */
body.vc-page .home-floating-btn {
  background: #18181b !important;
  border-radius: 0.375rem !important;
}

body.vc-page .home-floating-btn:hover {
  background: #27272a !important;
}

/* h1/h2 from legacy sheet */
body.vc-page h1:not(.vc-hero h1),
body.vc-page .container h2 {
  color: inherit !important;
}

body.vc-page .container > form ~ * h2 {
  color: #0f172a !important;
}
