/* Layout clone of digitalvcard profile — custom page background (main_bg) */

:root {
  --theme-color: #1e90ff;
  --theme-text-on: #fff;
}

html {
  scroll-behavior: smooth;
}

body.main_bg {
  margin: 0;
  min-height: 100vh;
  padding-bottom: 72px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: #212529;
}

/* Replaceable background — subtle mesh (original was mostly plain off-white) */
.main_bg {
  background:
    radial-gradient(ellipse 100% 80% at 50% -20%, rgba(30, 144, 255, 0.12), transparent 55%),
    radial-gradient(ellipse 80% 50% at 100% 50%, rgba(30, 144, 255, 0.06), transparent 45%),
    linear-gradient(180deg, #f0f4f8 0%, #e8eef5 100%);
}

.profile_content {
  padding-top: 0.5rem;
}

.main_card {
  border-radius: 6px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

[data-theme-wrap] {
  background: var(--theme-color) !important;
}

[data-theme-bg] {
  background: var(--theme-color);
  color: var(--theme-text-on);
  padding: 0.5rem 0.75rem;
  border-radius: 4px;
  margin: -0.5rem -0.5rem 0.5rem;
  font-size: 0.9rem;
}

.view_label_icon {
  margin-right: 0.35rem;
}

.company-logo {
  max-width: 180px;
  width: 100%;
  height: auto;
  border-radius: 8px;
  border: 4px solid var(--theme-color);
}

.firmname {
  font-size: 1.1rem;
  font-weight: 700;
  margin-top: 0.75rem;
  color: #333;
}

.manager_name {
  font-size: 0.95rem;
  color: #444;
  line-height: 1.35;
}

.colorgraph1 {
  border: none;
  border-top: 2px solid var(--theme-color);
  opacity: 0.85;
  margin: 0.75rem 0;
}

[data-theme-border] {
  border-color: var(--theme-color) !important;
}

.social-media .btn[data-theme-btn],
button[data-theme-btn],
#btn-send[data-theme-btn] {
  background: var(--theme-color) !important;
  color: var(--theme-text-on) !important;
  font-weight: 600;
  border: none;
}

.social-media .btn[data-theme-btn]:hover,
button[data-theme-btn]:hover {
  filter: brightness(1.05);
  color: var(--theme-text-on) !important;
}

.text-blue {
  color: #007bff !important;
}

.break_all {
  word-break: break-word;
}

.social-media1 a {
  display: inline-block;
  margin: 0.25rem 0.4rem;
  font-size: 1.75rem;
  color: #333;
  vertical-align: middle;
}

.social-media1 a:hover {
  color: var(--theme-color);
  text-decoration: none;
}

.social-media1 a.social-custom-link {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--theme-color);
  border: 1px solid var(--theme-color);
  border-radius: 6px;
  padding: 0.3rem 0.55rem;
  line-height: 1.25;
}

.social-media1 a.social-custom-link:hover {
  background: var(--theme-color);
  color: var(--theme-text-on) !important;
}

.share_b {
  margin-right: 0.35rem;
}

.qrcode canvas {
  display: block;
  margin: 0 auto;
}

.qr_img {
  max-width: 220px;
  width: 100%;
  height: auto;
}

.product-services .card {
  border: 1px solid #dee2e6;
  overflow: hidden;
}

.product-services .card-header {
  background: #f8f9fa;
  padding: 0.65rem;
}

.product-services .font-weight-xl {
  font-weight: 700;
  margin: 0;
  font-size: 1rem;
}

.product-img {
  width: 100%;
  max-height: 200px;
  object-fit: contain;
  background: #fff;
  padding: 0.5rem;
}

.bg_white {
  background: #fff;
  padding: 1rem;
  text-align: center;
}

.prod_p {
  min-height: 0;
  margin-bottom: 0.5rem;
}

.enuery {
  margin-top: 0.25rem;
}

.payment-details h5 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

.width_30 {
  flex: 0 0 30%;
  max-width: 30%;
}

.width_5 {
  flex: 0 0 5%;
  max-width: 5%;
}

.width_70 {
  flex: 0 0 65%;
  max-width: 65%;
}

.width_100 {
  width: 100%;
}

.about_width_30 {
  flex: 0 0 30%;
  max-width: 30%;
}

.width_66 {
  flex: 0 0 63%;
  max-width: 63%;
}

.company-address .row {
  margin-left: 0;
  margin-right: 0;
}

.p_custom {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #333;
}

.p_custom .MsoNormal {
  margin: 0 0 0.65rem;
}

.gallery_imgs {
  text-align: center;
}

.galery_img {
  border-radius: 6px;
  border: 1px solid #eee;
  max-width: 100%;
}

/* Bottom navigation */
.bg_dark {
  background: #2c3e50 !important;
  box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.15);
  min-height: 56px;
  padding: 0.25rem 0;
}

.bg_dark .nav-link {
  color: rgba(255, 255, 255, 0.85) !important;
  font-size: 0.65rem;
  text-align: center;
  padding: 0.35rem 0.15rem;
  line-height: 1.2;
}

.bg_dark .nav-link i {
  display: block;
  font-size: 1.1rem;
  margin-bottom: 0.15rem;
}

.bg_dark .nav-link:hover,
.bg_dark .nav-link.active {
  color: #fff !important;
}

.bg_dark .nav-link.active {
  font-weight: 600;
}

.mobileMenu {
  display: none !important;
}

@media (max-width: 767px) {
  .webMenu {
    display: none !important;
  }

  .mobileMenu {
    display: flex !important;
  }

  .bg_dark .nav-link {
    font-size: 0;
  }

  .bg_dark .nav-link i {
    font-size: 1.35rem;
    margin-bottom: 0;
  }
}

.section-anchor {
  scroll-margin-top: 8px;
}

#shareModal .share-button-whatsapp,
#shareModal .share-button-facebook,
#shareModal .share-button-twitter {
  font-size: 2.5rem;
  margin: 0 0.5rem;
  color: #333;
}

.toast-msg {
  position: fixed;
  bottom: 88px;
  left: 50%;
  transform: translateX(-50%) translateY(120%);
  z-index: 2000;
  padding: 0.5rem 1rem;
  background: #333;
  color: #fff;
  border-radius: 999px;
  font-size: 0.9rem;
  transition: transform 0.35s ease;
}

.toast-msg.is-visible {
  transform: translateX(-50%) translateY(0);
}

.toast-msg[hidden] {
  display: block !important;
  visibility: hidden;
}

.toast-msg.is-visible {
  visibility: visible;
}

/* Form builder — live preview placeholders */
.preview-placeholder {
  color: #868e96 !important;
  font-style: italic;
}

.logo-wrap .company-logo.d-none {
  display: none !important;
}

.logo-placeholder {
  border: 2px dashed rgba(0, 0, 0, 0.18);
  border-radius: 8px;
  padding: 1.5rem 1rem;
  color: rgba(0, 0, 0, 0.38);
  font-size: 0.8rem;
  max-width: 180px;
  margin-left: auto;
  margin-right: auto;
}

.qr-placeholder {
  border: 1px dashed #ced4da;
  border-radius: 6px;
  max-width: 220px;
  margin-left: auto;
  margin-right: auto;
}

.service-preview-dummy .card-header {
  background: #f1f3f5 !important;
  color: #868e96 !important;
  font-style: italic;
}

.service-preview-dummy .service-dummy-img {
  min-height: 120px;
  background: #f8f9fa;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #adb5bd;
  font-size: 0.85rem;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .toast-msg {
    transition: none;
  }
}
