@charset "UTF-8";
/* =============================================================================
 * platform-docs.css
 *
 * Ported from the webapp SCSS so the /platform/* docs render like the webapp,
 * independent of any existing app view/layout:
 *     default header component   -> header
 *     footer component           -> footer
 *     docs menu                  -> docs sidebar menu
 *     markdown renderer          -> .content typography/tables
 *
 * SCSS variables/mixins (which lived in the webapp's styles/global/variables,
 * not in this repo) are resolved to concrete values here:
 *     $primary           -> #008DCA   (VMC blue: darken($turquoise #009fe3, 5%))
 *     $family-sans-serif -> 'Readex Pro'
 *     $white / $black    -> #ffffff / #0a0a0a
 *     $grey              -> #7a7a7a
 *     $grey-light        -> #b5b5b5
 *     $grey-lighter      -> #dbdbdb
 *     $grey-very-light   -> #f2f2f2
 *     $size-7            -> 0.75rem
 *     @include on-touch  -> @media (max-width: 1007px)
 *     @include tablet    -> @media (min-width: 769px)
 *     @include desktop   -> @media (min-width: 1024px)
 *
 * NOTE: the very content-specific `.section--estate-agents-table` block from
 * mark-down-renderer.scoped.scss is intentionally omitted — it pseudo-renders
 * check/uncheck columns via `content: url(icon-check.png)` image assets that
 * are not part of this repo.
 * ============================================================================= */
/* --- VMC brand primary applied over Bulma defaults ------------------------- */
.platform-docs, .platform-docs .content {
  font-family: "Readex Pro", sans-serif;
}

.platform-docs .has-text-primary {
  color: #008DCA !important;
}

.platform-docs a {
  color: #008DCA;
}

.platform-docs .button.is-primary {
  background-color: #008DCA;
  border-color: transparent;
  color: #fff;
}

.platform-docs .button.is-primary:hover {
  background-color: #006996;
}

/* --- header (webapp default header component) ------------------------------ */
.platform-docs header.header {
  position: relative;
  font-weight: 600;
  z-index: 11;
  background: #fff;
}

.platform-docs header.header .fa {
  font-size: 21px;
}

.platform-docs .navbar.is-hidden-touch .navbar-item,
.platform-docs .navbar.is-hidden-touch .navbar-link {
  font-size: 14px;
}

.platform-docs .navbar.is-hidden-touch .navbar-item.is-active:not(.has-dropdown) {
  color: #363636; /* $grey-dark */
  border-bottom: 0.25rem solid #008DCA;
  padding-bottom: 0.25rem;
}

.platform-docs .navbar-brand img {
  max-height: 3.5rem;
}

.platform-docs .navbar-brand .navbar-item:hover {
  background: #fff;
}

.platform-docs #header-desktop-home {
  cursor: pointer;
}

/* Contact Us / Support hover -> $navbar-item-hover-color: darken($primary, 10%)
   where $primary: darken($turquoise #009fe3, 5%) == #008DCA, so darken(.., 10%) == #006996 */
.platform-docs .navbar-end a.navbar-item:hover,
.platform-docs .navbar-end a.navbar-item:focus {
  color: #006996;
}

/* --- docs sidebar menu (redesigned .vmc-nav) ------------------------------- */
/* Shared by the landing page and every /platform/* page; markup lives in
   resources/views/platform/partials/nav.blade.php. */
.platform-docs .vmc-nav {
  background: #ffffff;
  border-right: 1px solid #e8eaed;
  padding: 20px 0 48px;
  min-width: 260px;
  max-width: 260px;
  font-family: "Readex Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.platform-docs .vmc-section {
  padding: 0 10px;
}

.platform-docs .vmc-section-header {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 6px 10px;
  border-radius: 7px;
  margin-bottom: 3px;
}

.platform-docs .vmc-section-header.internal {
  background: rgba(0, 141, 202, 0.08);
}

.platform-docs .vmc-section-header.public {
  background: rgba(149, 191, 61, 0.1);
}

.platform-docs .vmc-section-header.opda {
  background: rgba(255, 204, 0, 0.12);
}

.platform-docs .vmc-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

.platform-docs .internal .vmc-dot {
  background: #008dca;
}

.platform-docs .public .vmc-dot {
  background: #95bf3d;
}

.platform-docs .opda .vmc-dot {
  background: #ffcc00;
}

.platform-docs .vmc-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.platform-docs .internal .vmc-label {
  color: #0077aa;
}

.platform-docs .public .vmc-label {
  color: #5e7d1e;
}

.platform-docs .opda .vmc-label {
  color: #997a00;
}

.platform-docs .vmc-section ul {
  list-style: none;
  margin: 0;
  padding: 2px 0 6px;
}

.platform-docs .vmc-section li {
  margin: 0;
  font-weight: 400;
}

