/*
 * LoveLikeTH shared public topbar.
 * Add .ll-public-topbar to the public navbar and load this file after page CSS.
 */
body {
  --ll-public-topbar-bg: rgba(42, 15, 91, 0.93);
  --ll-public-topbar-bg-scrolled: rgba(31, 10, 69, 0.98);
}

body.monoka-liquid-home {
  --ll-public-topbar-bg: rgba(47, 18, 102, 0.46);
  --ll-public-topbar-bg-scrolled: rgba(35, 12, 78, 0.8);
}

body nav.ll-public-topbar.navbar-custom.fixed-top {
  font-family: "Inter", "Noto Sans Thai", sans-serif;
  --ll-public-nav-text: rgba(255, 255, 255, 0.94);
  --ll-public-nav-text-strong: #fff;
  --ll-public-nav-hover: rgba(255, 255, 255, 0.13);
  --ll-public-nav-active: rgba(255, 255, 255, 0.18);
  --ll-public-nav-focus: rgba(255, 255, 255, 0.92);
  --ll-public-nav-button-ink: #3b176f;
  padding: calc(0.75rem + env(safe-area-inset-top, 0px)) env(safe-area-inset-right, 0px) 0.75rem env(safe-area-inset-left, 0px);
  border: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transition: padding 0.25s ease;
}

body nav.ll-public-topbar.navbar-custom.fixed-top > .container {
  width: min(calc(100% - 32px), var(--ll-public-content-max, 1180px));
  max-width: var(--ll-public-content-max, 1180px);
  min-height: 58px;
  padding: 0.42rem 0.72rem 0.42rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 1.15rem;
  background: var(--ll-public-topbar-bg);
  box-shadow: 0 14px 38px rgba(29, 7, 70, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(18px) saturate(135%);
  -webkit-backdrop-filter: blur(18px) saturate(135%);
  transition: background-color 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

body nav.ll-public-topbar.navbar-custom.fixed-top.top-nav-collapse {
  padding-top: calc(0.55rem + env(safe-area-inset-top, 0px));
  padding-bottom: 0.55rem;
}

body nav.ll-public-topbar.navbar-custom.fixed-top.top-nav-collapse > .container {
  border-color: rgba(255, 255, 255, 0.24);
  background: var(--ll-public-topbar-bg-scrolled);
  box-shadow: 0 18px 48px rgba(28, 8, 66, 0.24);
}

body nav.ll-public-topbar.navbar-custom.fixed-top .navbar-brand.logo-image {
  display: inline-flex;
  align-items: center;
  margin-right: 1rem;
  padding: 0;
}

body nav.ll-public-topbar.navbar-custom.fixed-top .navbar-brand.logo-image img {
  width: auto;
  max-width: 176px;
  height: 40px;
  object-fit: contain;
}

body nav.ll-public-topbar.navbar-custom.fixed-top .navbar-nav {
  flex-wrap: nowrap;
  align-items: center;
  margin-top: 0;
  margin-bottom: 0;
}

body nav.ll-public-topbar.navbar-custom.fixed-top .navbar-nav > .nav-item {
  flex: 0 0 auto;
}

body nav.ll-public-topbar.navbar-custom.fixed-top .navbar-collapse {
  min-width: 0;
}

body nav.ll-public-topbar.navbar-custom.fixed-top .nav-item .nav-link {
  padding: 0.7rem 0.58rem;
  border-radius: 0.65rem;
  color: var(--ll-public-nav-text);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.45;
  white-space: nowrap;
  opacity: 1;
  text-shadow: 0 1px 1px rgba(19, 4, 47, 0.18);
  text-decoration: none;
}

body nav.ll-public-topbar.navbar-custom.fixed-top .nav-item .nav-link:hover,
body nav.ll-public-topbar.navbar-custom.fixed-top .nav-item .nav-link:focus,
body nav.ll-public-topbar.navbar-custom.fixed-top .nav-item .nav-link.active,
body nav.ll-public-topbar.navbar-custom.fixed-top .nav-item .nav-link[aria-current="page"] {
  background: var(--ll-public-nav-hover);
  color: var(--ll-public-nav-text-strong);
  opacity: 1;
  text-shadow: none;
}

body nav.ll-public-topbar.navbar-custom.fixed-top .nav-item .nav-link:active {
  background: var(--ll-public-nav-active);
}

body nav.ll-public-topbar.navbar-custom.fixed-top .ll-public-auth-actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  margin-left: 0.4rem;
}

body nav.ll-public-topbar.navbar-custom.fixed-top .ll-public-auth-actions .btn-outline-sm + .btn-outline-sm {
  margin-left: 0.45rem;
}

body nav.ll-public-topbar.navbar-custom.fixed-top .nav-item .btn-outline-sm {
  display: inline-flex;
  min-height: 42px;
  margin: 0;
  padding: 0.7rem 0.95rem;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.13);
  background-image: none;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1;
  text-shadow: 0 1px 1px rgba(19, 4, 47, 0.2);
  text-decoration: none;
}

