@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&display=swap');

:root {
  --wb-blue: #001f5b;
  --wb-blue-text: #0c1f4f;
  --wb-pink: #ef005d;
  --wb-muted: #2d3c62;
}

html, body {
  min-height: 100%;
}

.frontend-page {
  font-family: "Montserrat", "Segoe UI", sans-serif;
  color: var(--wb-blue-text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.home-topbar {
  background: var(--wb-blue);
}

.home-topbar a:hover {
  opacity: .85;
}

.home-topbar a {
  transition: color .2s ease, text-decoration-color .2s ease, opacity .2s ease;
}

.home-topbar a:hover,
.home-topbar a:focus-visible {
  color: var(--wb-pink) !important;
  text-decoration-color: var(--wb-pink);
}

@media (max-width: 767.98px) {
  .home-topbar .home-topbar-contacts {
    display: none !important;
  }
}

.home-nav .nav-link {
  color: var(--wb-blue-text);
  font-weight: 700;
}

.home-nav a {
  transition: color .2s ease, text-decoration-color .2s ease, opacity .2s ease;
}

.home-nav a:hover,
.home-nav a:focus-visible {
  color: var(--wb-pink) !important;
  text-decoration-color: var(--wb-pink);
}

.home-nav .nav-link.active {
  position: relative;
}

.home-nav .nav-link.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -3px;
  margin: 0 auto;
  width: 48px;
  height: 3px;
  border-radius: 2px;
  background: var(--wb-pink);
}

@media (max-width: 991.98px) {
  .home-nav .navbar-nav {
    width: 100%;
    gap: .25rem;
    padding: .5rem 0;
  }

  .home-nav .navbar-nav .nav-item {
    width: 100%;
  }

  .home-nav .navbar-nav .nav-link {
    width: 100%;
    display: block;
    text-align: center;
    border-radius: .55rem;
    padding: .7rem .9rem;
    font-size: clamp(1.1rem, 4.8vw, 1.45rem);
    letter-spacing: .4px;
    line-height: 1.2;
  }

  .home-nav .navbar-nav .nav-link:hover,
  .home-nav .navbar-nav .nav-link:focus-visible {
    background: #ffe8f1;
  }

  .home-nav .navbar-nav .nav-link.active {
    background: #ffe8f1;
  }

  .home-nav .nav-link.active::after {
    width: 60px;
    bottom: 6px;
  }
}

.home-page .hero {
  background: linear-gradient(180deg, #f8fafc 0%, #f3f6fa 100%);
  position: relative;
  overflow: hidden;
  padding: 2.2rem 0 1.8rem;
}

.home-page .hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(180deg, rgba(248, 250, 252, .78) 0%, rgba(243, 246, 250, .86) 10%),
    url('/assets/img/home-hero-bg.jpg');
  background-repeat: no-repeat, no-repeat;
  background-position: center center, center bottom;
  background-size: cover, cover;
}

.home-page .hero-slideshow {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.home-page .hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: cover;
  animation-name: heroFade;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
}

.home-page .hero-slide::after {
  content: none;
}

@keyframes heroFade {
  0% { opacity: 0; }
  8% { opacity: 1; }
  28% { opacity: 1; }
  36% { opacity: 0; }
  100% { opacity: 0; }
}

.home-page .hero::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 36%;
  height: 62%;
  background: radial-gradient(circle at 25% 70%, rgba(205, 213, 225, .5), rgba(205, 213, 225, 0));
}

.home-page .hero::after {
  content: "";
  position: absolute;
  right: 4%;
  top: 18%;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 31, 91, .08) 0%, rgba(0, 31, 91, 0) 70%);
}

.home-page .hero > .container {
  position: relative;
  z-index: 1;
}

.home-page .hero.has-slideshow::before,
.home-page .hero.has-slideshow::after {
  content: none;
}

@media (prefers-reduced-motion: reduce) {
  .home-page .hero-slide {
    animation: none !important;
  }
}

.home-page .headline {
  font-weight: 800;
  font-size: clamp(1.9rem, 4.4vw, 3.15rem);
  letter-spacing: .4px;
}

