/**
 * MyPriceList brand theme — loads after Vuexy core + theme-default.
 * Palette tokens: partials/brand-theme-vars.blade.php (from config/mypricelist.php brand.palette)
 * Primary = Blue · Secondary = Orange · Tertiary = Green
 */

/* Logo */
.mpl-brand-logo {
  display: block;
  height: auto;
  max-width: 100%;
  object-fit: contain;
}

.mpl-brand-logo--sidebar {
  max-height: 52px;
  width: auto;
}

.mpl-brand-logo--auth {
  max-height: 120px;
  width: auto;
}

.mpl-brand-logo--error {
  max-height: 48px;
  width: auto;
  max-width: 220px;
}

/* Login basic (auth-login-basic.html) */
.authentication-basic .app-brand {
  width: 100%;
}

.authentication-basic .app-brand-link {
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.authentication-basic .mpl-brand-logo--auth-basic {
  max-height: 88px;
  width: auto;
  margin: 0 auto;
  display: block;
}

/* Register — wider card, two columns from lg up */
@media (min-width: 992px) {
  .authentication-basic.mpl-register-wide .authentication-inner {
    max-width: 52rem;
  }
}

.mpl-register-form .row.g-3 > [class*='col-'] {
  margin-bottom: 0;
}

/* Register — Select2 full width + dropdown above auth card */
.mpl-register-form .select2-container {
  width: 100% !important;
}

.mpl-register-card .select2-container--open .select2-dropdown {
  z-index: 1090;
}

.authentication-basic .select2-container--default .select2-selection--single {
  border-color: var(--bs-border-color);
}

.mpl-brand-logo--marketing {
  max-height: 160px;
  width: auto;
  margin: 0 auto;
}

.layout-menu .app-brand.demo {
  position: relative;
  justify-content: center;
  height: auto;
  min-height: 64px;
  margin: 0 !important;
  padding: 0.75rem 2.75rem;
}

.layout-menu .app-brand-link {
  flex: 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  width: 100%;
  text-align: center;
}

.layout-menu .app-brand-logo.demo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: auto;
  max-width: 100%;
}

.layout-menu .mpl-brand-logo--sidebar {
  margin-left: auto;
  margin-right: auto;
}

.layout-menu .app-brand .layout-menu-toggle {
  position: absolute;
  top: 50%;
  right: 0.5rem;
  transform: translateY(-50%);
  margin: 0 !important;
}

.app-brand-logo.demo {
  width: auto;
  height: auto;
  max-width: 100%;
}

.app-brand-logo.demo svg {
  display: none;
}

.layout-menu .app-brand.demo {
  /* background: var(--mpl-black); */
  /* border-bottom: 1px solid rgba(255, 255, 255, 0.08); */
}

/* Marketing homepage — Theme A: Industrial Trust (dark hero, blue CTAs, orange accent) */
.mpl-marketing-page.mpl-marketing-theme-a {
  min-height: 100vh;
  background: linear-gradient(160deg, var(--mpl-black) 0%, #0a1f3d 45%, #003366 100%);
}

.mpl-marketing-page {
  min-height: 100vh;
  background: linear-gradient(160deg, var(--mpl-black) 0%, #0a1f3d 45%, #003366 100%);
}

.mpl-hero-accent {
  height: 4px;
  max-width: 12rem;
  margin-inline: auto;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--mpl-orange) 0%, var(--mpl-gold) 50%, var(--mpl-orange-dark) 100%);
  box-shadow: 0 0 24px rgba(255, 119, 0, 0.35);
}

.mpl-industry-chip .ti {
  color: var(--mpl-blue) !important;
}

.mpl-step-card {
  position: relative;
  padding-top: 2.5rem !important;
}

.mpl-step-num {
  position: absolute;
  top: 1rem;
  left: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #fff;
  background: var(--mpl-orange);
  border-radius: 50%;
}

.mpl-marketing-page .mpl-step-card .text-primary {
  color: var(--mpl-blue) !important;
}

.mpl-marketing-page .guest-card {
  border: none;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.mpl-marketing-page .btn-primary {
  background: var(--mpl-blue);
  border-color: var(--mpl-blue);
}

.mpl-marketing-page .btn-primary:hover {
  background: var(--mpl-blue-dark);
  border-color: var(--mpl-blue-dark);
}

.mpl-marketing-page .btn-outline-light:hover {
  background: var(--mpl-orange);
  border-color: var(--mpl-orange);
  color: #fff;
}

.mpl-marketing-tagline {
  color: var(--mpl-green);
  font-size: 0.9rem;
  letter-spacing: 0.02em;
}

.light-style .auth-cover-bg-color.mpl-auth-panel {
  background: linear-gradient(135deg, #e6f0fa 0%, #fff 50%, #fff4eb 100%);
}

.mpl-auth-panel .mpl-brand-logo--auth-panel {
  max-height: 280px;
  width: auto;
}

/* Auth / marketing: theme switcher when no navbar */
.mpl-theme-auth-bar {
  position: fixed;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 1080;
}

.mpl-theme-auth-bar .nav-link {
  padding: 0.35rem 0.5rem;
}

.dropdown-style-switcher .dropdown-item.active {
  background-color: rgba(var(--bs-primary-rgb, 0, 100, 205), 0.12);
  color: var(--bs-primary, #0064cd);
}

/* Hide Vuexy Template Customizer (Style/Mode panel + gear button) */
#template-customizer,
.template-customizer-open-btn {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* Footer spans full content area width (Vuexy layout) */
.layout-wrapper .content-wrapper > .content-footer.footer {
  width: 100%;
  max-width: 100%;
  margin-inline: 0;
  flex-shrink: 0;
}

.layout-wrapper .content-wrapper > .content-footer.footer .footer-container {
  width: 100%;
  max-width: 100%;
}

/* Plan description (Quill HTML) */
.mpl-plan-description {
  line-height: 1.5;
}

.mpl-plan-description > :last-child {
  margin-bottom: 0;
}

.mpl-plan-description p {
  margin-bottom: 0.5rem;
}

.mpl-plan-description ul,
.mpl-plan-description ol {
  margin-bottom: 0.5rem;
  padding-left: 1.25rem;
}

.mpl-plan-description li {
  margin-bottom: 0.25rem;
}

.mpl-plan-description a {
  color: var(--bs-link-color);
  text-decoration: underline;
}