body nav.ll-public-topbar.navbar-custom.fixed-top .nav-item .btn-outline-sm:hover,
body nav.ll-public-topbar.navbar-custom.fixed-top .nav-item .btn-outline-sm:focus {
  border-color: #fff;
  background: #fff;
  color: var(--ll-public-nav-button-ink);
  text-shadow: none;
  text-decoration: none;
}

body nav.ll-public-topbar.navbar-custom.fixed-top .nav-item .btn-outline-sm:active {
  border-color: #eee7f8;
  background: #eee7f8;
  color: #32115f;
  box-shadow: inset 0 2px 5px rgba(52, 17, 100, 0.13);
  transform: translateY(1px);
}

body nav.ll-public-topbar.navbar-custom.fixed-top .nav-item .ll-public-login-button {
  border-color: rgba(255, 255, 255, 0.94);
  background: #fff;
  color: var(--ll-public-nav-button-ink);
  text-shadow: none;
  box-shadow: 0 7px 18px rgba(20, 4, 51, 0.14);
}

body nav.ll-public-topbar.navbar-custom.fixed-top .nav-item .ll-public-login-button:hover,
body nav.ll-public-topbar.navbar-custom.fixed-top .nav-item .ll-public-login-button:focus {
  border-color: #fff;
  background: #f4effa;
  color: #32115f;
  box-shadow: 0 9px 22px rgba(20, 4, 51, 0.2);
}

body nav.ll-public-topbar.navbar-custom.fixed-top .nav-item .ll-public-login-button:active {
  border-color: #e8def4;
  background: #e8def4;
  color: #2d0e58;
  box-shadow: inset 0 2px 5px rgba(52, 17, 100, 0.13);
}

body nav.ll-public-topbar.navbar-custom.fixed-top .monoka-home-language {
  display: flex;
  align-items: center;
  margin-left: 0.4rem;
}

body nav.ll-public-topbar.navbar-custom.fixed-top .monoka-home-language-label {
  display: none;
}

body nav.ll-public-topbar.navbar-custom.fixed-top .monoka-home-language-control {
  position: relative;
  display: flex;
  width: 90px;
  height: 42px;
  align-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.46);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.13);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