.home-page .subtitle {
  font-size: clamp(1.05rem, 2.2vw, 1.6rem);
  color: var(--wb-muted);
}

.home-page .search-wrap {
  max-width: 1040px;
  margin: 1.8rem auto 0;
  background: #fff;
  border-radius: 999px;
  padding: .55rem .62rem .55rem 1.35rem;
  box-shadow: 0 14px 28px rgba(8, 29, 79, .12);
}

.home-page .home-search-results {
  max-width: 1040px;
  margin: .7rem auto 0;
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 16px 30px rgba(8, 29, 79, .16);
  overflow: hidden;
  text-align: left;
}

.home-page .home-search-item {
  display: flex;
  align-items: center;
  gap: .8rem;
  text-decoration: none;
  color: inherit;
  padding: .62rem .95rem;
  border-bottom: 1px solid #edf1f6;
}

.home-page .home-search-item:last-child {
  border-bottom: 0;
}

.home-page .home-search-item:hover {
  background: #f7f9fc;
}

.home-page .home-search-logo {
  width: 42px;
  height: 42px;
  object-fit: contain;
  border-radius: .45rem;
  background: #fff;
  border: 1px solid #e8ecf4;
  flex: 0 0 auto;
}

.home-page .home-search-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.home-page .home-search-name {
  font-weight: 700;
  color: #122759;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.home-page .home-search-meta {
  font-size: .88rem;
  color: #4d5f86;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.home-page .home-search-empty {
  padding: .9rem 1rem;
  color: #4d5f86;
}

.home-page .search-input {
  border: 0;
  box-shadow: none;
  font-size: 1.28rem;
  color: var(--wb-muted);
  text-align: right;
}

.home-page .search-input:focus {
  box-shadow: none;
}

.home-page .search-input::placeholder {
  text-align: right;
}

.home-page .search-btn {
  min-width: 86px;
  width: 86px;
  height: 86px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  border-radius: 50%;
  border: 0;
  background: var(--wb-pink);
  color: #fff;
  font-size: 3.1rem;
  font-weight: 700;
  padding: 0;
  transition: transform .2s ease, filter .2s ease, box-shadow .2s ease;
}

.home-page .search-btn i {
  font-size: inherit;
  line-height: 1;
}

.home-page .search-btn:hover {
  transform: scale(1.06);
  filter: brightness(1.05);
  box-shadow: 0 10px 22px rgba(239, 0, 93, .34);
}

.home-page .search-btn:active {
  transform: scale(.98);
}

.home-page .popular {
  margin-top: 1rem;
  font-size: .96rem;
  color: #1f2f5e;
}

.home-page .popular .tag {
  background: #fff;
  border: 1px solid #e3e7ef;
  border-radius: .62rem;
  padding: .5rem 1rem;
  color: var(--wb-muted);
  text-decoration: none;
  font-weight: 500;
  display: inline-block;
}

.home-page .section-title {
  font-weight: 800;
  letter-spacing: .7px;
  text-align: center;
  margin: 1.4rem 0 1rem;
}

.home-page .section-title::after {
  content: "";
  display: block;
  width: 54px;
  height: 3px;
  background: var(--wb-pink);
  margin: .5rem auto 0;
  border-radius: 2px;
}

.home-page .company-card {
  border: 1px solid #e8ecf4;
  border-radius: .85rem;
  box-shadow: 0 6px 18px rgba(10, 32, 84, .05);
  height: 100%;
  min-height: 250px;
  display: flex;
  flex-direction: column;
}

.home-page .company-logo-wrap {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  cursor: pointer;
}

.home-page .company-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.home-page .company-name {
  font-weight: 700;
  min-height: 36px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  line-height: 1.25;
  text-align: center;
}

.home-page .company-cat,
.home-page .company-place {
  color: var(--wb-muted);
  text-align: center;
}

.home-page .btn-profile {
  border-radius: .5rem;
  border: 1px solid var(--wb-pink);
  color: #fff;
  background: var(--wb-pink);
  width: 100%;
  font-weight: 600;
  font-size: .86rem;
  padding: .38rem .6rem;
  margin-top: auto !important;
}