.platform-docs .vmc-section li a {
  display: flex;
  align-items: center;
  padding: 7px 10px;
  font-size: 16px;
  font-weight: 400;
  color: #4a4a4a;
  text-decoration: none;
  border-radius: 7px;
  transition: background 0.12s, color 0.12s;
  line-height: 1.4;
}

.platform-docs .vmc-section li a:hover {
  background: #f5f6f8;
  color: #4a4a4a;
}

.platform-docs .vmc-section.internal li a.vmc-active {
  background: rgba(0, 141, 202, 0.1);
  color: #0077aa;
  font-weight: 600;
}

.platform-docs .vmc-section.public li a.vmc-active {
  background: rgba(149, 191, 61, 0.12);
  color: #4e6b18;
  font-weight: 600;
}

.platform-docs .vmc-section.opda li a.vmc-active {
  background: rgba(255, 204, 0, 0.12);
  color: #997a00;
  font-weight: 600;
}

.platform-docs .vmc-arrow {
  margin-left: auto;
  font-size: 12px;
  color: #d1d5db;
  line-height: 1;
  flex-shrink: 0;
}

.platform-docs .vmc-section li a:hover .vmc-arrow {
  color: #9ca3af;
}

.platform-docs .vmc-section.internal li a.vmc-active .vmc-arrow {
  color: #008dca;
}

.platform-docs .vmc-section.public li a.vmc-active .vmc-arrow {
  color: #95bf3d;
}

.platform-docs .vmc-section.opda li a.vmc-active .vmc-arrow {
  color: #ffcc00;
}

.platform-docs .vmc-divider {
  height: 1px;
  background: linear-gradient(to right, transparent, #e8eaed 15%, #e8eaed 85%, transparent);
  margin: 10px 18px 12px;
}

/* docs page layout: nav beside the rendered markdown.
   Matches the landing page's wrapper (max-width: 1120px, centered) so the
   left/right margins are identical across pages regardless of screen width. */
.platform-docs .vmc-docs-layout {
  display: flex;
  align-items: flex-start;
  max-width: 1120px;
  margin: 0 auto;
  padding: 40px 16px;
}

.platform-docs .vmc-docs-main {
  flex: 1;
  min-width: 0;
  padding-left: 32px;
}

@media (max-width: 768px) {
  .platform-docs .vmc-docs-layout {
    flex-direction: column;
  }
  .platform-docs .vmc-nav {
    min-width: 0;
    max-width: none;
    width: 100%;
    border-right: none;
    border-bottom: 1px solid #e8eaed;
  }
  .platform-docs .vmc-docs-main {
    padding-left: 0;
  }
}
/* --- footer (webapp footer component) -------------------------------------- */
.platform-docs footer.section {
  background: #fff;
  border-top: 17px solid #95bf3d;
  padding: 1rem 1.5rem 2rem;
}

.platform-docs footer .menus {
  flex: 1 1 auto;
  margin-bottom: 0;
}

.platform-docs footer .menus .social-networks {
  margin-left: 100px;
  margin-top: 12px;
}

.platform-docs footer .copyright {
  padding: 0 16px;
  color: #000;
}

@media screen and (max-width: 768px) {
  .platform-docs footer .menus .column {
    padding-top: 0;
    padding-bottom: 0;
  }
  .platform-docs footer .menus .column:first-of-type {
    padding-top: 0.75rem;
  }
  .platform-docs footer .menus .column:last-of-type {
    padding-bottom: 0.75rem;
  }
  .platform-docs footer .social-networks {
    margin-top: 20px;
    margin-left: 16px !important;
  }
}
.platform-docs .footer-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.platform-docs .footer-menu > li > a {
  line-height: 2.5;
  font-weight: 600;
}

.platform-docs .social-networks-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.platform-docs .social-networks-menu > li {
  margin-right: 5px;
  position: relative;
  display: inline-block;
  width: 40px;
}

.platform-docs .social-networks-menu > li > a {
  height: 100%;
  width: 100%;
  color: transparent;
}

.platform-docs .social-networks-menu > li > a:before {
  padding: 5px;
  border-radius: 5px;
  display: block;
  height: 40px;
  width: 40px;
  background-color: #008DCA;
  color: #fff;
  text-align: center;
  font-size: 25px;
  line-height: 33px;
}

/* --- markdown content (mark-down-renderer.scoped.scss .content) ------------- */
.platform-docs .content iframe {
  margin: 0.75rem auto;
  display: block;
  width: auto;
  min-width: 50%;
  max-width: 100%;
}

.platform-docs .content li {
  font-size: 16px;
}

.platform-docs .content p {
  font-size: 16px;
  margin-bottom: 0.75rem;
}

.platform-docs .content p img {
  margin: 0 auto;
  display: block;
  max-height: 500px;
  box-shadow: 0 0 2px #7a7a7a;
}

.platform-docs .content table {
  margin: 0.75rem auto;
}

.platform-docs .content .table-responsive {
  overflow-x: auto;
}

@media screen and (min-width: 1024px) {
  .platform-docs .content .table-responsive {
    overflow-x: hidden;
  }
}