body nav.ll-public-topbar.navbar-custom.fixed-top .monoka-home-language-control:hover,
body nav.ll-public-topbar.navbar-custom.fixed-top .monoka-home-language-control:focus-within {
  border-color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.19);
  box-shadow: 0 8px 24px rgba(17, 4, 43, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

body nav.ll-public-topbar.navbar-custom.fixed-top .monoka-home-language-control > .fa,
body nav.ll-public-topbar.navbar-custom.fixed-top .monoka-home-language-control > .fas {
  position: absolute;
  left: 12px;
  z-index: 1;
  color: #fff;
  font-size: 0.82rem;
  pointer-events: none;
  text-shadow: 0 1px 1px rgba(19, 4, 47, 0.18);
}

body nav.ll-public-topbar.navbar-custom.fixed-top .monoka-home-language-control::after {
  position: absolute;
  top: 50%;
  right: 12px;
  z-index: 1;
  width: 6px;
  height: 6px;
  margin-top: -5px;
  border-right: 2px solid rgba(255, 255, 255, 0.94);
  border-bottom: 2px solid rgba(255, 255, 255, 0.94);
  content: "";
  pointer-events: none;
  transform: rotate(45deg);
}

body nav.ll-public-topbar.navbar-custom.fixed-top .monoka-home-language-select {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0 27px 0 31px;
  border: 0;
  outline: 0;
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  color: #fff;
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  box-shadow: none;
}

body nav.ll-public-topbar.navbar-custom.fixed-top .monoka-home-language-select::-ms-expand {
  display: none;
}

body nav.ll-public-topbar.navbar-custom.fixed-top .monoka-home-language-select option {
  background: #fff;
  color: #24103f;
}

body nav.ll-public-topbar.navbar-custom.fixed-top .navbar-toggler {
  position: relative;
  display: none;
  width: 40px;
  height: 40px;
  padding: 0;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 0.75rem;
  background: transparent;
  color: #fff;
  font-size: 1.15rem;
  line-height: 1;
  opacity: 1;
  text-shadow: 0 1px 2px rgba(19, 4, 47, 0.24);
}

body nav.ll-public-topbar.navbar-custom.fixed-top .navbar-toggler .fa-times,
body nav.ll-public-topbar.navbar-custom.fixed-top .navbar-toggler .fas.fa-times {
  display: none;
}

body nav.ll-public-topbar.navbar-custom.fixed-top .navbar-toggler[aria-expanded="true"] .fa-bars,
body nav.ll-public-topbar.navbar-custom.fixed-top .navbar-toggler[aria-expanded="true"] .fas.fa-bars {
  display: none;
}

body nav.ll-public-topbar.navbar-custom.fixed-top .navbar-toggler[aria-expanded="true"] .fa-times,
body nav.ll-public-topbar.navbar-custom.fixed-top .navbar-toggler[aria-expanded="true"] .fas.fa-times {
  display: inline-block;
}

body nav.ll-public-topbar.navbar-custom.fixed-top .nav-item .nav-link:focus-visible,
body nav.ll-public-topbar.navbar-custom.fixed-top .navbar-toggler:focus-visible,
body nav.ll-public-topbar.navbar-custom.fixed-top .monoka-home-language-select:focus-visible,
body nav.ll-public-topbar.navbar-custom.fixed-top .nav-item .btn-outline-sm:focus-visible {
  outline: 3px solid var(--ll-public-nav-focus);
  outline-offset: 2px;
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  body nav.ll-public-topbar.navbar-custom.fixed-top > .container {
    background: #35115f;
  }
}


@media (min-width: 992px) and (max-width: 1199.98px) {
  body nav.ll-public-topbar.navbar-custom.fixed-top > .container {
    width: min(calc(100% - 24px), 1120px);
    max-width: 1120px;
    flex-wrap: wrap;
  }

  body nav.ll-public-topbar.navbar-custom.fixed-top .navbar-brand.logo-image {
    margin-right: auto;
  }

  body nav.ll-public-topbar.navbar-custom.fixed-top .navbar-brand.logo-image img {
    max-width: 170px;
    height: 38px;
  }

  body nav.ll-public-topbar.navbar-custom.fixed-top.navbar-expand-lg .navbar-toggler {
    display: inline-flex;
  }

  body nav.ll-public-topbar.navbar-custom.fixed-top.navbar-expand-lg .navbar-collapse {
    display: none !important;
    flex-basis: 100%;
    width: 100%;
    max-width: 420px;
    margin-top: 0.55rem;
    margin-left: auto;
    padding: 0.65rem 0.7rem 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 0.85rem;
    background: rgba(34, 10, 79, 0.98);
    box-shadow: 0 16px 34px rgba(17, 4, 43, 0.22);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
  }

  body nav.ll-public-topbar.navbar-custom.fixed-top.navbar-expand-lg .navbar-collapse.show {
    display: block !important;
  }

  body nav.ll-public-topbar.navbar-custom.fixed-top .navbar-nav {
    display: block;
    margin: 0;
  }

  body nav.ll-public-topbar.navbar-custom.fixed-top .navbar-nav > .nav-item {
    margin: 0;
  }

  body nav.ll-public-topbar.navbar-custom.fixed-top .nav-item .nav-link {
    padding: 0.56rem 0.6rem;
    font-size: 0.82rem;
    white-space: normal;
  }

  body nav.ll-public-topbar.navbar-custom.fixed-top .ll-public-auth-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
    width: 100%;
    margin: 0.3rem 0 0;
    column-gap: 0.45rem;
    row-gap: 0.45rem;
  }

  body nav.ll-public-topbar.navbar-custom.fixed-top .ll-public-auth-actions .btn-outline-sm + .btn-outline-sm {
    margin-left: 0;
  }

  body nav.ll-public-topbar.navbar-custom.fixed-top .nav-item .btn-outline-sm {
    display: flex;
    min-width: 0;
    min-height: 42px;
    margin: 0;
    padding: 0.62rem 0.8rem;
    font-size: 0.82rem;
    line-height: 1.2;
    text-align: center;
    white-space: normal;
  }

  body nav.ll-public-topbar.navbar-custom.fixed-top .monoka-home-language {
    display: grid;
    grid-template-columns: auto 132px;
    width: 100%;
    margin: 0.45rem 0 0;
    padding-top: 0.55rem;
    align-items: center;
    justify-content: space-between;
    column-gap: 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.09);
  }

  body nav.ll-public-topbar.navbar-custom.fixed-top .monoka-home-language-label {
    display: block;
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1.35;
  }

  body nav.ll-public-topbar.navbar-custom.fixed-top .monoka-home-language-control {
    width: 132px;
    height: 40px;
    border-radius: 0.65rem;
  }
}