.home-page .btn-profile:hover,
.home-page .btn-more:hover {
  background: #d60053;
  border-color: #d60053;
  color: #fff;
}

.home-page .btn-more {
  border-radius: .6rem;
  border: 2px solid var(--wb-pink);
  color: var(--wb-pink);
  background: #fff;
  font-weight: 700;
  min-width: 280px;
}

.frontend-footer {
  background: var(--wb-blue);
  margin-top: auto;
}

.brand-logo-main {
  height: 68px;
  object-fit: contain;
}

.brand-logo-admin {
  height: 38px;
  object-fit: contain;
}

.footer-brand-logo {
  height: 96px;
  object-fit: contain;
  background: #fff;
  border-radius: 8px;
  padding: 4px;
  float: left;
  margin: 0 14px 8px 0;
}

.footer-about-text {
  margin-bottom: 0;
}

.frontend-footer a {
  transition: color .2s ease, text-decoration-color .2s ease, opacity .2s ease;
}

.frontend-footer a:hover,
.frontend-footer a:focus-visible {
  color: var(--wb-pink) !important;
  text-decoration-color: var(--wb-pink);
}

@media (max-width: 767.98px) {
  .frontend-footer .footer-brand-logo {
    display: none;
  }

  .frontend-footer,
  .frontend-footer .row,
  .frontend-footer .col-lg-4,
  .frontend-footer .container,
  .frontend-footer .d-flex {
    text-align: center;
    justify-content: center !important;
  }
}

.login-brand-logo {
  height: 72px;
  object-fit: contain;
}

.company-main-logo {
  width: 140px;
  height: 140px;
  object-fit: contain;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 6px;
  background: #fff;
}

.company-public-page .company-hero {
  position: relative;
  padding: 2.4rem 0 2.1rem;
  overflow: hidden;
}

.company-public-page .company-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url('/assets/img/home-hero-bg.jpg');
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: cover;
}

.company-public-page .company-hero .container {
  position: relative;
  z-index: 1;
}

.company-public-page .headline {
  font-weight: 800;
  font-size: clamp(1.9rem, 4.4vw, 3.15rem);
  letter-spacing: .4px;
}

.company-public-page .subtitle {
  font-size: clamp(1.05rem, 2.2vw, 1.6rem);
  color: var(--wb-muted);
}

.company-breadcrumb {
  font-size: .98rem;
  background: #eef3fb;
  border: 1px solid #d7e2f3;
  border-radius: .65rem;
  padding: .55rem .8rem;
  font-weight: 600;
  color: #15306a;
}

.company-breadcrumb a {
  color: #0f2b66;
  text-decoration: none;
}

.company-breadcrumb a:hover {
  text-decoration: underline;
}

.company-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
  color: #6f86b7;
  font-weight: 700;
}

.company-breadcrumb .breadcrumb-item.active {
  color: #0b2152;
  font-weight: 800;
}

.company-main-card,
.company-gallery-card {
  background: #fff;
  border: 1px solid #e8ecf4;
  border-radius: .85rem;
  box-shadow: 0 6px 18px rgba(10, 32, 84, .05);
  padding: 1.1rem;
}

.company-share-box {
  background: #fff;
  border: 1px solid #e8ecf4;
  border-radius: .85rem;
  box-shadow: 0 6px 18px rgba(10, 32, 84, .05);
  padding: .75rem .9rem;
}

.company-share-inline {
  display: flex;
  align-items: center;
  gap: .45rem;
  flex-wrap: wrap;
}

.company-share-label {
  color: #12306b;
  font-size: .93rem;
  font-weight: 700;
  margin-right: .2rem;
}

.company-share-btn {
  border: 1px solid #d8e2f3;
  color: #12306b;
  background: #f7fafe;
  border-radius: 999px;
  font-weight: 600;
  padding: .3rem .72rem;
}

.company-share-btn:hover {
  background: #eaf2ff;
  color: #0d2455;
}

.company-share-btn-wa {
  border-color: #1fae4b;
  background: #1fae4b;
  color: #fff;
}

