@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap");

html {
  font-size: 14px;
  --landing-anchor-offset: 94px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #f0b429;
}

html {
  min-height: 100%;
}

body {
  margin: 0;
  background: #faf6ec;
  font-family: "Manrope", "Segoe UI", sans-serif;
  line-height: 1.6;
}

.app-sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: 270px;
  background: #232534;
  color: #faf6ec;
  padding: 24px 18px 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-right: 1px solid #2f3040;
  z-index: 1000;
}

.sidebar-brand {
  display: block;
  color: #ffffff;
  text-decoration: none;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.2;
  padding: 10px 12px;
  border-radius: 8px;
  margin-bottom: 1.5rem;
}

.sidebar-brand-wordmark {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(240, 180, 41, 0.35);
}

.sidebar-brand-wordmark .brand-main {
  background: linear-gradient(145deg, #c88400 0%, #ffd85c 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.sidebar-brand-wordmark .brand-suffix {
  color: #ffd980;
}

.sidebar-owner-label {
  display: inline-flex;
  align-items: baseline;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
}

.sidebar-membership-box {
  width: 100%;
  border: 1px solid rgba(240, 180, 41, 0.45);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  padding: 10px 12px;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.2;
  overflow: hidden;
  white-space: normal;
  word-break: normal;
  overflow-wrap: normal;
  flex-wrap: wrap;
  column-gap: 0.2rem;
  row-gap: 0;
}

.sidebar-membership-box .brand-main {
  background: linear-gradient(145deg, #c88400 0%, #ffd85c 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  max-width: 100%;
  white-space: nowrap;
}

.sidebar-membership-box .brand-suffix {
  color: #ffd980;
  white-space: nowrap;
}

.sidebar-brand:hover {
  color: #ffffff;
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.sidebar-link {
  display: block;
  color: #ffffff;
  text-decoration: none;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.2;
}

.sidebar-link:hover {
  color: #ffffff;
  background: #35374a;
}

.sidebar-link-button {
  width: 100%;
  border: 0;
  background: transparent;
  text-align: left;
}

.sidebar-footer .text-muted {
  color: #c8be9e !important;
}

.sidebar-logout-btn {
  border: 1px solid #b91c1c;
  color: #ffffff;
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 55%, #b91c1c 100%);
  border-radius: 8px;
  font-weight: 700;
  box-shadow: 0 8px 18px rgba(185, 28, 28, 0.28);
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.sidebar-logout-btn:hover {
  color: #ffffff;
  transform: translateY(-1px);
  filter: saturate(1.08);
  box-shadow: 0 12px 22px rgba(185, 28, 28, 0.36);
}

.sidebar-logout-btn:focus,
.sidebar-logout-btn:active {
  color: #ffffff;
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 60%, #991b1b 100%);
}

.sidebar-settings-links {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.sidebar-separator {
  border: 0;
  border-top: 1px solid #4b4435;
  margin: 0 0 0.75rem 0;
}

.app-content {
  margin-left: 270px;
  min-height: 100vh;
}

.floating-options-panel {
  width: 100%;
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 20px 38px rgba(15, 23, 42, 0.08);
  border: 1px solid #ece2cb;
  overflow: hidden;
}

.floating-options-panel .nav-tabs {
  background: #fbf7ef;
  border-bottom: 1px solid #e8dbbe;
  padding: 0.5rem 0.75rem 0;
}

.floating-options-panel .nav-tabs .nav-link {
  border: 0;
  color: #5d5645;
  border-radius: 8px 8px 0 0;
  margin-right: 0.35rem;
}

.floating-options-panel .nav-tabs .nav-link.active {
  background: #ffffff;
  color: #0f172a;
  font-weight: 600;
}

.floating-options-content {
  padding: 1.5rem;
}

.pdf-dropzone {
  border: 1px dashed #c99700;
  border-radius: 8px;
  padding: 10px 14px;
  text-align: center;
  color: #c99700;
  background: #fff8e8;
  cursor: pointer;
  user-select: none;
}

.pdf-dropzone:hover,
.pdf-dropzone.is-drag-over {
  background: #fff2cc;
}

.landing-header {
  background: linear-gradient(90deg, #ffffff 0%, #fff8ec 100%);
  position: sticky;
  top: 0;
  z-index: 1100;
  backdrop-filter: blur(4px);
}

.brand-wordmark {
  display: inline-flex;
  align-items: center;
  line-height: 1;
  transition: text-shadow 0.22s ease;
}

.landing-brand-logo {
  display: block;
  width: auto;
  height: clamp(40px, 4vw, 50px);
}

.brand-main {
  background: linear-gradient(145deg, #c88400 0%, #ffd85c 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.money-col {
  width: 17ch;
  min-width: 17ch;
  max-width: 17ch;
  white-space: nowrap;
}

.brand-suffix {
  color: #d18e00;
  font-weight: 600;
  margin-left: 0.06em;
}

/* Stacked modal clarity: emphasize top modal and de-emphasize underlying modal(s). */
.modal-backdrop.show {
  opacity: 0.62 !important;
  background-color: #0f172a !important;
}

.modal.show .modal-content {
  border: 1px solid #dfd1ae;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.28);
}

.modal.modal-stack-underlay .modal-content {
  opacity: 0.74;
  transform: scale(0.992);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.16);
}

.modal.modal-stack-top .modal-content {
  border: 1px solid #d18e00;
  box-shadow: 0 26px 56px rgba(209, 142, 0, 0.30), 0 18px 34px rgba(15, 23, 42, 0.28);
}

.modal.modal-stack-top .modal-header {
  background: linear-gradient(90deg, #fff8ea 0%, #faf2df 100%);
  border-bottom-color: #e8d3a0;
}

.modal-backdrop.modal-backdrop-stack-underlay {
  opacity: 0.45 !important;
}

.modal-backdrop.modal-backdrop-stack-top {
  opacity: 0.72 !important;
}

.brand-wordmark:hover {
  text-shadow: 0 0 14px rgba(242, 179, 0, 0.22);
}

.landing-header-btn {
  border-radius: 10px;
  font-weight: 600;
  min-width: 110px;
  transition: all 0.2s ease;
}

.landing-header-btn-primary {
  background: linear-gradient(135deg, #f2b300 0%, #d99400 100%);
  border: 1px solid #b57a00;
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(217, 148, 0, 0.22);
}

.landing-header-btn-primary:hover {
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(217, 148, 0, 0.30);
}

.landing-header-btn-outline {
  border: 1px solid #3a3c50;
  color: #3a3c50;
  background: rgba(255, 255, 255, 0.78);
}

.landing-header-btn-outline:hover {
  background: #f7ecd2;
  color: #232534;
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(31, 35, 56, 0.18);
}

.landing-header-navlink {
  color: #232534;
  font-weight: 600;
  padding: 0.38rem 0.75rem;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: all 0.2s ease;
}

.landing-header-navlink:hover {
  color: #4b3f2a;
  background: #f7ecd2;
  border-color: #e3cd90;
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(120, 94, 43, 0.16);
}

.landing-footer {
  border-top: 1px solid #e9d9ad;
  background: linear-gradient(90deg, #ffffff 0%, #fff8ec 100%);
}

.landing-footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  color: #776d58;
  font-size: 0.95rem;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem 1rem;
}

.landing-footer-links {
  display: inline-flex;
  flex-wrap: nowrap;
  gap: 0.8rem;
  white-space: nowrap;
}

.landing-footer-links a {
  color: #35374a;
  text-decoration: none;
  font-weight: 600;
}

.landing-footer-links a:hover {
  text-decoration: underline;
}

.cookie-consent-banner {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 16px;
  width: min(980px, calc(100vw - 2rem));
  z-index: 1200;
  background: #ffffff;
  border: 1px solid #ecd7a0;
  border-radius: 12px;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.18);
  padding: 0.75rem 0.9rem;
}

.cookie-consent-inner {
  display: flex;
  gap: 0.75rem;
  justify-content: space-between;
  align-items: center;
}

.table-filter-popover {
  position: fixed;
  z-index: 2000;
  width: 320px;
  max-height: 420px;
  background: #fff;
  border: 1px solid #decfab;
  border-radius: 0.5rem;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
  padding: 0.75rem;
  overflow: hidden;
}

.table-filter-values {
  border: 1px solid #dee2e6;
  border-radius: 0.375rem;
  max-height: 220px;
  overflow-y: auto;
  padding: 0.35rem;
  background: #fff;
}

.table-filter-item {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  font-size: 0.875rem;
  margin-bottom: 0.25rem;
}

.table-filter-item:last-child {
  margin-bottom: 0;
}

.saas-landing {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2.25rem;
}

.saas-landing .btn {
  display: inline-block;
  text-decoration: none;
  font-weight: 800;
  border-radius: 10px;
  padding: 0.7rem 1rem;
  font-size: 0.9rem;
}

.saas-landing .btn.btn-lg {
  font-size: 0.9rem;
  padding: 0.7rem 1rem;
}

.saas-landing .btn-primary {
  color: #fff;
  border: 0;
  background: linear-gradient(130deg, #1f76d2, #38b6ff);
}

.pb-landing-page {
  --landing-header-height: 86px;
  --landing-anchor-offset: 102px;
}

.pb-landing-page .landing-header {
  background: linear-gradient(90deg, #ffffff 0%, #fff8ec 100%);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1100;
  backdrop-filter: blur(4px);
}

.pb-landing-page .landing-content {
  padding-top: calc(var(--landing-header-height) + 1.5rem) !important;
}

.pb-landing-page .brand-wordmark {
  display: inline-flex;
  align-items: center;
  line-height: 1;
  transition: text-shadow 0.22s ease;
}

.pb-landing-page .brand-main {
  background: linear-gradient(145deg, #c88400 0%, #ffd85c 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.pb-landing-page .brand-suffix {
  color: #d18e00;
  font-weight: 600;
  margin-left: 0.06em;
}

.pb-landing-page .brand-wordmark:hover {
  text-shadow: 0 0 14px rgba(242, 179, 0, 0.22);
}

.pb-landing-page .landing-header-btn {
  border-radius: 10px;
  font-weight: 600;
  min-width: 110px;
  min-height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1.2;
  transition: all 0.2s ease;
}

.pb-landing-page .landing-header-actions {
  align-items: stretch;
}

.pb-landing-page .landing-header-navlink {
  color: #232534;
  font-weight: 600;
  padding: 0.38rem 0.75rem;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: all 0.2s ease;
}

.pb-landing-page .landing-header-navlink:hover {
  color: #4b3f2a;
  background: #f7ecd2;
  border-color: #e3cd90;
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(120, 94, 43, 0.16);
}

/* BTG landing body parity (scoped to landing body only) */
.pb-landing-page .saas-landing {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2.25rem;
}

.pb-landing-page .landing-hero {
  background: linear-gradient(145deg, #c88400 0%, #ffd85c 100%);
  color: #ffffff;
  border-radius: 18px;
  padding: 2rem;
  box-shadow: 0 18px 42px rgba(7, 19, 44, 0.35);
}

.pb-landing-page .hero-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  padding: 0.35rem 0.85rem;
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

.pb-landing-page .hero-title {
  font-size: clamp(1.9rem, 3.5vw, 3rem);
  font-weight: 750;
  letter-spacing: -0.02em;
  margin-bottom: 0.9rem;
}

.pb-landing-page .hero-subtitle {
  color: #fff3cc;
  font-size: 1.05rem;
  max-width: 620px;
  margin-bottom: 1.25rem;
}

.pb-landing-page .hero-metric {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 140px;
  border: 1px solid rgba(255, 217, 128, 0.38);
  background: rgba(7, 19, 44, 0.32);
  border-radius: 10px;
  padding: 1rem;
}

.pb-landing-page .hero-metric span {
  color: #fff3cc;
  font-size: 0.9rem;
}

.pb-landing-page .hero-visual {
  display: grid;
  gap: 0.9rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.pb-landing-page .visual-card {
  min-height: 140px;
  border-radius: 14px;
  border: 1px dashed rgba(255, 255, 255, 0.45);
  background: rgba(6, 18, 39, 0.42);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.pb-landing-page .visual-card.accent {
  background: rgba(120, 94, 43, 0.56);
}

.pb-landing-page .placeholder-title {
  font-weight: 700;
}

.pb-landing-page .placeholder-body {
  color: #fff1c2;
}

.saas-landing [id] {
  scroll-margin-top: var(--landing-anchor-offset);
}

.landing-hero {
  background: linear-gradient(145deg, #c88400 0%, #ffd85c 100%);
  color: #ffffff;
  border-radius: 18px;
  padding: 2rem;
  box-shadow: 0 18px 42px rgba(7, 19, 44, 0.35);
}

.hero-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  padding: 0.35rem 0.85rem;
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

.hero-title {
  font-size: clamp(1.9rem, 3.5vw, 3rem);
  font-weight: 750;
  letter-spacing: -0.02em;
  margin-bottom: 0.9rem;
}

.hero-subtitle {
  color: #fff3cc;
  font-size: 1.05rem;
  max-width: 620px;
  margin-bottom: 1.25rem;
}

.hero-metrics {
  display: grid;
  gap: 0.5rem;
}

.hero-metric {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 140px;
  border: 1px solid rgba(255, 217, 128, 0.38);
  background: rgba(7, 19, 44, 0.32);
  border-radius: 10px;
  padding: 1rem;
}

.hero-metric span {
  color: #fff3cc;
  font-size: 0.9rem;
}

.hero-visual {
  display: grid;
  gap: 0.9rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.visual-card {
  min-height: 140px;
  border-radius: 14px;
  border: 1px dashed rgba(255, 255, 255, 0.45);
  background: rgba(6, 18, 39, 0.42);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.visual-card.accent {
  background: rgba(120, 94, 43, 0.56);
}

.placeholder-title {
  font-weight: 700;
}

.placeholder-body {
  color: #fff1c2;
}

.landing-section {
  background: #ffffff;
  border: 1px solid #eadfc4;
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 8px 26px rgba(15, 23, 42, 0.05);
}

.section-heading h2 {
  margin-bottom: 0.3rem;
}

.section-heading p {
  color: #8a7d61;
  margin-bottom: 1rem;
}

.feature-tile {
  height: 100%;
  background: linear-gradient(180deg, #fff8e8 0%, #fff5dc 100%);
  border: 1px solid #e2d4b2;
  border-radius: 12px;
  padding: 1rem;
}

.feature-tile h3 {
  font-size: 1.05rem;
}

.feature-tile p {
  margin-bottom: 0;
  color: #615845;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.faq-item {
  border: 1px solid #e7dabd;
  border-radius: 12px;
  padding: 0.9rem;
  background: linear-gradient(180deg, #fff8ea 0%, #fff6dd 100%);
}

.faq-item h3 {
  font-size: 1.03rem;
  margin-bottom: 0.35rem;
}

.faq-item p {
  margin: 0;
  color: #6a624f;
}

.landing-cta {
  border: 1px solid #ecd7a0;
  background: linear-gradient(180deg, #ffffff 0%, #fff8ec 100%);
}

.landing-cta-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.legal-page {
  max-width: 980px;
  margin: 0 auto;
  background: #ffffff;
  border: 1px solid #eadfc4;
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 8px 26px rgba(15, 23, 42, 0.05);
}

.legal-page h2 {
  margin-top: 1.2rem;
  font-size: 1.15rem;
}

.image-placeholder {
  min-height: 180px;
  border: 2px dashed #ccbfa0;
  border-radius: 12px;
  background: repeating-linear-gradient(45deg, #f7f9fc, #f7f9fc 10px, #f8edd6 10px, #f8edd6 20px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #746b55;
  font-weight: 600;
}

.pb-landing-page .pb-gallery-shell {
  width: 100%;
}

.pb-landing-page .pb-gallery-controls {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.5rem;
  align-items: center;
}

.pb-landing-page .pb-gallery-strip {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding: 0.2rem 0;
  scroll-behavior: smooth;
  width: 100%;
}

.pb-landing-page .pb-gallery-arrow {
  width: 2.1rem;
  height: 2.1rem;
  border: 1px solid #d6be86;
  border-radius: 999px;
  background: linear-gradient(180deg, #fffdf7 0%, #fff3da 100%);
  color: #8d6500;
  font-size: 1.35rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.pb-landing-page .pb-gallery-thumb {
  border: 2px solid #e5d8ba;
  border-radius: 10px;
  background: #fff;
  padding: 0;
  overflow: hidden;
  cursor: pointer;
  width: calc((100% - (0.5rem * 4)) / 5);
  flex: 0 0 calc((100% - (0.5rem * 4)) / 5);
  aspect-ratio: 1 / 1;
  transition: transform 0.18s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.pb-landing-page .pb-gallery-thumb:hover {
  transform: translateY(-1px);
  border-color: #c99700;
}

.pb-landing-page .pb-gallery-thumb.is-active {
  border-color: #c99700;
  box-shadow: 0 0 0 0.15rem rgba(217, 148, 0, 0.22);
}

.pb-landing-page .pb-gallery-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pb-landing-page .pb-gallery-modal-image {
  width: 100%;
  max-height: 72vh;
  object-fit: contain;
  border: 1px solid #e7dabd;
  border-radius: 10px;
  background: #fdfaf2;
}

.pb-landing-page .pb-gallery-modal-desc {
  margin-top: 0.75rem;
  color: #6b5d3a;
}

.pb-landing-page #pbGalleryModal .modal-body {
  position: relative;
  padding-left: 3rem;
  padding-right: 3rem;
}

.pb-landing-page .pb-gallery-modal-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 2.3rem;
  height: 2.3rem;
  border: 1px solid #d6be86;
  border-radius: 999px;
  background: rgba(255, 253, 247, 0.95);
  color: #8d6500;
  font-size: 1.45rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
}

.pb-landing-page .pb-gallery-modal-prev {
  left: 0.75rem;
}

.pb-landing-page .pb-gallery-modal-next {
  right: 0.75rem;
}

.pricing-card {
  position: relative;
  border: 1px solid #dccda8;
  border-radius: 14px;
  padding: 1.1rem;
  height: 100%;
  background: #fdfefe;
  display: flex;
  flex-direction: column;
  transition: transform 0.18s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.pricing-card:hover {
  transform: translateY(-2px);
  border-color: #c99700;
  box-shadow: 0 14px 26px rgba(217, 148, 0, 0.18);
}

.pricing-card.is-active {
  border: 2px solid #c99700;
  box-shadow: 0 12px 28px rgba(217, 148, 0, 0.22);
}

.plan-label {
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.plan-price {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 0.7rem;
}

.plan-price span {
  font-size: 0.95rem;
  font-weight: 500;
  color: #7a705b;
}

.plan-definition {
  color: #776d58;
  font-size: 0.95rem;
  margin: -0.2rem 0 0.7rem;
}

.pricing-card ul {
  margin: 0 0 1rem 1rem;
  padding: 0;
}

.pricing-card > .btn {
  margin-top: auto;
}

.pricing-detail-wide {
  border: 1px solid #ecd7a0;
  border-radius: 14px;
  background: linear-gradient(180deg, #ffffff 0%, #fff9eb 100%);
  padding: 1rem 1.1rem;
  box-shadow: 0 8px 22px rgba(120, 94, 43, 0.10);
}

.pricing-detail-gallery {
  border: 1px solid #e3d5b3;
  border-radius: 12px;
  background: #ffffff;
  padding: 0.8rem;
}

.gallery-title {
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.gallery-note {
  color: #85785d;
  font-size: 0.92rem;
  margin-bottom: 0.7rem;
}

.gallery-slides {
  display: grid;
  gap: 0.5rem;
}

.pricing-gallery-rotator {
  position: relative;
  min-height: 180px;
}

.pricing-gallery-image {
  width: 100%;
  min-height: 120px;
  max-height: 220px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid #e3d5b3;
  background: #fff8e8;
  display: none;
  opacity: 0;
  transition: opacity 0.25s ease-in-out;
}

.pricing-gallery-image.active {
  display: block;
  opacity: 1;
}

.js-plan-more-btn.active {
  box-shadow: 0 0 0 0.15rem rgba(217, 148, 0, 0.22);
}

.owner-ops-page {
  width: 100%;
  max-width: none;
}

.owner-stat-card {
  padding: 1rem;
  border: 1px solid #e8dbbe;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
}

.owner-panel {
  border: 1px solid #e6d9bb;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(2, 15, 33, 0.05);
}

.owner-panel .table td,
.owner-panel .table th {
  vertical-align: middle;
  white-space: normal;
}

.pricing-table th,
.pricing-table td {
  white-space: normal;
  word-break: break-word;
}

.pricing-actions {
  white-space: nowrap !important;
  min-width: 240px;
}

.pricing-order-cell {
  white-space: nowrap;
  font-weight: 600;
}

.pricing-drag-handle {
  cursor: grab;
  user-select: none;
  color: #85785d;
}

.pricing-draggable-row.dragging {
  opacity: 0.55;
}

.owner-module-card {
  display: block;
  height: 100%;
  background: #ffffff;
  border: 1px solid #e6d9bb;
  border-radius: 12px;
  padding: 1rem 1.1rem;
  box-shadow: 0 8px 24px rgba(2, 15, 33, 0.05);
  transition: transform 0.15s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.owner-module-card:hover {
  transform: translateY(-2px);
  background: #fff3d6;
  border-color: #e2b555;
  box-shadow: 0 14px 28px rgba(191, 136, 16, 0.20);
}

.owner-faq-carousel {
  position: relative;
  min-height: 360px;
}

.owner-faq-page {
  display: none;
}

.owner-faq-page.is-active {
  display: block;
}

.owner-faq-card {
  border: 1px solid #e6d9bb;
  border-radius: 12px;
  padding: 0.85rem;
  background: #fffaf0;
  height: 100%;
}

.owner-pricing-modal .modal-dialog {
  max-width: min(1200px, calc(100vw - 1rem));
  margin: 0.5rem auto;
}

.owner-pricing-modal .modal-content {
  max-height: calc(100vh - 1rem);
}

.owner-pricing-modal form {
  min-height: 0;
}

.owner-pricing-modal .modal-body {
  overflow-y: auto;
  overflow-x: hidden;
  min-height: 0;
}

.owner-pricing-modal .modal-footer {
  position: sticky;
  bottom: 0;
  background: #ffffff;
  border-top: 1px solid #dee2e6;
  z-index: 3;
}

.pricing-modal-tabs {
  border-bottom: 1px solid #e9ddc0;
}

.pricing-modal-tabs .nav-link {
  color: #5f533c;
  font-weight: 600;
}

.pricing-modal-tabs .nav-link.active {
  color: #c99700;
  border-color: #e9ddc0 #e9ddc0 #ffffff;
  background: #ffffff;
}

.gallery-upload-dropzone {
  border: 1px dashed #d9a12f;
  border-radius: 10px;
  background: #fff8e8;
  padding: 0.9rem;
  cursor: pointer;
  text-align: center;
}

.gallery-upload-dropzone:hover,
.gallery-upload-dropzone.is-drag-over {
  background: #fff3d1;
}

.gallery-existing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0.6rem;
}

.gallery-existing-item {
  border: 1px solid #e3d5b3;
  border-radius: 10px;
  padding: 0.35rem;
  background: #ffffff;
}

.gallery-existing-item img {
  width: 100%;
  height: 88px;
  object-fit: cover;
  border-radius: 7px;
  display: block;
  margin-bottom: 0.25rem;
}

.login-theme {
  max-width: 1180px;
  margin: 0 auto;
}

.login-hero-panel {
  background: linear-gradient(145deg, #c88400 0%, #ffd85c 100%);
  color: #ffffff;
  border-radius: 18px;
  padding: 2rem;
  box-shadow: 0 18px 42px rgba(7, 19, 44, 0.35);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.login-hero-panel h1 {
  font-size: clamp(1.7rem, 3vw, 2.45rem);
  font-weight: 750;
  margin: 0.7rem 0 0.8rem;
}

.login-hero-panel p {
  color: #fff3cc;
  max-width: 520px;
}

.login-benefits {
  margin: 0.6rem 0 0;
  padding-left: 1.1rem;
}

.login-benefits li {
  margin-bottom: 0.3rem;
  color: #fff1c2;
}

.login-form-panel {
  background: #ffffff;
  border: 1px solid #e6d9bb;
  border-radius: 16px;
  padding: 1.75rem;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

.register-onboarding {
  max-width: 1180px;
  margin: 0 auto;
  margin-top: 0.9rem;
}

.register-shell {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 1.25rem;
  align-items: stretch;
}

.register-plan-panel {
  border-radius: 18px;
  padding: 1.75rem;
  background: linear-gradient(145deg, #c88400 0%, #ffd85c 100%);
  color: #fff8e8;
  box-shadow: 0 18px 42px rgba(7, 19, 44, 0.28);
  min-height: 66vh;
}

.register-plan-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 217, 128, 0.42);
  border-radius: 999px;
  padding: 0.28rem 0.7rem;
  font-size: 0.84rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.register-plan-title {
  margin: 0 0 0.8rem 0;
  font-size: clamp(1.8rem, 1.55rem + 1.2vw, 2.4rem);
  line-height: 1.12;
}

.register-plan-subtitle {
  margin: 0 0 1.2rem 0;
  font-size: 1.05rem;
  color: #ffe08a;
}

.register-plan-card {
  border-radius: 14px;
  padding: 1rem 1.05rem;
  background: rgba(15, 23, 42, 0.28);
  border: 1px solid rgba(255, 217, 128, 0.42);
}

.register-plan-card ul {
  margin: 0;
  padding-left: 1rem;
  line-height: 1.5;
}

.register-form-panel {
  border-radius: 18px;
  border: 1px solid #d8caa5;
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.1);
  padding: 1.5rem;
  min-height: 66vh;
}

.register-form-head {
  margin-bottom: 1rem;
}

.register-form-grid .form-control-lg {
  border-radius: 10px;
}

.register-form-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6rem;
}

.register-form-actions .btn {
  min-height: 44px;
  padding: 0.5rem 0.9rem;
  font-size: 0.96rem;
  line-height: 1.2;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  white-space: nowrap;
}

@media (max-width: 991.98px) {
  .register-shell {
    grid-template-columns: 1fr;
  }

  .register-plan-panel,
  .register-form-panel {
    min-height: auto;
  }

  .app-sidebar {
    position: static;
    width: 100%;
    min-height: auto;
  }

  .app-content {
    margin-left: 0;
  }

  .landing-hero {
    padding: 1.25rem;
  }

  .hero-visual {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .faq-grid {
    grid-template-columns: 1fr;
  }

  .pb-landing-page .pb-gallery-strip {
    overflow-x: hidden;
    scroll-snap-type: x mandatory;
  }

  .pb-landing-page .pb-gallery-thumb {
    width: 100%;
    max-width: 100%;
    flex: 0 0 100%;
    scroll-snap-align: start;
    aspect-ratio: 4 / 3;
    min-height: 180px;
  }

  .login-hero-panel {
    padding: 1.4rem;
  }

  .login-form-panel {
    padding: 1.2rem;
  }

  .register-form-actions {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767.98px) {
  .hero-visual {
    grid-template-columns: 1fr;
  }

  .pb-landing-page .landing-header-actions {
    width: 100%;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem !important;
  }

  .pb-landing-page .landing-header-actions .landing-header-btn {
    width: 100%;
    min-width: 0;
  }

  .pb-landing-page .hero-visual {
    grid-template-columns: 1fr;
  }
}

.presentation-editor-shell {
  position: relative;
  width: 100%;
  aspect-ratio: 8.5 / 11;
  height: auto;
  border: 1px solid #e7dabd;
  border-radius: 0.25rem;
  overflow: hidden;
  background: #fff9eb;
}

.presentation-editor-frame {
  border: 0;
  width: 100%;
  height: 100%;
  pointer-events: auto;
}

.presentation-editor-overlay {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.presentation-editor-input {
  position: absolute;
  pointer-events: auto;
  min-height: 20px;
  padding: 1px 4px;
  border: 1px solid rgba(217, 148, 0, 0.26);
  background: rgba(255, 255, 255, 0.8);
  font-size: 11px;
  line-height: 1.2;
  color: #212529;
}

.presentation-editor-input:focus {
  outline: none;
  border-color: #f0b429;
  box-shadow: 0 0 0 0.12rem rgba(217, 148, 0, 0.18);
  background: #fff;
}

.presentation-editor-textarea {
  resize: none;
}

.presentation-editor-canvas {
  display: block;
  width: 100%;
  height: auto;
}

.presentation-editor-widget-layer {
  position: absolute;
  left: 0;
  top: 0;
  pointer-events: auto;
}

.pdfjs-widget-input {
  position: absolute;
  border: 1px solid rgba(217, 148, 0, 0.36);
  background: rgba(255, 255, 255, 0.88);
  color: #1f2937;
  font-size: 12px;
  line-height: 1.2;
  padding: 1px 3px;
}

.pdfjs-widget-input:focus {
  outline: none;
  border-color: #c99700;
  box-shadow: 0 0 0 0.1rem rgba(217, 148, 0, 0.22);
  background: #fff;
}

.js-pdfjs-loading {
  position: absolute;
  left: 10px;
  top: 10px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid #e7dabd;
  border-radius: 6px;
  padding: 4px 8px;
}

@media (max-width: 1200px) {
  .presentation-editor-shell,
  .presentation-editor-frame {
    height: auto;
  }
}