@media (max-width: 991.98px) {
  body nav.ll-public-topbar.navbar-custom.fixed-top {
    padding: calc(0.65rem + env(safe-area-inset-top, 0px)) calc(0.75rem + env(safe-area-inset-right, 0px)) 0.65rem calc(0.75rem + env(safe-area-inset-left, 0px));
    background: transparent;
  }

  body nav.ll-public-topbar.navbar-custom.fixed-top.top-nav-collapse {
    padding-top: calc(0.55rem + env(safe-area-inset-top, 0px));
    padding-bottom: 0.55rem;
  }

  body nav.ll-public-topbar.navbar-custom.fixed-top > .container {
    width: 100%;
    max-width: none;
    min-height: 50px;
    padding: 0.35rem 0.55rem 0.35rem 0.7rem;
  }

  body nav.ll-public-topbar.navbar-custom.fixed-top .navbar-brand.logo-image img {
    max-width: 170px;
    height: 36px;
  }

  body nav.ll-public-topbar.navbar-custom.fixed-top .navbar-toggler {
    display: inline-flex;
  }

  body nav.ll-public-topbar.navbar-custom.fixed-top .navbar-collapse {
    width: 100%;
    max-width: 420px;
    margin-top: 0.55rem;
    margin-left: auto;
    padding: 0.65rem 0.7rem 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 0.85rem;
    background: rgba(34, 10, 79, 0.98);
    box-shadow: 0 16px 34px rgba(17, 4, 43, 0.22);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
  }

  body nav.ll-public-topbar.navbar-custom.fixed-top .navbar-nav {
    align-items: stretch;
    margin: 0;
  }

  body nav.ll-public-topbar.navbar-custom.fixed-top .navbar-nav > .nav-item {
    margin: 0;
  }

  body nav.ll-public-topbar.navbar-custom.fixed-top .nav-item .nav-link {
    padding: 0.56rem 0.6rem;
    color: rgba(255, 255, 255, 0.96);
    font-size: 0.82rem;
    line-height: 1.35;
  }

  body nav.ll-public-topbar.navbar-custom.fixed-top .ll-public-auth-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
    width: 100%;
    margin: 0.3rem 0 0;
    column-gap: 0.45rem;
    row-gap: 0.45rem;
  }

  body nav.ll-public-topbar.navbar-custom.fixed-top .ll-public-auth-actions .btn-outline-sm + .btn-outline-sm {
    margin-left: 0;
  }

  body nav.ll-public-topbar.navbar-custom.fixed-top .nav-item .btn-outline-sm {
    display: flex;
    min-width: 0;
    min-height: 42px;
    margin: 0;
    padding: 0.62rem 0.8rem;
    font-size: 0.82rem;
    line-height: 1.2;
    text-align: center;
    white-space: normal;
  }

  body nav.ll-public-topbar.navbar-custom.fixed-top .monoka-home-language {
    display: grid;
    grid-template-columns: auto 132px;
    width: 100%;
    margin: 0.45rem 0 0;
    padding-top: 0.55rem;
    align-items: center;
    justify-content: space-between;
    column-gap: 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.09);
  }

  body nav.ll-public-topbar.navbar-custom.fixed-top .monoka-home-language-label {
    display: block;
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1.35;
  }

  body nav.ll-public-topbar.navbar-custom.fixed-top .monoka-home-language-control {
    width: 132px;
    height: 40px;
    border-radius: 0.65rem;
  }
}

@media (max-width: 575.98px) {
  body nav.ll-public-topbar.navbar-custom.fixed-top > .container {
    min-height: 48px;
    padding: 0.3rem 0.5rem 0.3rem 0.65rem;
    border-radius: 0.95rem;
  }

  body nav.ll-public-topbar.navbar-custom.fixed-top .navbar-brand.logo-image img {
    max-width: 160px;
    height: 34px;
  }

  body nav.ll-public-topbar.navbar-custom.fixed-top .navbar-collapse {
    padding: 0.5rem 0.55rem 0.6rem;
  }

  body nav.ll-public-topbar.navbar-custom.fixed-top .nav-item .nav-link {
    padding: 0.52rem 0.55rem;
  }

  body nav.ll-public-topbar.navbar-custom.fixed-top .monoka-home-language {
    grid-template-columns: auto minmax(124px, 136px);
    column-gap: 0.6rem;
  }

  body nav.ll-public-topbar.navbar-custom.fixed-top .monoka-home-language-control {
    width: 100%;
  }
}