.company-share-btn-wa:hover {
  background: #16933c;
  color: #fff;
}

.company-share-btn-fb {
  border-color: #1877f2;
  background: #1877f2;
  color: #fff;
}

.company-share-btn-fb:hover {
  border-color: #166fe5;
  background: #166fe5;
  color: #fff;
}

.company-share-btn-li {
  border-color: #0a66c2;
  background: #0a66c2;
  color: #fff;
}

.company-share-btn-li:hover {
  border-color: #0959a8;
  background: #0959a8;
  color: #fff;
}

.company-share-btn-x {
  border-color: #111111;
  background: #111111;
  color: #fff;
}

.company-share-btn-x:hover {
  border-color: #000;
  background: #000;
  color: #fff;
}

.company-share-copy {
  border-color: #5b657a;
  background: #5b657a;
  color: #fff;
}

.company-share-copy:hover {
  border-color: #4a5366;
  background: #4a5366;
  color: #fff;
}

@media (max-width: 767.98px) {
  .company-share-inline {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .45rem;
  }
  .company-share-label {
    grid-column: 1 / -1;
  }
  .company-share-btn {
    width: 100%;
  }
}

.company-logo-box {
  border: 1px solid #ebeff5;
  border-radius: .8rem;
  background: #fff;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.1rem;
}

.company-public-logo {
  width: 100%;
  max-height: 280px;
  object-fit: contain;
}

.company-public-title {
  font-size: clamp(1.4rem, 2.7vw, 2rem);
  font-weight: 800;
  color: #0e255c;
  letter-spacing: .2px;
}

.company-public-summary {
  font-size: 1.1rem;
  color: #1d356b;
}

.company-public-meta {
  display: grid;
  gap: .45rem;
  color: #2e3f66;
  font-size: .96rem;
}

.company-public-meta-right {
  border: 1px solid #e8edf6;
  background: #f8fafd;
  border-radius: .7rem;
  padding: 1rem;
}

.company-public-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
}

.company-action-btn {
  border: 2px solid var(--wb-pink);
  color: var(--wb-pink);
  background: #fff;
  border-radius: .55rem;
  font-weight: 700;
  padding: .45rem .85rem;
}

.company-action-btn:hover {
  background: var(--wb-pink);
  color: #fff;
}

.company-action-btn.company-action-btn-wa {
  border-color: #1fae4b;
  color: #fff;
  background: #1fae4b;
}

.company-action-btn.company-action-btn-wa:hover,
.company-action-btn.company-action-btn-wa:focus-visible {
  border-color: #16933c;
  background: #16933c;
  color: #fff;
}

.company-public-meta a {
  color: #0e255c;
  text-decoration: none;
}

.company-public-meta a:hover {
  text-decoration: underline;
}

.company-public-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
}

.company-public-tag {
  display: inline-block;
  border: 1px solid #dbe2f0;
  background: #f7f9fd;
  color: #213765;
  border-radius: 999px;
  font-size: .85rem;
  font-weight: 600;
  padding: .35rem .75rem;
}

.company-public-description {
  border-top: 1px solid #edf1f7;
  padding-top: 1.1rem;
  line-height: 1.6;
  color: #21345f;
  font-size: 1rem;
}

.company-gallery-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: #10285f;
  margin-bottom: .85rem;
}

.company-gallery-thumbs {
  margin-top: .2rem;
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  gap: .5rem;
  padding-bottom: .25rem;
}

.company-thumb-btn {
  border: 2px solid transparent;
  padding: 0;
  border-radius: .55rem;
  overflow: hidden;
  background: transparent;
}

.company-thumb-btn.is-active {
  border-color: var(--wb-pink);
}

.company-gallery-thumb {
  width: 84px;
  height: 84px;
  object-fit: cover;
  display: block;
}

.company-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(7, 16, 37, .92);
  display: flex;
  align-items: center;
  justify-content: center;
}

.company-lightbox-image {
  max-width: 92vw;
  max-height: 88vh;
  object-fit: contain;
  border-radius: .5rem;
}