@media (hover: none) {
  body nav.ll-public-topbar.navbar-custom.fixed-top .nav-item .nav-link:hover {
    background: transparent;
  }

  body nav.ll-public-topbar.navbar-custom.fixed-top .nav-item .btn-outline-sm:hover {
    border-color: rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    text-shadow: 0 1px 1px rgba(19, 4, 47, 0.2);
  }

  body nav.ll-public-topbar.navbar-custom.fixed-top .nav-item .ll-public-login-button:hover {
    border-color: rgba(255, 255, 255, 0.94);
    background: #fff;
    color: var(--ll-public-nav-button-ink);
    text-shadow: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  body nav.ll-public-topbar.navbar-custom.fixed-top,
  body nav.ll-public-topbar.navbar-custom.fixed-top > .container,
  body nav.ll-public-topbar.navbar-custom.fixed-top .nav-item .nav-link,
  body nav.ll-public-topbar.navbar-custom.fixed-top .nav-item .btn-outline-sm,
  body nav.ll-public-topbar.navbar-custom.fixed-top .monoka-home-language-control {
    transition-duration: 0.01ms;
  }
}

/* Keep fixed-top content offsets aligned when iOS exposes a top safe area. */
body.ll-blog-page .ll-blog-main {
  padding-top: calc(76px + env(safe-area-inset-top, 0px));
}

@media (max-width: 991.98px) {
  body.monoka-liquid-home .monoka-home-hero .header-content {
    padding-top: calc(9rem + env(safe-area-inset-top, 0px));
  }
}

@media (max-width: 767.98px) {
  body.monoka-liquid-home .monoka-home-hero .header-content {
    padding-top: calc(8.1rem + env(safe-area-inset-top, 0px));
  }

  body.ll-blog-page .ll-blog-main {
    padding-top: calc(70px + env(safe-area-inset-top, 0px));
  }
}


/* 2026-08-07: keep every guest public topbar visually aligned with the homepage. */
body nav.ll-public-topbar.navbar-custom.fixed-top .nav-item .btn-outline-sm,
body nav.ll-public-topbar.navbar-custom.fixed-top .nav-item .ll-public-login-button,
body nav.ll-public-topbar.navbar-custom.fixed-top .nav-item .ll-public-signup-button {
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.13);
  color: #fff;
  text-shadow: 0 1px 1px rgba(19, 4, 47, 0.2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

body nav.ll-public-topbar.navbar-custom.fixed-top .nav-item .btn-outline-sm:hover,
body nav.ll-public-topbar.navbar-custom.fixed-top .nav-item .btn-outline-sm:focus,
body nav.ll-public-topbar.navbar-custom.fixed-top .nav-item .ll-public-login-button:hover,
body nav.ll-public-topbar.navbar-custom.fixed-top .nav-item .ll-public-login-button:focus,
body nav.ll-public-topbar.navbar-custom.fixed-top .nav-item .ll-public-signup-button:hover,
body nav.ll-public-topbar.navbar-custom.fixed-top .nav-item .ll-public-signup-button:focus {
  border-color: #fff;
  background: #fff;
  color: var(--ll-public-nav-button-ink);
  text-shadow: none;
  box-shadow: none;
}

body nav.ll-public-topbar.navbar-custom.fixed-top .monoka-home-language-control {
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.1);
}

body nav.ll-public-topbar.navbar-custom.fixed-top .monoka-home-language-control:hover,
body nav.ll-public-topbar.navbar-custom.fixed-top .monoka-home-language-control:focus-within {
  border-color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.16);
}

body nav.ll-public-topbar.navbar-custom.fixed-top .monoka-home-language-control > .fa,
body nav.ll-public-topbar.navbar-custom.fixed-top .monoka-home-language-control > .fas {
  color: rgba(255, 255, 255, 0.82);
}

body nav.ll-public-topbar.navbar-custom.fixed-top .monoka-home-language-control::after {
  border-right-color: rgba(255, 255, 255, 0.78);
  border-bottom-color: rgba(255, 255, 255, 0.78);
}

/* Keep service dropdown icons identical across pages regardless of the page's Font Awesome version. */
@font-face {
  font-family: 'LL FontAwesome4';
  font-style: normal;
  font-weight: normal;
  font-display: block;
  src: url('../plugins/font-awesome/fonts/fontawesome-webfont.woff2') format('woff2'),
       url('../plugins/font-awesome/fonts/fontawesome-webfont.woff') format('woff');
}

/* LovelikeTH public services dropdown */
body nav.ll-public-topbar .ll-services-nav-dropdown { position: relative; }
body nav.ll-public-topbar .ll-services-nav-menu {
  min-width: 210px; padding: 8px; border: 1px solid rgba(255,255,255,.34); border-radius: 16px;
  background: rgba(31, 18, 54, .94); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 18px 45px rgba(18, 6, 35, .22);
}
body nav.ll-public-topbar .ll-services-nav-menu .dropdown-item {
  display: flex; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 10px; color: #fff;
  font-family: inherit; font-size: .88rem; font-weight: 600;
}
body nav.ll-public-topbar .ll-services-nav-icon {
  width: 18px; flex: 0 0 18px; text-align: center; opacity: .9;
  font-family: 'LL FontAwesome4'; font-style: normal; font-weight: normal; line-height: 1;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
body nav.ll-public-topbar .ll-services-nav-icon-all::before { content: "\f009"; }
body nav.ll-public-topbar .ll-services-nav-icon-instagram::before { content: "\f16d"; }
body nav.ll-public-topbar .ll-services-nav-icon-facebook::before { content: "\f09a"; }
body nav.ll-public-topbar .ll-services-nav-icon-tiktok::before { content: "\f001"; }
body nav.ll-public-topbar .ll-services-nav-icon-youtube::before { content: "\f16a"; }

/* Desktop/fine-pointer: preserve hover opening but always close after the pointer leaves. */
@media (min-width: 992px) and (hover: hover) and (pointer: fine) {
  body nav.ll-public-topbar .ll-services-nav-dropdown:hover > .ll-services-nav-menu {
    display: block;
  }
  body nav.ll-public-topbar .ll-services-nav-dropdown:not(:hover) > .ll-services-nav-menu {
    display: none !important;
  }
}
body nav.ll-public-topbar .ll-services-nav-menu .dropdown-item:hover,
body nav.ll-public-topbar .ll-services-nav-menu .dropdown-item:focus { background: rgba(255,255,255,.13); color: #fff; }
@media (max-width: 991.98px) {
  body nav.ll-public-topbar .ll-services-nav-menu { margin: 2px 0 8px; border: 0; background: rgba(255,255,255,.08); box-shadow: none; }
  body nav.ll-public-topbar .ll-services-nav-menu .dropdown-item { padding-left: 18px; }
}


/* 2026-08-26: shared public login modal. Keeps the former homepage login-card visual language. */
body .ll-public-login-modal {
  padding-right: 0 !important;
}
body .ll-public-login-modal .modal-dialog {
  width: calc(100% - 2rem);
  max-width: 460px;
  margin: 1rem auto;
}
body .ll-public-login-modal .ll-public-login-card {
  position: relative;
  overflow: hidden;
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 1.55rem;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 34px 90px rgba(24, 6, 58, 0.29), inset 0 1px 0 rgba(255, 255, 255, 0.98);
  color: #302841;
  backdrop-filter: blur(24px) saturate(135%);
  -webkit-backdrop-filter: blur(24px) saturate(135%);
}
body .ll-public-login-modal .ll-public-login-card::before {
  position: absolute;
  top: 0;
  left: 8%;
  width: 84%;
  height: 1px;
  background: rgba(255, 255, 255, 0.96);
  content: "";
}
body .ll-public-login-modal .ll-public-login-card > * {
  position: relative;
  z-index: 1;
}
body .ll-public-login-modal .ll-public-login-close {
  position: absolute;
  top: 0.8rem;
  right: 0.95rem;
  z-index: 3;
  width: 2.2rem;
  height: 2.2rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(107, 50, 214, 0.08);
  color: #5f5272;
  font-size: 1.55rem;
  line-height: 2.05rem;
  opacity: 1;
  transition: background-color .2s ease, color .2s ease, transform .2s ease;
}
body .ll-public-login-modal .ll-public-login-close::before {
  display: block;
  width: 100%;
  height: 100%;
  content: "\00d7";
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.85rem;
  font-weight: 400;
  line-height: 2.05rem;
  text-align: center;
}
body .ll-public-login-modal .ll-public-login-close:hover,
body .ll-public-login-modal .ll-public-login-close:focus {
  background: rgba(107, 50, 214, 0.14);
  color: #4c2798;
  outline: none;
  transform: translateY(-1px);
}
body .ll-public-login-modal .ll-public-login-close:focus-visible {
  box-shadow: 0 0 0 3px rgba(107, 50, 214, 0.18);
}
body .ll-public-login-heading {
  padding: 0 2rem;
  margin-bottom: 1.35rem;
  text-align: center;
}
body .ll-public-login-heading h2 {
  margin: 0 0 .4rem;
  color: #2d2140;
  font-family: inherit;
  font-size: 1.55rem;
  font-weight: 700;
  line-height: 1.25;
}
body .ll-public-login-heading p {
  margin: 0;
  color: #756a85;
  font-size: .93rem;
  line-height: 1.65;
}
body .ll-public-login-form .form-group {
  margin-bottom: 1rem;
}
body .ll-public-login-form .form-group.mt-20 {
  margin-top: .3rem !important;
  margin-bottom: .8rem;
}
body .ll-public-login-form .ll-public-auth-input {
  min-height: 48px;
  border: 1px solid rgba(95, 57, 165, 0.15);
  border-radius: .75rem;
  background: rgba(255, 255, 255, 0.76);
  color: #302841;
  box-shadow: inset 0 1px 2px rgba(56, 31, 103, 0.035), 0 7px 20px rgba(56, 31, 103, 0.035);
}
body .ll-public-login-form .ll-public-auth-input::placeholder {
  color: #938aa1;
}
body .ll-public-login-form .ll-public-auth-input:focus {
  border-color: rgba(107, 46, 230, 0.48);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 0 0 4px rgba(107, 46, 230, 0.09);
  outline: 0;
}
body .ll-public-auth-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .8rem;
  margin: .1rem 0 1rem;
  color: #756a85;
  font-size: .87rem;
}
body .ll-public-remember-option {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  margin: 0;
  cursor: pointer;
}
body .ll-public-remember-option input {
  margin: 0;
}
body .ll-public-auth-meta a,
body .ll-public-signup-prompt a {
  color: #6730ce;
  font-weight: 600;
  text-decoration: none;
}
body .ll-public-auth-meta a:hover,
body .ll-public-signup-prompt a:hover {
  color: #5122ad;
  text-decoration: none;
}
body .ll-public-auth-meta a:focus-visible,
body .ll-public-signup-prompt a:focus-visible {
  border-radius: .35rem;
  outline: 3px solid rgba(107, 50, 214, 0.24);
  outline-offset: 3px;
}
body .ll-public-login-submit {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(75, 30, 160, 0.28);
  border-radius: .75rem;
  background: #6b32d6;
  color: #fff;
  cursor: pointer;
  font-family: inherit;
  font-size: .95rem;
  font-weight: 700;
  box-shadow: 0 14px 30px rgba(82, 34, 177, 0.24);
  transition: background-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
body .ll-public-login-submit:hover,
body .ll-public-login-submit:focus {
  background: #5b27c3;
  color: #fff;
  box-shadow: 0 17px 36px rgba(73, 28, 163, 0.3);
  outline: 0;
  transform: translateY(-1px);
}
body .ll-public-login-submit:focus-visible {
  outline: 3px solid rgba(107, 50, 214, 0.22);
  outline-offset: 3px;
}
body .ll-public-social-login .google-auth-box {
  margin-bottom: .95rem;
}
body .ll-public-social-login .google-auth-button {
  min-height: 46px;
  border-radius: .75rem !important;
  background: rgba(255, 255, 255, 0.76) !important;
}
body .ll-public-signup-prompt {
  margin: .9rem 0 0;
  color: #756a85;
  font-size: .88rem;
  text-align: center;
}
body .ll-public-recaptcha-wrap {
  display: flex;
  justify-content: center;
  overflow: hidden;
}
body .ll-public-login-modal .alert-message-reponse {
  overflow-wrap: anywhere;
}
body .ll-public-login-modal .ll-public-auth-input:-webkit-autofill,
body .ll-public-login-modal .ll-public-auth-input:-webkit-autofill:hover,
body .ll-public-login-modal .ll-public-auth-input:-webkit-autofill:focus {
  -webkit-text-fill-color: #302841;
  box-shadow: 0 0 0 1000px #fbf9fe inset !important;
  transition: background-color 9999s ease-out 0s;
}
@media (max-width: 575.98px) {
  /* Keep the login dialog anchored to the visible mobile viewport.
     If space becomes tight (for example with the iOS keyboard open),
     scroll the card content instead of the modal container itself. */
  body .ll-public-login-modal.show {
    display: flex !important;
    align-items: center;
    justify-content: center;
    overflow: hidden !important;
    padding-top: calc(.625rem + env(safe-area-inset-top, 0px)) !important;
    padding-right: .625rem !important;
    padding-bottom: calc(.625rem + env(safe-area-inset-bottom, 0px)) !important;
    padding-left: .625rem !important;
  }
  body .ll-public-login-modal .modal-dialog {
    width: 100%;
    max-width: 460px;
    min-height: 0;
    max-height: calc(100vh - 1.25rem - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px));
    max-height: calc(100dvh - 1.25rem - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px));
    margin: 0 auto;
    display: flex;
    align-items: center;
  }
  body .ll-public-login-modal .ll-public-login-card {
    width: 100%;
    max-height: calc(100vh - 1.25rem - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px));
    max-height: calc(100dvh - 1.25rem - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px));
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    padding: 1.55rem 1.2rem 1.35rem;
    border-radius: 1.25rem;
  }
  body .ll-public-login-heading h2 {
    font-size: 1.35rem;
  }
}
@media (max-width: 359.98px) {
  body .ll-public-recaptcha-wrap {
    justify-content: flex-start;
  }
  body .ll-public-recaptcha-wrap .g-recaptcha {
    transform: scale(.86);
    transform-origin: left top;
    margin-bottom: -10px;
  }
}