.company-lightbox-close {
  position: absolute;
  top: 18px;
  right: 20px;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 2.2rem;
  line-height: 1;
}

.company-lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .18);
  color: #fff;
  font-size: 2rem;
  line-height: 1;
}

.company-lightbox-nav.prev { left: 18px; }
.company-lightbox-nav.next { right: 18px; }

.user-login-page {
  min-height: 62vh;
  display: flex;
  align-items: center;
}

.user-login-card {
  background: #fff;
  border: 1px solid #e8ecf4;
  border-radius: 1rem;
  box-shadow: 0 14px 34px rgba(12, 31, 79, .10);
  padding: 1.6rem;
}

.company-filter-card,
.company-list-card {
  background: #fff;
  border: 1px solid #e8ecf4;
  border-radius: .85rem;
  box-shadow: 0 6px 18px rgba(10, 32, 84, .05);
  padding: 1rem;
}

.company-filter-toggle {
  border: 2px solid #d9e3f4;
  background: #fff;
  color: #12306d;
  border-radius: .8rem;
  font-weight: 700;
  padding: .62rem .9rem;
}

.company-filter-toggle:hover,
.company-filter-toggle:focus-visible {
  border-color: #b7caea;
  background: #f8fbff;
  color: #0f2b66;
}

.company-table thead th {
  white-space: nowrap;
}

.company-table thead a {
  text-decoration: none;
  color: #0f2b66;
}

.company-table thead a:hover {
  text-decoration: underline;
}

.company-list-logo {
  width: 42px;
  height: 42px;
  object-fit: contain;
  border: 1px solid #e8ecf4;
  border-radius: .4rem;
  background: #fff;
}