/* Public topbar CTA hierarchy + navigation refinement 2026-08-27.
 * Signup is the primary conversion action; login remains intentionally secondary.
 */
body nav.ll-public-topbar.navbar-custom.fixed-top .nav-item .ll-public-login-button {
  border-color: rgba(255, 255, 255, 0.94);
  background: #fff;
  color: #281C43;
  text-shadow: none;
  box-shadow: 0 8px 20px rgba(31, 10, 69, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

body nav.ll-public-topbar.navbar-custom.fixed-top .nav-item .ll-public-login-button:hover,
body nav.ll-public-topbar.navbar-custom.fixed-top .nav-item .ll-public-login-button:focus {
  border-color: #fff;
  background: #F6F3FC;
  color: #281C43;
  text-shadow: none;
  box-shadow: 0 10px 24px rgba(31, 10, 69, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.96);
}

body nav.ll-public-topbar.navbar-custom.fixed-top .nav-item .ll-public-login-button:active {
  border-color: #fff;
  background: #EEE8F8;
  color: #281C43;
  box-shadow: inset 0 2px 5px rgba(49, 16, 111, 0.12);
  transform: translateY(0);
}

body nav.ll-public-topbar.navbar-custom.fixed-top .nav-item .ll-public-signup-button {
  border-color: rgba(255, 255, 255, 0.20);
  background: linear-gradient(135deg, #ff4fa3 0%, #bc43e7 50%, #7847df 100%);
  color: #fff;
  text-shadow: none;
  box-shadow: 0 10px 24px rgba(60, 18, 119, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

body nav.ll-public-topbar.navbar-custom.fixed-top .nav-item .ll-public-signup-button:hover,
body nav.ll-public-topbar.navbar-custom.fixed-top .nav-item .ll-public-signup-button:focus {
  border-color: rgba(255, 255, 255, 0.34);
  background: linear-gradient(135deg, #ff64af 0%, #c852eb 50%, #8657e6 100%);
  color: #fff;
  box-shadow: 0 13px 28px rgba(60, 18, 119, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.28);
  transform: translateY(-1px);
}

body nav.ll-public-topbar.navbar-custom.fixed-top .nav-item .ll-public-signup-button:active {
  background: linear-gradient(135deg, #ed4398 0%, #a839d5 50%, #6d3dd1 100%);
  color: #fff;
  box-shadow: inset 0 2px 5px rgba(43, 11, 88, 0.20);
  transform: translateY(0);
}

@media (hover: none) {
  body nav.ll-public-topbar.navbar-custom.fixed-top .nav-item .ll-public-login-button:hover {
    border-color: rgba(255, 255, 255, 0.94);
    background: #fff;
    color: #281C43;
    box-shadow: 0 8px 20px rgba(31, 10, 69, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.92);
  }

  body nav.ll-public-topbar.navbar-custom.fixed-top .nav-item .ll-public-signup-button:hover {
    border-color: rgba(255, 255, 255, 0.20);
    background: linear-gradient(135deg, #ff4fa3 0%, #bc43e7 50%, #7847df 100%);
    color: #fff;
    box-shadow: 0 10px 24px rgba(60, 18, 119, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.24);
    transform: none;
  }
}