.company-promo-card {
  border: 1px solid #e8ecf4;
  border-radius: .8rem;
  background: #fff;
  box-shadow: 0 6px 18px rgba(10, 32, 84, .05);
  padding: .9rem;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

.company-promo-logo-wrap {
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  cursor: pointer;
}

.company-promo-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.company-promo-title {
  font-size: 1rem;
  font-weight: 700;
  color: #112a5e;
  margin: 0;
}

.company-promo-location {
  font-weight: 600;
  color: #1c3e80;
  font-size: .92rem;
}

.company-promo-summary {
  color: #465d89;
  font-size: .9rem;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (max-width: 575.98px) {
  .company-list-page .company-list-col {
    width: 50%;
  }
}

@media (min-width: 576px) and (max-width: 767.98px) {
  .company-list-page .company-list-col {
    width: 33.3333%;
  }
}

.company-list-page .btn-primary {
  background: var(--wb-pink);
  border-color: var(--wb-pink);
  color: #fff;
}

.company-list-page .btn-primary:hover {
  background: #d60053;
  border-color: #d60053;
}

.company-list-page #company-filter-submit:disabled {
  background: #d8dee8;
  border-color: #d8dee8;
  color: #6e7d95;
  cursor: not-allowed;
  opacity: 1;
}

.company-list-page .btn-outline-secondary {
  border-color: var(--wb-pink);
  color: var(--wb-pink);
}

.company-list-page .btn-outline-secondary:hover {
  background: var(--wb-pink);
  border-color: var(--wb-pink);
  color: #fff;
}

.company-list-page .pagination {
  gap: .3rem;
}

.company-list-page .page-link {
  border-radius: .45rem;
  border: 1px solid #d7e2f3;
  color: #12306d;
  font-weight: 700;
  min-width: 2rem;
  text-align: center;
}

.company-list-page .page-link:hover {
  background: #f2f6fc;
  border-color: #b7caea;
  color: #0f2b66;
}

.company-list-page .page-item.active .page-link {
  background: var(--wb-pink);
  border-color: var(--wb-pink);
  color: #fff;
}

.company-list-page .page-item.disabled .page-link {
  color: #8aa0c6;
  background: #f8fafd;
  border-color: #e4ebf8;
}

@media (max-width: 991px) {
  .company-logo-box {
    min-height: 220px;
  }
}

.home-page .company-grid-col {
  width: 100%;
  padding-left: .75rem;
  padding-right: .75rem;
}

.home-page .company-place {
  font-size: .93rem;
  font-weight: 700;
  color: #17346f;
}

@media (max-width: 991px) {
  .home-page .search-wrap {
    border-radius: 1.05rem;
    padding: .85rem;
  }

  .home-page .search-btn {
    width: 60px;
    height: 60px;
    min-width: 60px;
    font-size: 2.15rem;
  }

  .home-page .search-input {
    font-size: 1.04rem;
  }
}

@media (min-width: 1400px) {
  .home-page .company-grid-col {
    width: 25%;
  }

  .company-list-page .company-list-col {
    width: 25%;
  }
}

@media (min-width: 992px) and (max-width: 1399.98px) {
  .home-page .company-grid-col {
    width: 33.3333%;
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .home-page .company-grid-col {
    width: 50%;
  }
}

@media (min-width: 576px) and (max-width: 767.98px) {
  .home-page .company-grid-col {
    width: 33.3333%;
  }
}

@media (max-width: 575.98px) {
  .home-page .company-grid-col {
    width: 50%;
  }
}

.content-page-html p:last-child { margin-bottom: 0; }
.content-page-html img { max-width: 100%; height: auto; border-radius: 8px; }
.content-page-html table { width: 100%; }
.content-page-html a { color: var(--wb-blue, #0b2b6b); }

.frontend-page a:not(.btn) {
  transition: color .2s ease, text-decoration-color .2s ease, opacity .2s ease;
}

.frontend-page a:not(.btn):hover,
.frontend-page a:not(.btn):focus-visible {
  color: var(--wb-pink);
  text-decoration-color: var(--wb-pink);
}

.user-app-container {
  max-width: 1180px;
  overflow-x: hidden;
}

.user-app {
  overflow-x: hidden;
}

.user-app-card {
  overflow-x: hidden;
}

.user-app-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  background: linear-gradient(135deg, #0d2b67 0%, #173f8f 100%);
  color: #fff;
  border-radius: 12px;
  padding: .85rem 1rem;
}

.user-app-card {
  background: #fff;
  border: 1px solid #e7edf7;
  border-radius: 12px;
  padding: .85rem;
  box-shadow: 0 8px 20px rgba(11, 34, 82, .06);
}

.user-app-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .5rem;
}

.user-app-logo {
  width: 100%;
  max-height: 200px;
  object-fit: contain;
  border: 1px solid #e9eef7;
  border-radius: 12px;
  padding: .4rem;
  background: #fff;
}

.user-app-logo-placeholder {
  border: 1px dashed #cdd9ee;
  border-radius: 12px;
  min-height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6c7fa8;
  font-weight: 600;
}

.user-gallery-item {
  border: 1px solid #e7edf7;
  border-radius: 10px;
  padding: .45rem;
  background: #fff;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

.user-gallery-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
}

.user-gallery-meta-table th,
.user-gallery-meta-table td {
  font-size: .82rem;
  vertical-align: middle;
}

.user-gallery-delete {
  height: 100%;
  display: flex;
  align-items: end;
}

.user-logo-panel {
  background: linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
  width: 100%;
}

.user-logo-upload-form .btn,
.user-gallery-upload-form .btn {
  min-height: 44px;
  font-weight: 700;
}

.user-gallery-panel {
  background: linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
}

.user-gallery-dropzone {
  border: 1px dashed #cfdcf2;
  border-radius: 10px;
  padding: .55rem;
  background: #fff;
}

#gallery_input {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

#gallery_input::file-selector-button {
  margin-right: .65rem;
  white-space: nowrap;
}

.user-gallery-item-actions .btn {
  min-height: 36px;
}

.user-gallery-upload-head {
  display: flex;
  gap: .55rem;
  align-items: stretch;
}

.user-gallery-upload-head .btn {
  white-space: nowrap;
}

.user-gallery-counters {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
}

.user-selected-list {
  display: grid;
  gap: .4rem;
}

.user-selected-row {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: .45rem;
  align-items: center;
  background: #fff;
  border: 1px solid #e4ecfa;
  border-radius: 8px;
  padding: .4rem;
}

.user-selected-name {
  font-size: .82rem;
  color: #284377;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.user-gallery-list {
  display: grid;
  gap: .5rem;
}

.user-gallery-row {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: .55rem;
  align-items: center;
  border: 1px solid #e3ebf8;
  border-radius: 10px;
  padding: .45rem;
  background: #fff;
}

.user-gallery-row-thumb {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 8px;
}

.user-gallery-row-desc {
  min-height: 64px;
}

.user-gallery-row-delete {
  white-space: nowrap;
}

.user-media-switch {
  display: none;
  gap: .5rem;
  background: #fff;
  border: 1px solid #dfe8f7;
  border-radius: 999px;
  padding: .3rem;
  position: sticky;
  top: .5rem;
  z-index: 20;
  box-shadow: 0 8px 20px rgba(8, 32, 79, .08);
  max-width: 440px;
}

.user-card-preview-wrap {
  border: 1px solid #dfe8f7;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
}

.user-card-preview-frame {
  display: block;
  width: 100%;
  height: auto;
  max-height: 540px;
  border: 0;
  background: #fff;
  object-fit: contain;
}

.user-media-tab {
  flex: 1;
  border: 0;
  background: transparent;
  border-radius: 999px;
  padding: .55rem .75rem;
  font-weight: 700;
  color: #1f3769;
}

.user-media-tab.is-active {
  background: var(--wb-pink);
  color: #fff;
}

.user-panel-hidden {
  display: none !important;
}

.user-field-help {
  color: #60759f;
  font-size: .78rem;
  margin-top: .25rem;
  line-height: 1.35;
}

.user-field-help.is-error {
  color: #dc3545;
}

.user-btn-pink {
  background: var(--wb-pink);
  border-color: var(--wb-pink);
  color: #fff;
  font-weight: 700;
}

.user-btn-pink:hover,
.user-btn-pink:focus-visible {
  background: #d60053;
  border-color: #d60053;
  color: #fff;
}

#company-profile-form .form-label {
  font-size: .78rem;
  color: var(--wb-pink);
  font-weight: 400;
  margin-bottom: .3rem;
}

@media (min-width: 992px) {
  .user-app-sticky {
    position: sticky;
    top: 1rem;
  }
}

@media (max-width: 767.98px) {
  .user-media-switch {
    display: flex;
    margin-left: auto;
    margin-right: auto;
  }

  .user-app-container {
    max-width: 100% !important;
    padding-left: .25rem;
    padding-right: .25rem;
  }

  .user-card-preview-frame {
    max-height: 420px;
  }

  .user-app-card {
    border-radius: 14px;
    padding: .8rem;
  }

  .user-app-card-head {
    align-items: flex-start;
  }

  .user-app-card-head .badge {
    font-size: .68rem;
    padding: .3rem .5rem;
  }

  .user-app-logo {
    max-height: 180px;
  }

  .user-gallery-item {
    border-radius: 12px;
    padding: .55rem;
    gap: .45rem;
  }

  .user-gallery-img {
    border-radius: 10px;
    aspect-ratio: 1 / 1;
  }

  .user-gallery-meta-table th,
  .user-gallery-meta-table td {
    font-size: .76rem;
  }

  .user-gallery-upload-head {
    flex-direction: column;
  }

  .user-gallery-upload-head .btn {
    width: 100%;
  }

  .user-selected-row {
    grid-template-columns: 1fr;
  }

  .user-gallery-row {
    grid-template-columns: 56px 1fr;
    gap: .45rem;
  }

  .user-gallery-row-thumb {
    width: 56px;
    height: 56px;
  }

  .user-gallery-row-desc {
    min-height: 56px;
  }

  .user-gallery-row-delete {
    grid-column: 1 / -1;
    width: 100%;
  }

  #gallery_input {
    font-size: .84rem;
    line-height: 1.2;
    padding-top: .45rem;
    padding-bottom: .45rem;
  }

  #gallery_input::file-selector-button {
    font-size: .82rem;
    padding: .32rem .55rem;
  }

  .user-gallery-panel {
    margin-top: .75rem !important;
  }
}
