/*
	Author: The Architect Guru
	Location: Livingstone, Zambia
	Project: Caineware X
	Period: January 2015 - February 2016

	#We are offically going for 
	#009393 / rgb(0, 147, 147) a blue and 
	an #f46f00 / (244, 111, 0) Brand group Shade
*/

/*
  Color tokens - light theme (default) and dark theme (html.dark-mode
  override, toggled by #theme-toggle-btn in _inc/banner.php + main.js).
  Every color below is grouped by ROLE, not by where it happens to be used,
  so a rule like `background-color: var(--surface-color)` means the same
  thing everywhere it appears. --*-rgb variants exist alongside a couple of
  hex/named tokens specifically so rgba(var(--x-rgb), <alpha>) can still
  vary the alpha per call site while the base color stays themeable.
*/
:root {
  /* Brand - intentionally NOT overridden in dark mode; both already read
     fine against a dark surface and changing them would break brand
     recognition between the two themes. */
  --primary-color: #da0a0a;
  --primary-color-rgb: 218, 10, 10;
  --primary-color-hover: #b50808; /* darkened primary, for :hover/:focus on solid primary-color buttons */
  --secondary-color: rgb(4, 4, 4);
  --accent-teal: #da0a0a;
  --accent-brand-group: rgb(4, 4, 4);
  --accent-orange: #f46f00;
  --accent-orange-rgb: 244, 111, 0;

  /* A handful of one-off UI colors that were previously hardcoded hex
     scattered across the file - centralized here so they're each defined
     once. All intentionally fixed across both themes (like the brand
     colors above), except --form-error-color which gets a brighter dark-
     mode variant for legibility. */
  --brand-blue: #1a56db; /* distinct from --link-color - used for campaign/results branding accents, not plain content links */
  --accent-rust: #a94d00; /* home-slider register CTA hover + "nothing found" heading accent */
  --accent-cyan-dark: #006565; /* home-slider search CTA hover */
  --hero-gradient-start: #ff00ff2b; /* .index-hero diagonal wash - listing-index hero banners */
  --hero-gradient-end: #00808017;
  --btn-primary-dark: #2b2a2a; /* "make all primary buttons dark" override */
  --btn-primary-gradient: linear-gradient(135deg, #4a4745 0%, #1f1e1c 100%); /* gradient version of --btn-primary-dark - lighter to deeper, same near-black hue */
  --btn-primary-info-gradient: linear-gradient(135deg, #008f8f 0%, #005c5c 100%); /* gradient version of --info-color, used only by .form-buttons .btn-primary - kept close to --info-color's own contrast against white text (~3.75:1) at the lightest point rather than lightening further, which would drop below it */
  --tooltip-bg: #000; /* small dark tooltips/callouts - deliberately black in both themes, like a native OS tooltip */
  --form-error-color: #c01323;
  --input-focus-color: #4a4744; /* dark/neutral focus border for form inputs - deliberately distinct from --primary-color (collides with --danger-color) and --form-error-color (real validation errors) */
  --input-focus-color-rgb: 74, 71, 68;
  --alert-promo-color: #ed6953; /* .form-alert.promo border accent */
  --alert-info-color: #6c7074; /* .form-alert.info border accent */
  --alert-warning-color: #fca426; /* .form-alert.warning border accent */
  --toast-icon-success: rgb(
    68,
    155,
    57
  ); /* #silent-alert/#reload-alert status icons - always on the fixed-dark alert bar */
  --toast-icon-error: rgb(239, 89, 35);
  --toast-icon-info: rgb(0, 102, 255);
  --toast-icon-warning: rgb(255, 247, 0);

  /* Text */
  --text-color: #565454;
  --text-rgb:
    86, 84, 84; /* = --text-color, bare triple for rgba(var(--text-rgb), X) variable-alpha text */
  --text-muted-color: #6b7280;
  --text-strong-color: #1a1a1a;
  --text-on-brand: #ffffff; /* white text/icons on a colored chip or button - fixed in both themes */
  --text-on-brand-rgb:
    255, 255, 255; /* bare triple for rgba(var(--text-on-brand-rgb), X) on the same fixed-dark surfaces --tooltip-bg/--btn-primary-dark are used on */
  --link-color: #0000ee;

  /* Surfaces */
  --bg-color: #ffffff;
  --page-bg-start: #f4f4f6;
  --page-bg-end: #ecdcdc;
  --dashboard-bg: #ecdcdc;
  --dash-grad-1: #fff5f5;
  --dash-grad-2: #f9faff;
  --dash-grad-3: #f0f9ff;
  --surface-color: #ffffff;
  --surface-alt-color: #f5f7f8;
  --reply-bg: #f1f2f8; /* comment reply cards - a faint blue-tinted variant of surface-alt-color */
  --glass-bg: rgba(255, 255, 255, 0.76);
  --glass-border: rgba(255, 255, 255, 0.6);

  /* Borders */
  --border-color: rgb(222, 226, 230);
  --border-color-strong: #d1d5db;

  /* Buttons / interactive chrome */
  --btn-hover-bg: #f1f2f3;
  --dark-btn-bg: #3e3e3e;
  --icon-btn-bg: #636363;
  --icon-btn-bg-hover: #9b9b9b;

  /* .btn-options "..." bubble - a deliberately light chip in both themes
     (not overridden in dark mode), so its icon color is likewise fixed
     dark rather than following --text-strong-color, which would otherwise
     flip to near-white in dark mode and vanish against this bg. On :hover
     though, the bubble's own background switches to the THEMED
     --border-color (see .btn-options:hover below), which goes dark in
     dark mode - so the icon needs to lighten specifically on hover there,
     hence a separate --btn-options-icon-hover overridden per theme below. */
  --btn-options-bg: #f3f3f3;
  --btn-options-icon: #3a3a3a;
  --btn-options-icon-hover: #3a3a3a;

  /* Shadows / overlays - shadow-rgb is the base for rgba(var(--shadow-rgb), X)
     box-shadows scattered through the file, so the alpha each rule already
     picked stays exactly as tuned, only the base color becomes themeable. */
  --shadow-color: #f1f1f1;
  --shadow-rgb: 0, 0, 0;
  --overlay-color: rgba(var(--shadow-rgb), 0.65);
  --dark-bg-color: rgba(var(--shadow-rgb), 0.8);

  /* Status */
  --success-color: #259425;
  --danger-color: #da0a0a;
  --warning-color: #ff8f00;
  --info-color: #009393;
  --info-color-rgb: 0, 147, 147;

  /* Status pill badges (.dash-badge) - background/foreground pairs need
     their own tokens since dark mode needs a stronger foreground than a
     simple --success-color/--warning-color would give against a translucent
     chip on a dark surface. */
  --badge-ok-bg: rgba(34, 197, 94, 0.13);
  --badge-ok-fg: #166534;
  --badge-warn-rgb: 234, 179, 8;
  --badge-warn-bg: rgba(var(--badge-warn-rgb), 0.13);
  --badge-warn-fg: #854d0e;
  --badge-error-bg: rgba(239, 68, 68, 0.13);
  --badge-error-fg: #991b1b;
  --badge-info-bg: rgba(var(--info-color-rgb), 0.13);
  --badge-info-fg: #0e5c5c;
}

html.dark-mode {
  --text-color: #d5d5d7;
  --text-rgb: 213, 213, 215;
  --text-muted-color: #9aa0aa;
  --text-strong-color: #f2f2f3;
  --link-color: #6ea8ff;

  --bg-color: #1c1c1e;
  --page-bg-start: #16161a;
  --page-bg-end: #241417;
  --dashboard-bg: #241417;
  --dash-grad-1: #1c1416;
  --dash-grad-2: #15171f;
  --dash-grad-3: #10181c;
  --surface-color: #232326;
  --surface-alt-color: #2a2a2e;
  --reply-bg: #262a38;
  --glass-bg: rgba(35, 35, 38, 0.72);
  --glass-border: rgba(255, 255, 255, 0.08);

  --border-color: rgb(58, 58, 62);
  --border-color-strong: #4b4b50;

  --btn-hover-bg: #333336;
  --dark-btn-bg: #d8d8d8;
  --icon-btn-bg: #4a4a4d;
  --icon-btn-bg-hover: #8a8a90;
  --btn-options-icon-hover: #f2f2f3;

  --shadow-color: #000000;
  --shadow-rgb: 0, 0, 0;
  --overlay-color: rgba(var(--shadow-rgb), 0.75);
  --dark-bg-color: rgba(var(--shadow-rgb), 0.85);

  --badge-ok-bg: rgba(34, 197, 94, 0.22);
  --badge-ok-fg: #4ade80;
  --badge-warn-bg: rgba(var(--badge-warn-rgb), 0.22);
  --badge-warn-fg: #fbbf24;
  --badge-error-bg: rgba(239, 68, 68, 0.22);
  --badge-error-fg: #f87171;
  --badge-info-bg: rgba(45, 212, 191, 0.22);
  --badge-info-fg: #5eead4;

  --form-error-color: #ff6b6b; /* brighter than the light-mode value for legibility on a dark surface */

  --btn-primary-gradient: linear-gradient(135deg, #2f2c2a 0%, #121110 100%); /* deeper/darker than the light-mode gradient for a dark surface */
  --btn-primary-info-gradient: linear-gradient(135deg, #007373 0%, #003d3d 100%); /* deeper than the light-mode gradient, same idiom as --btn-primary-gradient above */
  --input-focus-color: #b8b4b0; /* light neutral on a dark surface - dark mode's --input-focus-color runs the opposite direction from light mode's, same idiom as --text-color/--bg-color flipping */
  --input-focus-color-rgb: 184, 180, 176;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  color: var(--text-color);
}

/* Bootstrap Icons has no built-in equivalent to Font Awesome's fa-pulse/
   fa-spin utility - used wherever a loading spinner icon (bi-arrow-repeat)
   needs to actually spin, e.g. the old "fas fa-spinner fa-pulse" spots. */
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.spin-icon {
  display: inline-block;
  animation: spin 1s linear infinite;
}

/* NProgress-style slim determinate-looking progress bar - used by
   startProgressBar()/finishProgressBar() (main.js) for save/load/processing
   feedback. Two contexts share the same .header-progress-bar/-fill markup:
   a bar pinned to the bottom edge of a modal/drawer/slide-drawer header
   (each of those headers is already position:relative or made so below),
   and a standalone #global-progress-bar fixed to the top of the viewport
   for form submits with no modal/drawer context. */
.header-progress-bar,
#global-progress-bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: transparent;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 5;
}

#global-progress-bar {
  position: fixed;
  top: 0;
  bottom: auto;
  height: 3px;
  z-index: 2000;
}

.header-progress-bar.active,
#global-progress-bar.active {
  opacity: 1;
}

.header-progress-fill,
#global-progress-bar .header-progress-fill {
  height: 100%;
  width: 0%;
  background: var(--btn-primary-gradient, var(--btn-primary-dark));
  border-radius: 0 2px 2px 0;
  transition: width 0.35s ease-out;
}

html.dark-mode .header-progress-fill,
html.dark-mode #global-progress-bar .header-progress-fill {
  background: var(--btn-primary-gradient, var(--btn-primary-dark));
}

body {
  font-size: 14px;
  min-height: 100vh;
  width: 100%;
  /* Soft neutral-to-brand gradient, anchored to the viewport (not the
     document) so it stays consistent as the page scrolls. Gives .glass-card's
     backdrop-filter: blur something to actually diffuse, instead of the
     flat white it had nothing to work with before. */
  background: linear-gradient(
    180deg,
    var(--page-bg-start) 0%,
    var(--page-bg-end) 100%
  );
  background-attachment: fixed;
}

/* Target the main scrollbar */
::-webkit-scrollbar {
  width: 12px; /* Width of the scrollbar */
}

/* Track (the area on which the thumb rests) */
::-webkit-scrollbar-track {
  background: var(--border-color); /* Color of the track */
}

/* Handle (the draggable part of the scrollbar) */
::-webkit-scrollbar-thumb {
  background: var(--border-color-strong); /* Color of the thumb */
  border-radius: 6px; /* Roundness of the thumb */
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: var(--icon-btn-bg-hover); /* Color of the thumb on hover */
}

/* Target the main scrollbar */
/* Note: Mozilla Firefox only */
/* You can use ::-moz-scrollbar for Firefox */
/* But it's experimental and may not work in all versions */
* {
  scrollbar-width: thin;
  scrollbar-color: var(--border-color-strong) transparent;
}

.no-scroll {
  overflow-y: hidden;
}

#mini-dashboard-menu {
}

#mini-dashboard-menu .nav {
  display: none !important;
  position: fixed;
  z-index: 999;
  width: 50vw;
  top: 60px;
  left: 0;
  right: 0;
}

#mini-dashboard-menu .mobile-nav-show-btn {
  width: 40px;
}

#mini-dashboard-menu .nav.show {
  display: block !important;
}

#mini-dashboard-menu .nav > ul {
  background-color: var(--surface-color);
  padding: 1em;
}

#mini-dashboard-menu .nav header {
  height: 50px;
}

#mini-dashboard-menu .nav header .mobile-nav-hide-btn {
  position: absolute;
  right: 2em;
}

#mini-dashboard-menu .nav > ul .nav-link {
  justify-content: start !important;
  flex-flow: row nowrap !important;
}

#mini-dashboard-menu .nav > ul .nav-link .icon {
  margin-right: 1em !important;
}

#mini-dashboard-menu .nav > ul .nav-link .label {
  display: flex !important;
  height: 25px;
  line-height: 1.2;
  font-size: 1em;
}
#bread-crumb nav {
  height: 100%;
}

#bread-crumb .breadcrumb {
  margin: 0;
}

.img,
.avatar {
  border-radius: 0.3em;
  overflow: hidden;
  padding: 0 !important;
}

.img img,
.avatar {
  width: 100%;
  height: 100%;
  transition: transform 1s ease-in-out;
}

.img img {
  cursor: pointer;
}

img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.view-error {
  height: 70vh;
}

/* Overridden Bootstrap */
.btn,
.form-control {
  font-size: 1em !important;
}

/* Bootstrap's .btn-light comes from bootstrap.min.css with a hardcoded
   light background/dark text that never re-themes, so every "secondary"
   button (Cancel, etc.) stayed bright white regardless of theme. Both
   background and text now follow the theme instead - .btn-light:hover
   below already did this for the hover state, this fixes the resting one. */
.btn.btn-light {
  border: none !important;
  border-radius: 1em !important;
  background-color: var(--surface-alt-color) !important;
  color: var(--text-strong-color) !important;
}

.btn-light:hover {
  background-color: var(--border-color) !important;
  border: none !important;
}

/* Same issue as .btn-light above, for the other Bootstrap CDN utility
   classes used across the view templates (section/card backgrounds,
   product inventory badges) - these hardcode white/light-gray/dark-text
   and never re-theme on their own, so override them in dark mode only,
   leaving the (already-correct) light-mode look untouched. */
html.dark-mode .bg-white,
html.dark-mode .bg-light {
  background-color: var(--surface-color) !important;
}
html.dark-mode .text-dark {
  color: var(--text-strong-color) !important;
}

.form-check-label {
  font-weight: 400 !important;
}

#company-logo,
#company-name {
  padding: 0;
  height: 100%;
  display: flex;
  justify-content: start;
  align-items: center;
}

#company-logo {
  width: 100%;
  justify-content: center;
}

#company-logo img {
  width: 40px;
  height: 40px;
}

#company-name .brand {
  /* color: #009393; */
  font-weight: 600;
}

#company-name .brand-group {
  /* color: #f46f00; */
  font-weight: 400;
}

/* Style Main Profile and Menu */

#dashboard #active-menu {
  height: 50px;
  min-width: 100%;
  /* border: 1px solid #000; */
  justify-content: end;
}

#active-menu li {
  min-height: 100%;
}

#active-menu .btn {
  transition: all 0.7s ease-in-out;
}

#active-menu .btn,
#active-menu .btn:hover,
#active-menu .btn:focus {
  outline: 0;
  box-shadow: none;
}

#active-menu .btn.active {
  box-shadow: 0px 0px 9px 3px var(--danger-color);
  background-color: var(--surface-color);
}

#active-menu .btn.active i {
  color: var(--text-strong-color) !important;
}

#dashboard-links {
  min-width: 100%;
}

#dashboard-links ul {
  min-width: inherit;
  list-style: none;
}

#dashboard-links > ul > li {
  justify-content: flex-start;
}

#dashboard-links > ul li a {
  margin: 1em 0;
  border-radius: 0.3em;
  background-color: var(--surface-color);
  border: 1px solid var(--border-color);
  min-width: 100%;
}

#dashboard-links .title {
  border-bottom: 1px solid var(--border-color);
}

#dashboard-links .title > i {
  margin-right: 0.3em;
}

.dashboard-link .count {
  font-weight: 600;
  margin-right: 0.3em;
}
.dashboard-link:hover {
  border: none;
  box-shadow: 1px 2px 5px rgba(var(--shadow-rgb), 0.05);
}

.dashboard-link ul {
  min-width: inherit;
  list-style: none;
}

.dashboard-link ul li {
  display: flex;
  justify-content: flex-start;
  padding: 0.3em;
}

.view-profile,
.view-profile:hover {
  text-decoration: none;
  border: none;
}

/* Options Buttons */
.btn-wrap {
  padding: 0;
  display: flex;
  justify-content: end;
  align-items: center;
}

.btn-options {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  padding: 0 !important;
  width: 30px !important;
  height: 30px !important;
  transition: background-color 0.3s ease-in-out;
  border-radius: 50% !important;
  background-color: var(--btn-options-bg) !important;
  border: none;
}

.btn-options i {
  margin: 0;
  color: var(--btn-options-icon) !important;
  font-size: 1rem !important;
}

.btn-options:hover {
  background-color: var(--border-color) !important;
}

.btn-options:hover i {
  color: var(--btn-options-icon-hover) !important;
}

.btn-block {
  min-width: 100%;
}

/*FORM SPECIFIC STYLES*/
input[type="text"]:focus,
input[type="password"]:focus,
input[type="email"]:focus,
textarea:focus {
  border-color: var(--input-focus-color);
  box-shadow: none;
  outline: none;
}

input[type="button"] {
  font-weight: 400;
}

.btn .btn-detail {
  position: absolute;
  top: 2.5rem;
  font-size: 0.7rem;
  display: none;
  min-width: 120px;
  width: auto;
  background: rgba(var(--shadow-rgb), 1);
  color: var(--text-on-brand);
  padding: 0;
  text-align: center;
  border-radius: 0;
  margin: 0;
  opacity: 0.8;
  transition: 0.6s opacity ease-in-out;
}

.btn .btn-detail a {
  display: block;
  width: 100%;
  cursor: pointer;
  background-color: var(--bg-color);
  color: var(--text-on-brand);
  border: none;
  border-radius: 0;
  margin: 0.1em 0;
  font-size: 0.8rem;
  padding: 1em;
}

.btn .btn-detail a:hover {
  background-color: var(--surface-color);
}

.btn:link,
.btn:visited,
.btn:hover,
.btn:active {
  text-decoration: none;
}

.btn .btn-detail:before {
  content: "";
  width: 10px;
  height: 10px;
  position: absolute;
  top: -5px;
  background: var(--tooltip-bg);
  z-index: -1;
  left: 10%;
  transform: translateX(-50%) rotate(45deg);
}

button i {
  color: inherit;
  font-size: 1.2em;
  line-height: 1;
}

.delete {
  background-color: red;
}

.delete-btn i,
.delete-btn .detail {
  color: var(--danger-color);
}

fieldset {
  color: var(--text-strong-color);
  border: 1px solid var(--border-color);
  padding: 10px;
  margin: 5px;
}

legend {
  box-shadow: 1px 1px 5px #888;
  padding: 5px;
  margin: 2px;
  color: var(--info-color);
  font-size: 1rem;
  font-weight: 500;
}

select {
  border: solid 1px var(--border-color);
}

option {
  padding: 5px;
  border: solid 1px var(--border-color);
}

/* Generic form controls mostly rely on Bootstrap's own white-background
   defaults rather than an explicit rule here, so dark mode needs its own
   catch-all rather than a single shared variable to override. Excludes
   button-family input types (submit/button/reset/image) - those are
   `.btn`/`.btn-primary`/`.btn-light` buttons, not text fields, and this
   catch-all's specificity (html.dark-mode + input) otherwise beat their
   bootstrap button styling, flattening every <input type="submit"> /
   <input type="button"> in the app (e.g. the login drawer's Log In/Cancel)
   to the same plain form-field gray in dark mode. */
html.dark-mode
  input:not([type="submit"]):not([type="button"]):not([type="reset"]):not(
    [type="image"]
  ),
html.dark-mode select,
html.dark-mode option,
html.dark-mode textarea,
html.dark-mode .form-control {
  background-color: var(--surface-alt-color);
  color: var(--text-color);
  border-color: var(--border-color);
}
html.dark-mode input::placeholder,
html.dark-mode textarea::placeholder {
  color: var(--text-muted-color);
}

option:hover {
  /* background-color: #009393;  */
  padding-left: 3px;
}

a:link {
  outline: none;
  color: var(--link-color);
  text-decoration: none;
}

a:visited {
  color: var(--link-color);
}

a:hover {
  color: var(--link-color);
  text-decoration: underline;
}

a:focus {
  color: var(--link-color);
}

a:active {
  color: var(--link-color);
}

video {
  display: block;
  height: 100%;
  width: 100%;
}

audio {
  width: 100%;
}

.table td {
  border: none !important;
  transition: background-color 0.2s ease-in-out; /* smooth + fast transition */
}

/* People */
.table td.people {
  background-color: #e6f0ff; /* soft blue */
}
.table td.people:hover {
  background-color: #d0e4ff;
}

/* Businesses */
.table td.businesses {
  background-color: #e6f9f5; /* soft teal */
}
.table td.businesses:hover {
  background-color: #cff3eb;
}

/* Stores */
.table td.stores {
  background-color: #fff4e6; /* soft orange */
}
.table td.stores:hover {
  background-color: #ffe8cc;
}

/* Products */
.table td.products {
  background-color: #f3e6ff; /* soft purple */
}
.table td.products:hover {
  background-color: #e6ccff;
}

/* Properties */
.table td.properties {
  background-color: #e6f9e6; /* soft green */
}
.table td.properties:hover {
  background-color: #ccf2cc;
}

/* Prospects */
.table td.prospects {
  background-color: #fffbe6; /* soft yellow */
}
.table td.prospects:hover {
  background-color: #fff5cc;
}

.table tr {
  border-top: 1px solid var(--border-color);
}

.card {
  width: 100%;
  padding: 1em;
  margin-bottom: 1.5rem;
}

.learn-more a {
  font-size: 1.5em;
  position: absolute;
  top: 0;
  width: 100%;
  text-align: center;
}

.created-by {
  color: var(--text-muted-color);
  font-size: 0.8em;
}

.created-by a {
}

.learn-more a:hover {
  text-decoration: none;
  cursor: pointer;
  border: none;
}

/* Cards */
.store-product-card {
}

.store-product-card .title {
  font-size: 1em;
}

/*Admin Dashboard*/
#admin-dashboard {
  display: flex !important;
}

#admin-dashboard table {
  min-width: 100%;
}

#admin-menu a:link {
  padding: 0.3em;
  display: flex;
  justify-content: left;
  align-items: center;
  color: rgba(var(--text-rgb), 0.8);
  margin: 0.3em;
  height: 3em;
  background-color: rgba(var(--shadow-rgb), 0.1);
  /* transition: border-bottom 0.3s ease; */
}

#admin-menu a:visited {
  color: rgba(var(--text-rgb), 0.8);
  border: 1px solid aliceblue;
}

#admin-menu a.active {
  color: var(--text-on-brand);
  background: var(--info-color);
}

#admin-menu a:hover {
  text-decoration: none;
  border-bottom: 3px solid var(--info-color);
  /* height: calc(3em - 3px); */
}

/*Global Classes*/

.header-offset {
  margin-top: 1em;
}

.white {
  color: var(--text-on-brand);
}

.white > i {
  color: var(--text-on-brand);
}

.border-radius {
  border-radius: 0.3em;
}

/*Trends*/
.trend-tab {
  border: 1px solid var(--border-color);
  box-shadow: 5px 2px 3px var(--tooltip-bg);
  padding: 0.3em;
  border-radius: 0.3em;
}

/*Form Styling*/
.form {
  background-color: var(--surface-color);
  font-size: 0.8rem;
  width: 100%;
}

.form header {
  background-color: var(--surface-alt-color);
}

label {
  font-weight: 600;
}

.form-group {
  margin-bottom: 1.5em;
}

.form-group > label {
  display: inline-flex;
  flex-flow: row nowrap;
  justify-content: flex-start;
  align-items: center;
  position: relative;
}

.form-group label i {
  display: none;
  font-size: 1.2em;
  color: rgba(var(--text-rgb), 0.65);
  margin-left: 0.5em;
  cursor: help;
}

.form-group label .show {
  display: inline-block;
}

.form-group label > .form-hint {
  display: flex;
  flex-flow: column nowrap;
  justify-content: center;
  align-items: flex-start;
  position: absolute;
  top: 2em;
  left: 1em;
  z-index: 3;
  border: 1px solid var(--border-color);
  border-radius: 0.3em;
  padding: 0.3em;
  width: 12rem;
  background-color: var(--bg-color);
  line-height: 2;
}

.form-group label > .show {
  display: flex;
}

.form-group label > .hide {
  display: none;
}

span > label {
  display: inline-flex;
  flex-flow: row nowrap;
  justify-content: flex-start;
  align-items: center;
  font-size: 0.9em;
  font-weight: 400;
  margin-bottom: 0;
}

.hint {
  padding: 0.3em;
  border: 1px solid var(--border-color);
  color: var(--text-color);
  position: absolute;
  background: var(--bg-color);
  border-radius: 0.3em;
}

.form-group .hint {
  top: 3em;
}

.form-hint > .title {
  font-size: 1em;
  font-weight: 600;
  color: var(--text-strong-color);
}

.form-hint > .body {
  font-size: 0.8em;
  font-weight: 400;
  color: var(--text-color);
}

.form-group .prime-label {
  position: absolute;
  padding: 0.3em 0.5em;
  background-color: var(--surface-color);
  left: 1em;
  top: 0.4em;
}

.form-group .form-control {
  /* Soft theme - collapsed-until-focus, same language as the chat/
     comment/review composer textareas: no box, just a bottom line that
     thickens and turns primary-color on focus. */
  border: 0;
  border-bottom: 1px solid var(--border-color);
  border-radius: 0;
  background: transparent;
  padding: 0.5em 0.2em;
  transition: border-color 0.2s;
}

.form-group .form-text {
  display: inline-block;
  font-size: 0.6rem;
  padding: 0.1em 0.6em;
}

.form-group .form-control:focus,
.form-group .form-control:active {
  box-shadow: none;
  outline: 0;
  background-color: transparent;
  border-bottom: 2px solid var(--input-focus-color);
  outline-width: 0;
}

.form-group .form-control:active + .form-group i {
  color: var(--danger-color);
}

.btn-default {
  border: 1px solid var(--border-color);
  background-color: var(--bg-color);
  padding: 0.9em 0.3em;
}

.form-buttons .btn {
  border-radius: 1rem; /* soft theme - pill shape, matches .btn-pill */
}

.form-buttons .btn-default {
  padding: 0.9em 0.3em;
}

.form-buttons .btn-primary {
  background-color: var(--info-color);
  background-image: var(--btn-primary-info-gradient);
  color: var(--text-on-brand);
  font-size: 1em;
  font-weight: 600;
  border: none;
  line-height: 2;
}

.form-buttons .btn-primary:hover,
.form-buttons .btn-primary:focus {
  filter: brightness(1.08);
}

.btn-unstyled {
  background: transparent;
  color: var(--link-color);
  font-weight: 600;
  padding: 0 0.3em;
}

#div-new .form-buttons {
  display: flex;
  flex-flow: row nowrap;
  justify-content: space-between;
  align-items: center;
}

#div-new .form-buttons > .close {
  width: 60%;
  padding: 0.3em;
  font-weight: 400;
}

.form-buttons .btn-primary:disabled {
  background-color: rgba(var(--shadow-rgb), 0.7);
  background-image: none;
}

.form-buttons .btn-primary > i {
  color: var(--text-on-brand);
}

.ellipsis-wrap {
  padding: 0 0.3em;
  position: relative;
}

.ellipsis-wrap .menu-btn {
  cursor: pointer;
}

.ellipsis-wrap > .show {
  display: block;
}

.ellipsis-wrap > .hide {
  display: none;
}

.ellipsis-menu {
  display: none;
  position: absolute;
  right: 0;
  border: 1px solid var(--border-color);
  background-color: var(--bg-color);
  cursor: pointer;
  overflow: hidden;
  width: auto;
  z-index: 99;
}

.ellipsis-menu span {
  display: block;
  width: 100%;
  white-space: nowrap;
  padding: 0.3em 0.5em;
  color: var(--text-on-brand);
  text-decoration: none;
  cursor: pointer;
}

.ellipsis-menu span:hover {
  color: var(--text-on-brand);
  background-color: var(--warning-color);
  text-decoration: none;
}

.ellipsis-menu span > i {
  color: var(--text-on-brand);
  margin-right: 0.3em;
}

.top-down-margin {
  margin: 1em 0;
}

.padding {
  padding: 0.3em;
}

.bold {
  font-weight: 500;
}

.center {
  justify-content: center;
  align-items: center;
}

.btn-delete {
  background: transparent;
  border: 1px solid var(--primary-color);
  color: var(--primary-color);
  transition: all 1s ease-in-out;
}

.btn-delete:hover {
  background-color: var(--primary-color);
  color: var(--text-on-brand) !important;
}

.left-btn {
  border-left: 3px solid var(--info-color);
}

.left-btn:hover {
  background-color: rgba(var(--shadow-rgb), 0.3);
}

.text-muted {
  color: var(--text-muted-color);
}

.radio-checkbox-label {
  display: inline-block;
  padding-bottom: 1em;
  margin-right: 1em;
  line-height: 0.8;
  height: 2em;
  box-sizing: border-box;
  top: -0.25em;
  position: relative;
}

.textbox {
  padding-left: 2.5em;
}

/* .select-location{
		font-size: .8rem;
		display: inline-block; 
		height: 2em !important; 
		font-size: .8em;
		line-height: 1;
		padding: .3em;
		border: 1px solid #aaa;
		-moz-appearance: none; 
		-webkit-appearance: none; 
		appearance: none;
		background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23007CB2%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E'), linear-gradient(to bottom, #ffffff 0%,#e5e5e5 100%); 
		background-repeat: no-repeat, repeat; 
		background-position: right .7em top 50%, 0 0; 
		background-size: .65em auto, 100%;
	} */

/* .select-location { 
		width: 30%; 
		max-width: 33%; 
		margin: 0.3em 0.1em; 
	} */

select:active,
select:focus {
  outline: none !important;
  box-shadow: 0 0 1px 1px rgba(var(--primary-color-rgb), 0.35) !important;
}

option {
  padding: 0.1em;
}

.select-css option {
  padding: 1em 0.1em;
  height: 1em;
  font-weight: normal;
}

/*Forms Styling*/
.fieldset1 {
  width: 600px;
  float: left;
  margin: 10px;
  display: block;
  overflow: hidden;
} /*All fieldsets in manage*/

.fieldset-help1 {
  width: 500px;
  float: left;
  margin: 20px;
  font-size: 1.2rem;
  color: var(--text-muted-color);
}

.fieldset-help1 ul {
  text-indent: 20px;
  list-style: none;
}

.manage-form-tips {
  width: 400px;
  padding: 10px;
  line-height: 1;
  margin: 22px auto;
  border-radius: 10px;
  background-color: var(--surface-color);
  box-shadow: 1px 2px 3px var(--tooltip-bg);
  opacity: 0.7;
} /*Check this element*/

.short-menu-image img {
  height: 100%;
  width: 100%;
} /*Check this element*/

.deactivation-code {
  background: var(--danger-color);
  padding: 5px;
  color: var(--text-on-brand);
  text-align: center;
  font-weight: 500;
  font-size: 2rem;
  overflow: hidden;
  display: block;
  height: 50px;
  line-height: 50px;
  width: 300px;
  margin: 0 auto;
}

.clear {
  clear: both;
}

.center {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
  overflow: auto;
}

.required {
  display: inline-block;
  color: var(--danger-color);
  font-size: 1.2rem;
  font-weight: 500;
  margin: 2px;
}

.item-tab .form {
  padding: 0.1em;
}

.clickable {
  cursor: pointer;
}

#service-list {
  display: flex;
  flex-flow: column nowrap;
  justify-content: center;
  align-items: flex-start;
  padding: 1em;
}

#service-list > .service {
  display: flex;
  flex-flow: row nowrap;
  justify-content: space-between;
  align-items: center;
}

#service-list > .service > .form-group {
  width: 90%;
}

#service-list > .service > .form-buttons {
  width: 10%;
}

#div-services .list {
  margin: 0 0 1em 0 !important;
  border-bottom: 1px solid var(--border-color);
}

#div-services .list:last-child {
  border: none !important;
}

.service-rate {
  color: var(--text-muted-color);
}

.service-rate .amount {
  color: var(--text-strong-color);
  font-weight: 500;
}

.service-rate-info,
.service-rate {
  font-size: 0.8rem;
}

/*Form Validation & Processing Feedback*/
#silent-alert,
#reload-alert {
  position: fixed;
  width: 100%;
  bottom: 0;
  background: rgba(var(--shadow-rgb), 0.8);
  padding: 1em;
  color: var(--text-on-brand);
  box-shadow: 3px 3px 3px var(--bg-color);
  z-index: 999999;
}

#silent-alert .icon,
#reload-alert .icon {
  height: 100%;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

#silent-alert .icon i,
#reload-alert .icon i {
  font-size: 1.5rem;
}

#silent-alert .icon.success i,
#reload-alert .icon.success i {
  color: var(--toast-icon-success);
}

#silent-alert .icon.error i,
#reload-alert .icon.error i {
  color: var(--toast-icon-error);
}

#silent-alert .icon.information i,
#reload-alert .icon.information i {
  color: var(--toast-icon-info);
}

#silent-alert .icon.warning i,
#reload-alert .icon.warning i {
  color: var(--toast-icon-warning);
}

#silent-alert .detail,
#reload-alert .detail {
  font-size: 0.9rem;
  height: 100%;
  display: flex;
  justify-content: start;
  align-items: center;
  color: var(--text-on-brand);
}

#silent-alert .errors,
#reload-alert .errors {
  padding: 1em 0;
  border-top: 1px solid rgba(var(--text-on-brand-rgb), 0.15);
  margin: 0;
}

#silent-alert .close-btn,
#reload-alert .close-btn {
  outline: none;
  border: 1px solid var(--text-on-brand);
  height: 2em;
  width: 2em;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  background: transparent;
}

#silent-alert .close-btn i,
#reload-alert .close-btn i {
  color: var(--text-on-brand);
  font-size: 1em !important;
}

#silent-alert .errors li {
  list-style: none;
  color: var(--text-on-brand);
}

#silent-alert i {
  margin-right: 0.3em;
  font-size: 1.2em;
  position: relative;
  top: -0.05em;
  color: var(--text-on-brand);
}

#silent-alert .sxuccess {
  border: none !important;
  border-left: 0.3em solid var(--success-color) !important;
}

#silent-alert .alert {
  background-color: transparent !important;
}

.form-alert {
  border-radius: 0;
  margin: 0 0 1em 0;
  padding: 0.5em;
  box-shadow:
    0 8px 16px 0px rgb(10 14 29 / 4%),
    0px 8px 64px 0px rgb(10 14 29 / 8%);
  overflow: hidden;
  font-size: 1em;
  width: 100%;
  background-color: var(--surface-color) !important;
  color: var(--text-color);
  border-radius: 0.3em;
}

.form-alert.success {
  /* border: 1px solid #259425; */
  border-left: 0.3em solid var(--success-color);
  /* color: #259425; */
}

.form-alert.promo {
  /* border: 1px solid #ed6953; */
  border-left: 0.3em solid var(--alert-promo-color);
  /* color: #ed6953; */
}

.form-alert.info {
  /* border: 1px solid #6c7074; */
  border-left: 0.3em solid var(--alert-info-color);
  /* color: #6c7074; */
}

.form-alert.warning {
  /* border: 1px solid #fca426; */
  border-left: 0.3em solid var(--alert-warning-color);
  /* color: #fca426; */
}

.form-alert.error {
  /* border: 1px solid #c01323; */
  border-left: 0.3em solid var(--form-error-color);
  /* color: #c01323; */
}

#pop-alert {
  position: absolute;
  top: -5em;
  left: 0;
  z-index: 9999999;
  display: none;
  justify-content: start;
  align-items: center;
  background-color: rgba(var(--shadow-rgb), 0.85);
  color: var(--text-on-brand);
  padding: 0.3em 1em;
  border-radius: 1em;
}

#pop-alert.show {
  display: flex;
}

/* Universal notification popup (showNotify() in main.js) - icon + title +
   message, stacked top-right, auto-dismissing and closable. The one place
   in the system meant to show the user a one-off piece of feedback instead
   of a native alert() or an ad-hoc element - #pop-alert/.form-alert above
   are older, narrower-purpose variants left as-is, not replaced by this. */
#notify-stack {
  position: fixed;
  top: 1.2em;
  right: 1.2em;
  z-index: 100000;
  display: flex;
  flex-direction: column;
  gap: 0.6em;
  width: min(380px, calc(100vw - 2.4em));
  pointer-events: none;
}

.notify-toast {
  display: flex;
  align-items: flex-start;
  gap: 0.7em;
  padding: 0.85em 1em;
  border-radius: 0.8em;
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  box-shadow: 0 8px 24px rgba(var(--shadow-rgb), 0.18);
  pointer-events: auto;
  opacity: 0;
  transform: translateX(1.5em);
  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
}

.notify-toast.notify-show {
  opacity: 1;
  transform: translateX(0);
}

.notify-toast .notify-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2em;
  height: 2em;
  border-radius: 50%;
  font-size: 1.1em;
}

.notify-toast .notify-body {
  flex: 1;
  min-width: 0;
}

.notify-toast .notify-title {
  font-weight: 700;
  font-size: 0.9em;
  color: var(--text-strong-color);
  margin-bottom: 0.15em;
}

.notify-toast .notify-message {
  font-size: 0.85em;
  color: var(--text-color);
  line-height: 1.4;
  overflow-wrap: break-word;
}

.notify-toast .notify-close {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.6em;
  height: 1.6em;
  background: transparent;
  border: none;
  color: var(--text-muted-color);
  font-size: 0.9em;
  line-height: 1;
  cursor: pointer;
  border-radius: 50%;
  transition: background-color 0.15s ease;
}

.notify-toast .notify-close:hover {
  background: var(--btn-hover-bg);
  color: var(--text-strong-color);
}

/* Type accents - icon chip only, reusing the same soft badge tokens
   .dash-badge/.item-meta already use rather than inventing new colors. */
.notify-toast.notify-success .notify-icon {
  background: var(--badge-ok-bg);
  color: var(--badge-ok-fg);
}

.notify-toast.notify-warning .notify-icon {
  background: var(--badge-warn-bg);
  color: var(--badge-warn-fg);
}

.notify-toast.notify-error .notify-icon {
  background: var(--badge-error-bg);
  color: var(--badge-error-fg);
}

.notify-toast.notify-information .notify-icon {
  background: var(--badge-info-bg);
  color: var(--badge-info-fg);
}

@media (max-width: 480px) {
  #notify-stack {
    top: 0.6em;
    right: 0.6em;
    left: 0.6em;
    width: auto;
  }
}

.is-invalid {
  border: 1px solid var(--form-error-color) !important;
}

.invalid-feedback {
  color: var(--form-error-color) !important;
}

.valid-feedback {
  color: var(--success-color) !important;
}

/*Backgrounds*/

#backdrop {
  background-color: var(--overlay-color);
  z-index: 999999;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

#backdrop.show {
  display: flex;
}

#modal {
  position: relative;
  font-size: 1rem;
  z-index: 995;
  background: var(--surface-color);
  border-radius: 1em;
  box-shadow: 0 2px 14px rgba(var(--shadow-rgb), 0.08);
  overflow-y: auto;
  transform: scale(0.8);
  opacity: 0;
  transition:
    transform 0.2s ease-out,
    opacity 0.2s ease-out;
}

#modal.modal-open {
  transform: scale(1);
  opacity: 1;
}

#modal main {
  background-color: var(--surface-alt-color);
  height: auto;
  padding: 3em !important;
  /* max-height: 100vh; /*From 70vh*/
  /* overflow-y: auto;
        overflow-x: hidden; */
  scrollbar-width: thin;
  transition: all 1s ease-in-out;
}

#modal .detail {
  /* padding: 0 1em; */
  font-size: 0.8em;
}

#modal .stars i {
  font-size: 3em;
}

header .title {
  font-size: 1.2em;
  font-weight: 500;
}

header .buttons {
  display: flex;
  justify-content: end;
  align-items: center;
}

header .buttons > button {
  /* display: flex;
		justify-content: end;
		align-items: center; */
  margin: 0 !important;
}

header .buttons > button .icon {
  display: none;
}

#manage-screen header .buttons > button {
  background-color: var(--dark-btn-bg);
}

#manage-screen header .buttons > button .label {
  color: var(--text-on-brand);
}

header .title,
header .buttons {
  margin: 0 !important;
  padding: 0 !important;
}

.header-count {
  position: relative;
  top: -0.1em;
  font-size: 0.8em;
  color: rgba(var(--text-rgb), 0.3);
  margin-left: 0.3em;
}

.mobile-nav-hide-btn,
#modal header .close-btn {
  cursor: pointer;
  padding: 0.3em;
  font-size: 0.8em;
  font-weight: 600;
  line-height: 1;
  color: var(--text-color);
  opacity: 0.5;
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  height: 3em;
  width: 3em;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: transparent;
  transition: background-color 1s ease-in-out;
}

#modal header .close-btn {
  right: 1em !important;
  top: 0.3em !important;
}

.mobile-nav-hide-btn,
#modal header .close-btn i {
  margin: 0;
}

.mobile-nav-hide-btn,
#modal header .close-btn:hover {
  background-color: var(--btn-hover-bg);
}

#modal .login-form {
  width: 100%;
}

#modal .tab {
  display: flex;
  flex-flow: row nowrap;
  border-radius: 0.3em;
  overflow: hidden;
  margin: 0.3em;
}

/* #modal .tab above is a single-row image+title preview (delete/publish
   confirmations, dozens of call sites across this codebase). The full
   "manage list" card shape (property_manage()/room_manage()/etc - title +
   options menu + status badges + description, stacked) is a different,
   taller component that happens to reuse the same .tab class - it's
   always rendered into #manage-list, and until the Rooms & Bookings
   screens that container was never itself inside a modal, so this
   conflict never surfaced. Restore block/column stacking specifically
   when a .tab is inside #manage-list, regardless of modal context. */
#manage-list .tab {
  display: block;
  flex-flow: unset;
  overflow: visible;
}

#modal .img-wrap,
#modal .banner-wrap {
  border: 1px solid var(--border-color);
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

#modal .img-wrap img,
#modal .banner-wrap img {
  width: 100%;
}

#modal .img-wrap {
  border-radius: 50%;
  width: 5em;
  height: 5em;
  padding: 0.3em;
}

#modal .banner-wrap {
  width: 100%;
  height: 12em;
  border-radius: 0.3em;
}

#modal header {
  position: relative;
  text-align: left;
  min-height: 3rem;
  /* background-color: #f2f2f2; */
  border-bottom: 1px solid var(--border-color);
  padding: 0 4em;
}

#modal header .header-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  width: 100%;
  padding: 1em 0;
}

#modal header .title {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.3;
}

/* Overrides the unscoped .caption rule (homepage tile-overlay captions,
   see below) which sets position:absolute - that leaked into every form's
   caption and broke flow. Explicitly reset every property it sets. */
#modal header .caption {
  position: static;
  bottom: auto;
  left: auto;
  right: auto;
  z-index: auto;
  pointer-events: auto;
  margin: 0.15em 0 0;
  padding: 0;
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--text-muted-color);
  line-height: 1.3;
  text-align: left;
}

#modal header .caption:empty {
  display: none;
}

#modal .body i {
  margin-right: 1em;
}

#modal .body textarea {
  border: none;
}

#modal .body p {
  font-size: 0.85em;
  margin: 0 1em;
}

#modal .img {
  display: flex;
  flex-flow: column nowrap;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  flex-shrink: 0;
  margin-right: 0.3em;
}

#modal .img i {
  color: rgba(var(--text-rgb), 0.3);
  font-size: 3em;
}

#modal .img-wrap {
  width: 5em;
  height: 5em;
}

#modal .img-wrap img {
  width: 100%;
  height: 100%;
}

#modal .body {
  position: relative;
  width: 100%;
  display: flex;
  flex-flow: column nowrap;
}

#modal .body > .title,
#modal .body > div {
  padding: 0.3em 0;
}

#modal .body > .posted-on {
  font-size: 0.8em;
  line-height: 1;
}

#modal .body > .detail {
  font-size: 0.9em;
}

#modal .body > .title {
  /*padding: 0 .3em;*/
  font-size: 1em;
}

#modal .body > .sub-title {
  padding: 0.3em 1em;
  font-size: 1em;
}

#modal .body .flex-forms {
  display: flex;
  flex-flow: row nowrap;
  justify-content: space-between;
  align-items: center;
}

#modal .body .flex-forms .form-group {
  width: 80%;
  margin-bottom: 0;
}

#modal .body .flex-forms .form-buttons {
  font-size: 0.65em;
  margin-bottom: 0;
}

#modal .form-buttons {
  display: flex;
  flex-flow: row nowrap;
  justify-content: center;
  align-items: center;
  padding: 0.3em 0 0;
  margin-top: 1.5em;
}

#modal .form-buttons > input {
  font-size: 0.8em;
}

#modal form {
  padding: 1em;
}

#modal form .final-check {
  margin-top: 3em;
}

form > .row {
  margin: 0;
  padding: 0;
  margin-bottom: 1rem !important;
}

/* Shared row wrapper for a form's primary + cancel/secondary button (login,
   register, password recovery/reset, two-factor, etc.) - the two buttons
   sit in .col.ps-0/.col.pe-0 children with padding explicitly zeroed on the
   side facing each other, so with no gap here they touched directly. */
form .buttons {
  display: flex;
  gap: 0.75em;
}

#modal .gallery-wrap {
  display: flex;
  flex-flow: row wrap;
  justify-content: flex-start;
  align-items: center;
}

#modal .gallery-wrap form {
  position: relative;
  margin: 0;
  padding: 0;
}

#modal .gallery-wrap form .media-hook {
  width: 1em;
}

#modal .gallery-wrap .tab {
  position: relative;
  width: 5em;
  height: 5em;
  margin: 0.3em;
  overflow: hidden;
  border-radius: 0.3em;
  border: 1px solid var(--border-color);
}

/* Login Page */
#login-page {
  /* background: linear-gradient(45deg, #da0a0a, transparent); */
  /* background: #da0a0a; */
  min-height: 100vh;
  height: 100%;
}

/* Make all primary buttons dark */
.black-btn,
.black-btn:focus .black-btn:active,
.black-btn:hover,
.buttons .btn-primary,
.buttons .btn-primary:focus .buttons .btn-primary:active,
.buttons .btn-primary:hover {
  background-color: var(--btn-primary-dark) !important;
  background-image: var(--btn-primary-gradient) !important;
}

.black-btn:hover,
.buttons .btn-primary:hover {
  filter: brightness(1.12);
}

#login-page #login-form {
  padding: 1em;
  border-radius: 1em;
  background-color: var(--surface-color);
  border: 1px solid var(--border-color);
  box-shadow: 0px 0px 7px 3px rgba(var(--shadow-rgb), 0.15);
  min-width: 420px;
}

#login-page #login-form .logo img {
  height: 100px;
  width: 100px;
}

/* Register Page */
#register-page {
  background: linear-gradient(45deg, var(--primary-color), transparent);
  min-height: 100vh;
  height: 100%;
}

#register-page #register-form {
  padding: 1em;
  border-radius: 1em;
  background-color: var(--surface-color);
}

.gallery-wrap .tab img {
  width: 100%;
  height: 100%;
}

.gallery-wrap .tab input {
  position: absolute;
  top: 0.3em;
  left: 0.3em;
}

#modal .body .recipient {
  padding: 0 0.7em;
}

#modal .caption {
  font-size: 1em;
  margin: 0.3em 0;
  text-align: center;
  font-weight: 400;
}

/*Drawers*/
#drawer {
  display: block;
  overflow-y: scroll;
  z-index: 99999;
  background-color: var(--surface-color);
  height: 100%;
  width: 100%;
  padding: 1rem;
}

/* Drawer header - title/caption/close-btn, same shape and the same
   unscoped-.caption override as #modal header / #slide-drawer header
   (see either for why the override is needed). #drawer itself already
   carries a blanket 1rem padding (unlike #modal/#slide-drawer, which
   pad header/main separately), so this only adds the bottom border and
   the room a position:absolute close button needs, not its own
   left/right padding. */
#drawer header {
  position: relative;
  min-height: 3rem;
  border-bottom: 1px solid var(--border-color);
  padding-right: 3em;
  margin: -1rem -1rem 1rem;
  padding: 0.5em 3em 0.75em 1rem;
}

#drawer header .header-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

#drawer header .title {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.3;
}

#drawer header .caption {
  position: static;
  bottom: auto;
  left: auto;
  right: auto;
  z-index: auto;
  pointer-events: auto;
  margin: 0.15em 0 0;
  padding: 0;
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--text-muted-color);
  line-height: 1.3;
  text-align: left;
}

#drawer header .caption:empty {
  display: none;
}

#drawer header .close-btn {
  cursor: pointer;
  padding: 0.3em;
  font-size: 0.8em;
  font-weight: 600;
  line-height: 1;
  color: var(--text-color);
  opacity: 0.5;
  position: absolute;
  right: 1em;
  top: 0.3em;
  height: 3em;
  width: 3em;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: transparent;
  border-radius: 50%;
  transition: background-color 1s ease-in-out;
}

#drawer header .close-btn:hover {
  background-color: var(--btn-hover-bg);
  opacity: 1;
}

/* Standalone password-reset page (opened from an emailed link, not through
   #drawer like login/recovery/twofactor) - its form previously carried
   Bootstrap's bg-white utility, a hardcoded white that never re-themed for
   dark mode. Themed card background here instead. */
#reset-form {
  background-color: var(--surface-color);
}

#drawer #login-form,
#drawer #recovery-form,
#drawer #reset-form {
  width: 100%;
  /* padding: 1em; */
}

#drawer label {
  font-weight: 600;
}

#login-form button {
  line-height: 1.5;
  padding: 1em;
}

#login-form button[type="submit"] {
  color: var(--text-on-brand);
}

#drawer #register-form {
  width: 100%;
  padding: 1em;
}
.chatboard * {
  color: var(--text-on-brand) !important;
}

.chatboard textarea {
  color: #47403a !important;
}

.chatboard > div {
  width: 100%;
}

.chatboard .form-group,
.chatboard .form-buttons,
.chatboard .btn-primary {
  margin: 0;
}

.chatboard header {
  position: relative;
  border-bottom: 1px solid var(--border-color);
  overflow: hidden;
  text-align: center;
}

.chatboard > header > .title {
  padding: 0.3em;
  margin: 0;
}

.chatboard > header > .caption {
  padding: 0.3em;
  margin: 0;
}

.chatboard #main {
  overflow-y: scroll;
}

/**/
.three-columns {
  display: flex;
  flex-flow: row nowrap;
  justify-content: space-between;
  align-items: flex-start;
  margin: 1em 0;
}

.three-columns > div {
  border: 1px solid var(--border-color);
  padding: 0.3em 1em;
}

.three-columns > #shortcuts {
  width: 25%;
}

.three-columns > #main {
  width: 40%;
  padding: 0;
}

.three-columns > #main > .form-wrap {
  border-bottom: 1px solid var(--border-color);
  padding: 0.3em;
}

.three-columns > #ads {
  width: 30%;
}

/*Style Homepage Slider Area*/
.register-header {
  font-size: 1rem;
  height: 100vh;
}

.search {
  display: flex;
  flex-flow: column nowrap;
  justify-content: center;
  position: relative;
  align-items: center;
  font-size: 0.6rem;
  -webkit-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

.more-btn i {
  display: inline-block;
  font-size: 1em;
  margin-left: 0.3em;
}

/*MAIN CONTAINER SECTIONS*/

/* #header-wrap / "#header-wrap header" (the previous rules here) never
   matched anything real - no element with id="header-wrap" exists
   anywhere in the view files, so this z-index fix was a no-op on every
   page. The actual header markup is two different elements depending on
   page type: banner.php's bare <header> (public pages - home, resource
   show pages, account/profile) now has id="page-header"; dashboard.php's
   <header class="dashboard-header"> is separate. Both get z-index high
   enough to lift #main-menu/#bell-menu/#profiles above ordinary page
   content and the old auth #drawer (99999, no default display:none,
   broken close button - see earlier notes), while staying below the chat
   slide-drawer/lightbox (200000+) so those still correctly cover the
   header as full takeovers when open. */
/* Always fixed (not toggled between relative/fixed at the halfway scroll
   point) so the only things that ever change are opacity/transform, which
   CSS can transition smoothly - position itself can't be transitioned, so
   switching position at the halfway threshold was what caused the header to
   visibly snap in/out instead of fading. main.js compensates by measuring
   its rendered height and applying that as padding-top on <body>, since the
   header's height varies by device (mobile shows an extra search-wrap-mini
   row that desktop doesn't). */
#page-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100000;
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
}
#page-header.page-header-hidden {
  opacity: 0;
  transform: translateY(-100%);
  pointer-events: none;
}

/* Dashboard header stays pinned to the top of its column while the page
   scrolls - sticky (not fixed) so it inherits the right column's width/
   left-offset automatically from Bootstrap's grid instead of needing
   hand-calculated px/% values that would break if the grid ever changes. */
#dashboard .dashboard-header {
  position: static;
  top: 0;
  z-index: 100000;
}

.search-wrap,
.search-wrap-mini {
  font-size: 0.8rem;
  height: 50px;
  /* padding: .3em 0; */
}

.search-wrap .auto-suggest-box {
  top: 2rem;
}

.search-wrap-mini .auto-suggest-box {
  top: 2.5rem;
}

.search-wrap {
  background: var(--dark-bg-color);
}

.search-wrap-mini {
  margin-top: 3rem !important;
}

.search-wrap-mini .search-box {
  border: 1px solid var(--border-color);
  height: 50px;
}

#search-wrap.hide {
  min-height: 0;
  height: 0;
  overflow: hidden;
  display: none;
}

/* .search-wrap #company-name * {
  color: var(--text-on-brand);
}

.search-wrap #company-name > * {
  width: -moz-fit-content;
  width: fit-content;
} */

.search-wrap header,
.search-wrap header > .row,
#main-site-label,
#main-site-buttons {
  height: 100%;
}

.search-wrap button {
  display: flex;
  justify-content: center;
  align-items: center;
}

.search-wrap .login-register #login-btn,
.search-wrap .login-register #register-btn {
  background: transparent;
  color: var(--text-on-brand);
  border-radius: 1em;
}

.search-wrap .login-register #login-btn {
  background: transparent;
  color: var(--text-on-brand);
}
.search-wrap .login-register #login-btn:hover,
.search-wrap .login-register #login-btn:focus,
.search-wrap .login-register #register-btn:hover,
.search-wrap .login-register #register-btn:focus {
  border: none;
  box-shadow: var(--border-color-strong) 0 0 3px 1px;
  outline: none !important;
}

.search-wrap .login-register #login-btn:hover,
.search-wrap .login-register #login-btn:focus {
  /* background: rgba(255,255,255, 1); */
}

.search-wrap .login-register #register-btn:hover,
.search-wrap .login-register #register-btn:focus {
  background: rgb(45 57 221);
  color: var(--text-on-brand) !important;
}

.get-started-btn {
  transition: all 0.3s ease-in-out;
  font-size: 0.9rem !important;
  border: 0 !important;
}

.get-started-btn:hover {
  padding-left: 5em !important;
  padding-right: 5em !important;
}

#main-site-label {
  min-width: 100%;
  max-height: 50px;
  padding: 0.5em 0;
}

#main-site-label a {
  min-height: 100%;
  min-width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.2em;
  font-weight: 500;
  line-height: 1.7;
  color: var(--text-on-brand);
  cursor: pointer;
}

#main-site-label a:hover {
  text-decoration: none;
  border: none;
}

#home-slider span {
  display: inline-block;
  position: relative;
  padding: 1em 0 4em;
  color: var(--text-on-brand);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  background-color: rgba(var(--shadow-rgb), 0.3);
  height: auto;
  text-transform: uppercase;
  text-align: center;
}

#home-slider span h1 {
  color: var(--text-on-brand);
  font-size: 3rem;
  font-weight: 600;
}

#home-slider span a {
  display: inline-block;
  color: var(--text-on-brand);
  font-size: 1rem;
  padding: 0.3em 1em;
  text-decoration: none;
  border-radius: 0.1em;
  margin: 0 0.3em;
  transition: background-color 0.5s ease-in-out;
}

#home-slider span #load-search-btn:hover {
  background-color: var(--accent-cyan-dark);
}

#home-slider span #load-register-btn:hover {
  background-color: var(--accent-rust);
}

#home-slider span i {
  margin-right: 0.3em;
  font-size: 1.1rem;
}

#home-services > div {
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
  width: 80%;
  margin: 0 auto;
}

#home-services span {
  background-color: var(--surface-color);
  font-size: 0.8rem;
  border-radius: 0.3em;
  padding: 1em;
  margin: 1em 0.3em;
  text-align: center;
  width: 20%;
  border: 1px solid var(--border-color);
  transition: all 0.5s ease-in-out;
}

#home-services span:hover {
  color: var(--text-on-brand);
  background-color: var(--accent-orange);
  transform: scale(1.1);
}

#home-services span:hover > h5 {
  color: var(--text-on-brand);
}

#home-contacts > div {
  display: flex;
  flex-flow: row nowrap;
  justify-content: center;
}

#home-contacts span {
  margin: 0 1em;
  text-align: center;
  text-transform: uppercase;
}

#home-contacts span h5 {
  color: var(--text-on-brand);
}

#home-contacts span i {
  font-size: 2rem;
  color: #5905fb;
}

/* Listing-index hero banner (store/property/person/business/product/advert index.php) */
.index-hero {
  background: linear-gradient(
    45deg,
    var(--hero-gradient-start),
    var(--hero-gradient-end)
  );
}

/* Start Hero Animation */
.hero-section {
  position: relative;
  width: 110%;
  height: 82%;
  overflow: hidden;
}

.pulsating-circle-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 310px; /* Adjust the container size as needed */
  height: 310px; /* Adjust the container size as needed */
}

.pulsating-circle {
  position: absolute;
  border-radius: 50%;
  background-color: var(--primary-color);
  animation: pulse 2s infinite alternate;
}

.primary {
  width: 100%;
  height: 100%;
  top: 0;
}

.secondary {
  width: 80%;
  height: 80%;
  animation-delay: 1s;
  left: -10%;
}

.tertiary {
  width: 60%;
  height: 60%;
  animation-delay: 2s;
  right: -10%;
}

.image-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 320px; /* Adjust the image container size as needed */
  height: 320px; /* Adjust the image container size as needed */
  overflow: hidden;
  border-radius: 50%;
  background-color: var(--surface-color);
}

.image-container .img {
  margin: 3em;
}

@keyframes pulse {
  to {
    transform: scale(1.2);
    opacity: 0.3;
  }
}
/* End Hero Animation */

#div-main-area {
  display: flex;
  flex-flow: column nowrap;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

#no-js {
  display: none;
  margin: 5px auto;
  width: 500px;
  border: 3px solid red;
  padding: 1em;
  border-radius: 1em;
  background-color: rgba(var(--shadow-rgb), 0.03);
}

#results-container {
  display: none;
  flex-flow: column wrap;
  justify-content: flex-start;
  align-items: center;
  width: 100%;
  font-size: 1rem;
}

#results-container.show {
  display: flex;
}

.feature-wrap {
  margin-top: 0.3em;
  border: none !important;
}

.feature-pill {
  text-align: center;
  /* border: 1px solid var(--border-color) */
  border-radius: 1rem;
  padding: 0.3em 0.5em;
  margin: 0 0.3em 0.3em 0;
  min-width: -moz-fit-content !important;
  min-width: -webkit-fill-available !important;
  width: -moz-fit-content !important;
  min-width: fit-content !important;
  width: fit-content !important;
  font-size: 0.85rem;
  background: linear-gradient(45deg, #aec3fb69, #dfceff36);
}

/*MAIN MENU STYLES*/

#active-menu {
  display: flex;
  flex-flow: row nowrap;
  justify-content: center;
  align-items: center;
  color: var(--text-on-brand);
  margin: 0;
  font-size: 0.8em;
  line-height: 1.5;
  height: 100%;
}

/* #bell-btn now follows the #menu-btn/#discover-btn shape+shared rules
   (position/display/padding/the 35px icon-circle treatment) below -
   only the active-state color is bell-specific. */
#bell-btn.active i {
  color: var(--warning-color);
}

#bell-counter {
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  color: var(--danger-color);
  padding: 5px;
  border-radius: 50%;
  height: 1.5em;
  width: auto;
  font-weight: 600;
  top: -0.3em;
  right: -0.5em;
  font-size: 1em;
}

/* Main Site Menu	*/

#menu-btn,
#discover-btn {
  position: relative;
  display: flex;
  flex-flow: row nowrap;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  height: 100%;
}

#menu-btn button,
#discover-btn button,
#user-accounts button {
  outline: none;
  border: none;
  background: transparent;
  color: var(--text-on-brand);
  transition: all 1s ease-in-out;
}

#menu-btn button:hover,
#discover-btn button:hover,
#user-accounts button:hover {
  background: var(--btn-hover-bg);
  color: var(--text-strong-color);
}

#menu-btn img {
  width: 1.8em;
  height: 1.8em;
  border-radius: 50%;
  margin-right: 0.3em;
}

#menu-btn i,
#discover-btn i {
  font-size: 1.5em;
}

#menu-btn #header-dp {
  height: 1.2em;
  width: 1.2em;
  padding: 0.3em;
  border: 1px solid var(--text-on-brand);
  border-radius: 50%;
}

#menu-btn #header-dp i {
  font-size: 1.2em;
  color: var(--text-on-brand);
}

/*	Define Switch Accounts UI*/
#user-accounts {
  background: transparent;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  max-width: 12em;
  border-radius: 0.3em;
}

#user-accounts #active-profile {
  width: auto !important;
}

#user-accounts #active-profile .avatar i {
  color: var(--text-on-brand) !important;
  font-size: 2em !important;
}

#user-accounts #active-profile .user-name {
  font-size: 0.7rem;
  padding: 0 0.3em;
  text-align: start;
  color: inherit;
}

#user-accounts button {
  display: flex;
  flex-flow: row nowrap;
  align-items: center;
  justify-content: start;
  outline: 0;
  /* padding: .1rem !important; */
  border: none;
  border-radius: 3em;
  width: 100%;
  background: var(--btn-primary-dark);
}

#user-accounts button img::before {
  content: "";
  border: 3px solid var(--tooltip-bg);
}

#user-accounts button img {
  height: 30px;
  width: 30px;
  border-radius: 50%;
}

#active-profile {
  padding: 0 !important;
}

#active-profile .img {
}

#active-profile .img img {
  height: 33px;
  width: 33px;
}

#user-accounts #active-profile button i {
  font-size: 1.2em;
  margin-left: 0.5em;
}

#profiles .show {
  display: block;
  width: 200px;
  /*
		z-index: 10;
		width: 12em;
		border: 1px solid #c9c9c9;
	 */
}

#bell-btn,
#menu-btn,
#discover-btn,
#theme-toggle-btn,
#cart-menu-btn,
#bookmark-menu-btn {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1rem;
  padding: 0;
}

#bell-btn,
#menu-btn,
#discover-btn,
#theme-toggle-btn,
#cart-menu-btn,
#bookmark-menu-btn,
#user-accounts {
  margin: 0 0.3em;
}

#bell-btn > button,
#menu-btn > button,
#discover-btn > button,
#theme-toggle-btn > button,
#cart-menu-btn > button,
#bookmark-menu-btn > button,
#active-profile .avatar,
#active-profile .img {
  width: 35px;
  height: 35px;
  padding: 0;
  background-color: var(--icon-btn-bg);
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  border: none;
  cursor: pointer;
}

#menu-btn > button:hover,
#discover-btn > button:hover,
#bell-btn > button:hover,
#theme-toggle-btn > button:hover,
#cart-menu-btn > button:hover,
#bookmark-menu-btn > button:hover {
  color: var(--text-strong-color) !important;
  background-color: var(--icon-btn-bg-hover);
}

#menu-btn i,
#discover-btn i,
#bell-btn i,
#theme-toggle-btn i,
#cart-menu-btn i,
#bookmark-menu-btn i,
#active-profile .img i {
  color: var(--text-on-brand) !important;
  margin: 0;
  padding: 0;
}

#active-profile .img i {
  font-size: 1.75em !important;
}

#profiles::before,
#main-menu::before,
#bell-menu::before {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-bottom: 10px solid rgba(var(--shadow-rgb), 0.8);
  top: -11px;
  right: 15px;
}

#main-menu::before,
#bell-menu::before,
#profiles::before {
  top: -11px;
  right: 15px;
}

/* Add Subtle Border Bottom to all child li */
#main-menu li,
#bell-menu li,
#profiles li {
  font-size: 1rem;
  height: 40px;
  /* border-bottom: 1px solid rgba(255,255,255,.3); */
}

/* Remove the Border Bottom from the last Child */
#main-menu li:last-child,
#bell-menu li:last-child,
#profiles li:last-child {
  border: none;
}

.switch-profile {
  min-width: 100%;
  padding: 0.3em 0 !important;
  cursor: pointer;
}

.switch-profile .img,
.switch-profile .name {
  padding: 0;
}

.switch-profile .img {
  display: flex;
  justify-content: center;
  align-items: center;
}

.switch-profile .img img,
.switch-profile .avatar {
  width: 30px !important;
  height: 30px !important;
  border-radius: 50% !important;
  margin: 0 auto !important;
}

.switch-profile .avatar {
  display: flex;
  justify-content: center !important;
  align-items: center !important;
  padding: 0 !important;
  border: 1px solid var(--border-color);
}

.switch-profile .avatar i,
#main-menu .icon i {
  font-size: 1rem !important;
  margin: 0 !important;
}

.switch-profile .avatar i {
  color: var(--text-on-brand);
}

.switch-profile .name {
  display: flex;
  justify-content: start;
  align-items: center;
}

#profiles .switch-profile,
#main-menu > li a,
#bell-menu > li a {
  height: 100%;
  background: transparent;
  border-radius: 0;
  padding: 0;
}

#profiles .switch-profile .name,
#main-menu > li a,
#bell-menu > li a {
  color: var(--text-on-brand);
  font-size: inherit;
}

#profiles .switch-profile:last-child,
#main-menu > li > a:last-child,
#bell-menu > li > a:last-child {
  border-bottom: none;
}

#main-menu.show,
#bell-menu.show,
#profiles.show {
  display: block;
}

#main-menu,
#bell-menu,
#profiles {
  position: absolute;
  top: 120%;
  right: 0;
  height: auto;
  border-radius: 0.3em;
  text-align: center;
  background-color: rgba(var(--shadow-rgb), 0.8);
  z-index: 999;
  display: none;
  margin: 0;
  padding: 0;
  list-style-type: none;
  overflow: hidden;
}

#main-menu .icon,
#main-menu .content {
  display: flex;
  align-items: center;
  padding: 0;
  margin: 0;
  color: var(--text-on-brand) !important;
  height: 100% !important;
}

#main-menu .icon {
  justify-content: center;
}
#main-menu .content {
  justify-content: start;
}

/* Set Menu Widths */
#main-menu {
  width: 180px;
}

#bell-menu {
  width: 350px;
}

#bell-menu > li {
  padding: 0.3em;
  height: -moz-fit-content !important;
  height: fit-content !important;
}

#bell-menu > li.not-viewed {
  background-color: rgb(87, 87, 87);
}

#bell-menu > li.not-viewed:hover {
  background-color: rgb(80, 80, 80) !important;
}

#bell-menu > li.viewed {
  opacity: 0.6;
}

#bell-menu > li a:hover {
  background-color: inherit !important;
}

#profiles {
  width: 300px;
}

#main-menu > li > a,
#bell-menu > li > a {
  display: flex;
  justify-content: left;
  align-items: center;
  background-color: transparent;
  text-decoration: none;
  box-sizing: border-box;
  line-height: 1;
  text-align: left;
  padding: 0 !important;
}

#main-menu > li a:hover,
#bell-menu > li a:hover,
#profiles .switch-profile:hover {
  text-decoration: none;
  background-color: var(--tooltip-bg);
}

#bell-menu i {
  margin-right: 0.5em;
  color: var(--text-on-brand);
}

#bell-menu .img {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
}

#bell-menu .img img {
  width: 30px !important;
  height: 30px !important;
  border-radius: 50%;
}

#bell-menu #notification-wrap {
  display: flex;
  flex-flow: column nowrap;
  justify-content: center;
  align-items: flex-start;
}

#notification-wrap .narration {
  font-size: 0.8em;
  padding: 0;
  color: var(--text-on-brand);
}

#notification-wrap .posted {
  font-size: 0.7em;
  font-weight: 400;
  margin-top: 0.3em;
  color: var(--text-muted-color);
}

#menu-nav .nav-card {
  box-sizing: border-box;
  height: 4rem;
  width: 4rem;
  font-weight: 500;
  text-align: center;
  margin: 0.3em;
  float: left;
  border-radius: 0.3rem;
}

#menu-nav .nav-card i {
  font-size: 1.5rem;
  padding: 0.3em;
  color: var(--text-on-brand);
}

#menu-nav .nav-card a:link {
  text-decoration: none;
  color: rgba(var(--text-rgb), 0.5);
}

#menu-nav .nav-card a:visited {
  color: rgba(var(--text-rgb), 0.5);
}

#menu-nav .nav-card a:hover {
  text-decoration: none;
  color: rgba(var(--text-rgb), 0.5);
}

#menu-nav .nav-card a:active {
  color: var(--text-on-brand);
}

#menu-nav .nav-card:hover,
#offline-menu .nav-link:hover {
  background: var(--info-color);
  color: var(--text-on-brand);
}

#menu-nav .nav-card img {
  width: 60%;
  margin: 3px;
  padding: 3px;
  vertical-align: middle;
  border-style: none;
}

#menu-nav .nav-card .card-body {
  box-sizing: border-box;
  font-size: 0.7rem;
  padding: 0.3em 0;
}

#menu-nav .nav-card:hover a {
  color: var(--text-on-brand);
}

.card {
  position: relative;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
  flex-direction: column;
  word-wrap: break-word;
  background-color: var(--surface-color);
  background-clip: border-box;
  border: 1px solid var(--border-color);
  border-radius: 0.25rem;
  /* width: 10em; */
  margin: 0.3em 0.65em;
}

.card .card-body {
  text-align: center;
  padding: 0.3em;
}

.card-img img {
  height: 8rem;
}

/*Service Page*/
.service-wrap {
  display: flex;
  flex-flow: column nowrap;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 1em;
}

.service-wrap > .title {
  padding: 0.3em;
  width: 100%;
  background: linear-gradient(
    90deg,
    rgba(var(--accent-orange-rgb), 0.8) 0.8%,
    var(--surface-color)
  );
}

.service-wrap .wrap {
  display: flex;
  flex-flow: row wrap;
  justify-content: flex-start;
  align-items: stretch;
  margin-bottom: 1em;
  width: 100%;
}

.service-wrap .wrap .tab {
  display: flex;
  flex-flow: column nowrap;
  justify-content: flex-start;
  align-items: flex-start;
  margin: 1em 0;
  border-radius: 0.3em;
  width: 100%;
  font-size: 0.8rem;
  background: linear-gradient(
    135deg,
    rgba(var(--accent-orange-rgb), 0.01) 10%,
    rgba(var(--info-color-rgb), 0.8)
  );
}

.service-wrap .wrap .tab > .title {
  font-weight: 600;
  padding: 0.3em;
}

.service-wrap .wrap .tab > div {
  padding: 0.3em;
}

.service-wrap .wrap .tab > .detail {
  border-top: 1px solid var(--border-color);
}

.service-wrap .wrap .tab > .price {
  font-weight: 600;
  border-top: 1px solid var(--border-color);
}

.service-wrap .wrap .tab > .validity {
  border-top: 1px solid var(--border-color);
}

.service-wrap ul,
.service-wrap ol {
  margin-left: 2em;
}

/* Custom Slider */
#slider {
  position: relative;
  min-width: 100%;
  height: 25rem;
}

#indicators {
  position: absolute;
  z-index: 12;
  bottom: 5%;
  min-width: 100%;
  height: 6em;
  padding: 0.3em 0;
}

.carousel-control-prev,
.carousel-control-next {
  z-index: 15;
  position: absolute;
  top: 0;
}

.carousel-control-prev {
  left: 0;
}

.carousel-control-next {
  right: 0;
}

#indicators ol {
  display: flex;
  justify-content: center;
  align-items: center;
}

#indicators ol li img {
  width: 100px !important;
  height: 100px !important;
}

/* REGISTER/ LOGIN SCREENS*/

.login-wrap {
  display: flex;
  flex-flow: column nowrap;
  justify-content: flex-start;
  align-items: center;
  padding-top: 3em;
  min-height: 100vh;
  height: auto;
  min-width: 520px;
  width: 100%;
  overflow: hidden;
}

.register-wrap {
  position: relative;
  display: flex;
  flex-flow: column nowrap;
  justify-content: space-around;
  align-items: center;
  padding-top: 3em;
  padding-bottom: 3em;
  overflow: hidden;
}

.register-wrap form #register-btn.prohibited {
  cursor: not-allowed;
}

#register-btn.pointer {
  cursor: pointer;
}

.terms-wrap {
  margin: 1em 0;
  font-weight: 400 !important;
  cursor: pointer;
}

.form-wrap {
  display: flex;
  flex-flow: column nowrap;
  width: auto;
  padding: 1em;
  justify-content: flex-start;
  align-items: flex-start;
  border: 1px solid var(--border-color);
  margin: 1em;
  background-color: var(--surface-color);
  border-radius: 1em;
}

.column-wrap {
  display: flex;
  flex-flow: column-reverse nowrap;
  justify-content: center;
  align-items: center;
  top: 3em;
  width: 80%;
  position: relative;
  margin: 0 auto;
}

.account-description a:link,
.account-description a:hover,
.account-description a:visited,
.account-description a:active {
  text-decoration: none;
  color: var(--text-on-brand);
}
.business-account {
  display: flex;
  flex-flow: row nowrap;
  border-radius: 1em;
  margin: 1em 0;
  color: rgba(var(--text-rgb), 0.8);
  background-color: var(--bg-color);
  padding: 1em;
  cursor: pointer;
}
.business-account:hover {
  background-color: rgba(var(--shadow-rgb), 0.3);
}

.fa-img i {
  font-size: 3em;
  color: rgba(var(--text-rgb), 0.1);
}

.personal-account:hover .fa-img i,
.business-account:hover .fa-img i {
  color: rgba(var(--text-rgb), 0.3);
}

.personal-account .title,
.business-account .title {
  color: rgba(var(--text-rgb), 0.8);
}

#carousel-wrap {
  height: 350px;
}

#carousel-wrap img {
  height: 80% !important;
}

/* CONTAINER SECTIONS*/

#search-wrap {
  display: flex;
  flex-flow: column nowrap;
  justify-content: center;
  align-items: center;
  position: relative;
}

#search-wrap .title {
  display: none;
}

#search-wrap .title,
#search-wrap .caption {
  color: var(--text-on-brand) !important;
}

#search-wrap #service-list li {
  width: 100%;
  text-transform: capitalize;
}

#search-wrap #service-list li > * {
  font-weight: 400;
}

#search-wrap .hero {
  height: 500px !important;
}

#search-wrap .hero .logo {
  margin-top: 3rem;
  width: 120px !important;
  height: 120px !important;
  padding: 0 !important;
}

#search-wrap .hero section > * {
  width: 100%;
}

.search-box {
  display: flex;
  flex-flow: row nowrap;
  justify-content: flex-start;
  align-items: center;
  min-width: 60%;
  padding: 0;
  font-size: 1rem;
  height: 100%;
  position: relative;
  background: var(--surface-color);
  border-radius: 3em;
}

.search-box .body,
.search-box .buttons {
  min-height: 100%;
  padding: 0;
}

.search-box .body {
  height: 100%;
}

.search-box .buttons {
  position: relative;
  background-color: var(--surface-color);
  border-top-right-radius: 3em;
  border-bottom-right-radius: 3em;
  transition: border-radius 0.3s ease-in-out;
}

.txt-search {
  padding: 0.2em 1em;
  min-height: 100%;
  min-width: 100%;
  line-height: 1;
  font-size: 0.9rem;
  top: 0;
  left: 0;
  border: none;
  display: inline-block;
  margin: 0;
  border-top-left-radius: 3em;
  border-bottom-left-radius: 3em;
  background-color: var(--surface-color);
  transition: border-radius 0.3s ease-in-out;
}

.txt-search:focus,
.txt-search:active {
  border: none;
  border-color: inherit;
  outline: 0;
}

.search-box .txt-clear,
.search-box .btn-search {
  padding: 0;
  margin: 0;
}

.search-box .txt-clear {
  position: absolute;
  top: 0;
  right: 0;
  background-color: transparent;
  height: 100%;
  width: 25px;
  display: flex;
  justify-content: center;
  align-items: center;
  outline: none;
  border: none;
}

.search-box .txt-clear i {
  margin: 0 !important;
  border-radius: 0.1em;
  transition: background-color 0.3s ease-in-out;
}

.search-box .txt-clear:hover i {
  background-color: var(--btn-hover-bg);
}

.btn-search {
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  right: 0;
  border: none;
  border-left-color: currentcolor;
  border-left-style: none;
  border-left-width: medium;
  margin: 0;
  padding: 0;
  cursor: pointer;
  width: 100% !important;
  height: 100% !important;
  background-color: transparent;
}

.btn-search.wait {
  cursor: wait;
}

.btn-search:focus,
.btn-search:active {
  outline: 0;
}

.btn-search > i {
  font-size: 1.2em;
  /* color: #009393; */
}

#div-filters {
  display: flex;
  flex-flow: row nowrap;
  justify-content: flex-start;
  align-items: center;
  width: 100%;
  line-height: 1.5;
  text-align: center;
  position: relative;
  font-size: 0.7rem;
  text-transform: uppercase;
}

#div-filters > .filter {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  padding: 0.3em 0.5em;
  text-decoration: none;
  filter: none;
  color: var(--text-strong-color) !important;
  margin-right: 0.3em;
  border-radius: 0.3em;
  background: transparent;
}

#div-filters > .filter i {
  display: none;
  font-size: 1.2em;
  margin-right: 0.3em;
}

#div-filters .label {
  color: inherit !important;
}

#div-filters .filter.active,
#div-filters .filter.active:hover {
  font-weight: 500;
  background: var(--btn-primary-dark) !important;
  border: none !important;
  box-shadow: none !important;
}

#div-filters .filter.active .label {
  color: var(--text-on-brand) !important;
}

#div-filters .filter:hover {
  background: var(--btn-hover-bg);
}

#div-filters .filter:active,
#div-filters .filter:focus {
  background: var(--btn-hover-bg);
}

#location-filters {
  display: none;
  padding: 0 2rem 0 0 !important;
}

#location-filters.show {
  display: block;
}

#div-filters > .filter,
#location-filters .form-control,
#budget {
  font-size: 0.85rem !important;
  height: calc(1.5em + 0.75rem + 2px) !important;
  line-height: 1.2 !important;
  border: 1px solid var(--border-color) !important;
}

#div-filters > .filter:active,
#div-filters > .filter:focus,
#location-filters .form-control:active,
#location-filters .form-control:focus,
#budget:active,
#budget:focus {
  outline: none !important;
  box-shadow: 0 0 1px 1px rgba(var(--primary-color-rgb), 0.35) !important;
}

#location-filters > div {
  display: flex;
  flex-flow: row nowrap;
  justify-content: space-between;
  align-items: center;
  padding: 0 0.3em;
}

/*Style Auto Suggestion Box inputs*/
.auto-suggest-box {
  height: auto;
  position: absolute;
  padding: 0;
  color: rgba(var(--text-rgb), 0.5);
  /* top: 2.5rem;  */
  left: 0;
  right: 0;
  margin: 0 auto;
  box-shadow: 0px 2px 1px 1px var(--border-color);
  border: none;
  background: var(--surface-color);
  z-index: 8;
  border-radius: 5px;
  display: none;
  overflow: hidden;
}

.auto-suggest-box.top {
  top: 110%;
}

/* Style the search box when the auto suggest shows */
.search-box.auto-suggest {
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  border-bottom-right-radius: 0px;
  border-bottom-left-radius: 0px;
  border: 1px solid var(--border-color) !important;
  border-bottom: none !important;
}

.auto-suggest-box.auto-suggest {
  border-top-right-radius: 0;
  border-top-left-radius: 0;
  border-top: 0;
  border-top-color: transparent;
  display: block;
}

.auto-suggest-links {
  font-size: 0.85rem;
  display: block;
  padding: 0.1em 0.5em;
  cursor: pointer;
  text-decoration: none;
  border-bottom: rgba(var(--shadow-rgb), 1);
}

.auto-suggest-links .fas,
.auto-suggest-links .fab {
  font-size: 0.85rem;
  margin-right: 0.5em;
  padding: 0.3em;
}

.auto-suggest-links:hover,
.auto-suggest-links:hover * {
  background-color: var(--btn-hover-bg);
}

/*Spinner*/
.lds-ripple {
  display: inline-block;
  position: relative;
  width: 80px;
  height: 80px;
  margin: 0 auto;
}

.lds-ripple div {
  position: absolute;
  border: 4px solid var(--tooltip-bg);
  opacity: 1;
  border-radius: 50%;
  animation: lds-ripple 1s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}

.lds-ripple div:nth-child(2) {
  animation-delay: -0.5s;
}

@keyframes lds-ripple {
  0% {
    top: 36px;
    left: 36px;
    width: 0;
    height: 0;
    opacity: 1;
  }
  100% {
    top: 0px;
    left: 0px;
    width: 72px;
    height: 72px;
    opacity: 0;
  }
}

/*Main Homeslider*/
#div-homeslider {
  display: none;
  min-height: 30vh;
  width: 100%;
  overflow: hidden;
  border-radius: 1em;
  position: relative;
}

/* Slider Container*/

.slider-container {
  width: 100%;
  margin: 10px auto;
}

.carousel {
  position: relative;
  border-radius: 0.3em;
  /* border-radius: 1em; */
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: 0px 0px 3px var(--border-color);
}

.slider {
  height: 100%;
  display: flex;
  width: 400%;
  transition: all 1s;
}

.slider section {
  flex-basis: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  border-radius: 0.3em;
  position: relative;
}

.slider section img {
  width: 100%;
  height: 120%;
}

.slider section .caption {
  position: absolute;
  background-color: rgba(var(--shadow-rgb), 0.3);
  z-index: 3;
  width: 100%;
  display: flex;
  flex-flow: column;
  align-items: center;
  top: 2.5em;
  padding: 1em;
  color: var(--text-on-brand);
}

.slider section .caption > .title {
  color: var(--text-on-brand);
}

.slider section .caption > .detail {
  color: var(--text-on-brand);
}

.controls .arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
}

.controls .arrow i {
  font-size: 1.5em;
}

.arrow.left {
  left: 10px;
}

.arrow.right {
  right: 10px;
}

.controls ul {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translate(-50%);
  list-style: none;
  display: flex;
  padding: 0;
  margin: 0;
}

.controls ul li {
  width: 0.5em;
  height: 0.5em;
  border: 1px solid var(--tooltip-bg);
  background-color: var(--tooltip-bg);
  border-radius: 1em;
  margin: 0.3em;
  cursor: pointer;
}

.controls ul li.selected {
  background: transparent;
}

/* */

#get-started {
  display: inline-block;
  color: var(--text-strong-color);
  position: absolute;
  margin: 0 auto;
  bottom: 20em;
  background: var(--brand-blue);
  padding: 3em;
  font-size: 1.5rem;
  border-radius: 2px;
  border: 2px solid var(--brand-blue);
  z-index: 99;
  width: 5em;
  height: 2em;
}

/*Style Refine Filters Inputs*/
#results-column,
#adverts-column {
  display: none;
  padding: 0;
}

#results-column.show {
  display: block;
}

#adverts-column.show {
  display: none;
}

#div-refine-filters {
  min-height: 1em;
  width: 100%;
  display: none;
  padding: 0.5em 0.3em;
  background-color: var(--surface-color);
  border-radius: 0.3em;
}

#div-refine-filters.show {
  display: block;
}

#div-refine-filters .title {
  font-size: 0.8em;
  margin: 0;
  padding: 0.5em 0.1em;
  color: var(--text-muted-color);
}

#div-refine-filters .title > i {
  margin-right: 0.3em;
  color: var(--text-muted-color);
}

#location-filter {
  position: relative;
  overflow: hidden;
  margin: 0 auto;
  color: var(--text-color);
  font-size: 1.8em;
  height: 2.6em;
  line-height: 0.8em;
}

#location-filter > div {
  display: flex;
  flex-flow: row nowrap;
  justify-content: space-between;
}

#budget-filter {
  position: relative;
  overflow: hidden;
  padding: 0 !important;
  display: none;
}

#budget-filter.show {
  display: block;
}

#budget-feedback {
  font-size: 0.8em;
  line-height: 1em;
  display: inline-block;
}

#budget-slider {
  overflow: hidden;
}

#budget {
  display: inline-block;
  padding: 0.3em;
  width: 30%;
  max-width: 33%;
  margin: 0;
  border: 1px solid #aaa;
  border-radius: 0.3em;
}

/*Style Results Area*/
#div-results {
  display: none;
  font-size: 1rem;
  width: 100%;
  padding: 0;
  margin-top: 3em;
}

#load-spin {
  display: flex;
  flex-flow: column nowrap;
  justify-content: flex-start;
  align-items: center;
  font-size: 1em;
  margin: 3em 0;
}

#load-spin i {
  font-size: 3em;
  color: rgba(var(--text-rgb), 0.3);
}

#load-spin .caption {
  font-size: 1em;
  padding: 1em;
  margin: 1em;
  color: inherit;
}

#result-header {
  overflow: hidden;
  width: 100%;
  font-size: 0.85em;
  padding: 0.3em 0;
  margin: 1em 0;
}

#result-header span {
  color: rgba(var(--text-rgb), 0.7);
  padding: 5px 0;
  line-height: 1.5;
}
.inline-feed {
  display: none;
}

#service-list li {
  display: none;
}

#service-list li.active {
  display: block;
}

#div-results > .row {
  margin-bottom: 1rem !important;
}

#div-results > li,
#div-results > li .ads {
  position: relative;
  display: flex;
  flex-flow: row nowrap;
  box-sizing: border-box;
  font-size: 1rem;
  width: 100%;
  line-height: 1.2;
  margin: 0 0 1.5rem 0;
  padding: 0.3rem;
  border: 1px solid var(--border-color);
  border-radius: 0.5rem;
  background-color: var(--surface-color);
  overflow: hidden;
  min-height: 10em;
}

#div-results > li .div-ads {
  margin-bottom: 0 !important;
}

#div-results .result {
  margin-bottom: 1.5rem;
  /* border: 1px solid var(--border-color); */
  padding: 0.3em;
  border-radius: 0.3rem;
  background-color: var(--surface-color);
  box-shadow: 0px 0px 3px 1px rgba(var(--shadow-rgb), 0.1);
}

#div-results .result .avatar i {
  font-size: 3rem;
}

#div-results .result .buttons {
  display: flex;
  justify-content: start;
  align-items: center;
}

#div-results .result .buttons .get-btn {
  margin-right: 1em;
  font-size: 0.8em;
  cursor: pointer;
  font-weight: 600;
  color: var(--text-muted-color);
}

#div-results .ads {
  border-radius: 0;
}

#div-results .names {
  font-size: 1em;
  display: flex;
  flex-flow: row nowrap;
  justify-content: flex-start;
  align-items: center;
  color: var(--link-color) !important;
}

#div-results .names a {
  display: inline-block;
  font-size: inherit;
  color: var(--link-color) !important;
  margin-right: 0.3em;
}

#div-results .names .connect-btn {
  display: flex;
  flex-flow: row nowrap;
  justify-content: flex-start;
  align-items: center;
  border-radius: 1rem;
  width: auto;
  padding: 0 0.7em;
  font-size: 0.8em;
  border: none;
  color: var(--text-strong-color);
  background: var(--surface-alt-color);
  line-height: 1.5;
  font-weight: 600;
  transition: all 0.3s ease-in-out;
}

#div-results .names .connect-btn.connected,
#div-results .names .connect-btn.requested {
  color: var(--success-color);
}

#div-results .names .connect-btn i {
  display: inline-block;
  margin-right: 1em;
  padding: 0.1em 0;
  font-size: 0.3em;
}

#div-results .names a:hover {
  border: none;
  /* color: var(--link-color) !important; */
  text-decoration: underline;
}

#div-results .word-hits {
  font-weight: 600;
  color: inherit;
}

#div-results .detail {
  font-size: 0.85em;
  color: inherit;
}

.avatar {
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

#div-results .img,
#div-results .avatar {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  /* flex: 25%; */
  text-align: center;
  min-height: 100%;
}

#div-results .img {
  /* font-size: 2.5rem; */
  /* padding: .3rem !important; */
}

.img button {
  display: flex;
  justify-content: center;
  align-items: center;
  outline: none;
  border: none;
  background-color: transparent;
}

#div-results .img button i {
  color: rgba(var(--text-rgb), 0.05);
}

#div-results .img img,
#div-results .avatar {
  border-radius: 0.3rem;
  height: 100px;
  width: 100%;
}

#div-results .img img {
  /* border: 1px solid var(--border-color); */
  object-fit: fill;
}

#div-results .avatar {
  align-items: center !important;
  background-color: var(--surface-alt-color);
}

#div-results .avatar i {
  color: var(--text-muted-color) !important;
}

#div-results .body {
  font-size: 1em;
  max-width: 100%;
  /* flex: 100%; */
  /* float: left;  */
  padding: 0 0.3rem !important;
  margin: 0;
}

#div-results .body li {
  line-height: 1.2;
  /* padding: .3em 0; */
  margin-bottom: 0.3em !important;
}

#div-results .location {
  font-size: 0.8em;
}

#div-results .location .icon {
  display: flex;
}

#div-results .location i {
  margin-right: 0.3em;
}

#div-results .body .inventory {
  display: flex;
  flex-flow: row nowrap;
  justify-content: flex-start;
  align-items: center;
  font-size: 0.8em;
}

#div-results .body .state,
#div-results .body .in-stock {
  font-size: inherit;
  margin-right: 1em;
  padding: 0.3em 0.5em;
  color: var(--text-on-brand);
  font-weight: 500;
  border-radius: 1em;
}

#div-results .body .state {
  background: #a70101;
}

#div-results .body .in-stock {
  background: #005f97;
}

.engage-btns {
  display: flex;
  /* justify-content: end; */
  align-items: center;
  flex-direction: column !important;
  padding: 0.3em 0;
}

.engage-btns button {
  display: flex;
  justify-content: center;
  align-items: center;
  border: none;
  outline: none;
  padding: 0.3em;
  margin: 0 0 0.3em 0;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  /* background-color: #333; */
  transition: all 0.3s ease-in-out;
}

.engage-btns button:hover {
  border: 1px solid var(--border-color-strong);
  box-shadow: 0 0 1px 1px rgba(var(--shadow-rgb), 0.23) !important;
  /* background-color: #5b5b5b; */
}

.engage-btns button i {
  font-size: 1em;
  color: var(--text-muted-color) !important;
  display: block;
  line-height: 25px;
}

/* Reviews Tabs */
#reviews,
.review {
  list-style: none;
  padding-left: 0;
}

.review {
  padding: 1em;
}

.review .search-rating {
  padding: 0.3em 0 !important;
}

#reviews > li {
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 1em;
}

#reviews .img {
  border-radius: 50%;
  width: 30px;
  height: 30px;
  margin: 0;
}

#reviews .img img {
  width: 30px;
  height: 30px;
  border-radius: 50%;
}

.total-reviews-count {
  font-size: 0.8em;
  padding: 0 0.3em;
  margin: 0 1em;
}

.urlhit a {
  color: #359595 !important;
  padding: 0.1em 0;
  font-size: inherit;
  text-decoration: none;
}

.industry,
.occupation {
  font-size: 0.85em;
}

.industry {
  color: var(--warning-color);
}

.actions .occupation {
  text-align: center;
}

.occupation {
  color: var(--warning-color);
}

.open,
.closed {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 0.8em;
  padding: 0.1em 0.5em;
}

.open,
.open > i {
  color: var(--info-color);
}

.closed,
.closed > i {
  color: var(--danger-color);
}

.open > i,
.closed > i {
  margin-right: 0.3em;
}

.avatar-wrap {
  position: relative;
  display: inline-block;
}

.online-dot {
  position: absolute;
  bottom: 2px;
  right: 2px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--success-color);
  border: 2px solid var(--surface-color);
}

.map {
  height: 5em;
  margin: 0.5em 0 0;
  border: 1px solid var(--border-color);
  border-radius: 0.3em;
  overflow: hidden;
}

#div-results > li .body .detail {
  font-size: 0.8em;
  color: var(--text-color);
}

#div-results > li .body .availability {
  font-size: 0.8rem;
  color: var(--text-color);
}

.posted-on {
  font-size: 0.8rem;
  color: var(--text-muted-color);
}

.posted-on i {
  margin-right: 0.3em;
}

.posted-on a {
  text-decoration: none;
  color: var(--text-muted-color);
}

.contact-email,
.contact-mobile,
.contact-landline,
.contact-primary,
.urlhit,
.location {
  font-size: 0.8em;
  color: var(--text-muted-color);
  padding: 0.3em 0 !important;
}

.contact-primary {
  margin-left: 1rem;
  padding: 0 !important;
}

.contact-visibility {
  margin-left: 0.5rem;
}

.contact-visibility.is-public {
  color: var(--success-color);
}

.contact-visibility.is-private {
  color: var(--warning-color);
}

#div-results .body .buttons {
  position: relative;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  margin: 0.3em 0;
}

#div-results .icon {
  width: 1.2em !important;
  padding: 0 !important;
  /* display: flex; */
  display: none;
  justify-content: start;
  align-items: center;
}

#div-results .icon i {
  font-size: 0.8em;
  display: block;
}

.urlhit i {
  font-size: 0.65em;
}

#div-results .row > .detail {
  font-size: 1em !important;
  display: flex;
  justify-content: flex-start;
  align-items: center !important;
  padding: 0 0.3em !important;
  line-height: 1;
}

#div-results > li .body .buttons li {
  font-size: 0.85rem;
  height: 25px;
  padding: 0.5em;
  margin-right: 0.3em;
  border: 1px solid var(--border-color) !important;
  border-radius: 50rem;
  line-height: 1;
  width: -moz-fit-content;
  width: fit-content;
  margin-bottom: 0 !important;
}

#div-results > li .body .buttons li:hover {
  background-color: var(--border-color);
}

#div-results > li .body .flex {
  display: flex;
  flex-flow: row nowrap;
  align-items: center;
  justify-content: flex-start;
}

#div-results > li .body .flex > div {
  display: flex;
  flex-flow: row wrap;
  align-items: center;
  justify-content: flex-start;
  border-right: 1px solid rgba(var(--shadow-rgb), 0.3);
  margin-right: 0.3em;
  padding-right: 0.3em;
  min-height: 100%;
}

#div-results > li .body .flex > div:last-child {
  border: none;
}

#div-results > li .body .buttons #search-info {
  font-size: 0.8rem;
  position: absolute;
  top: -5em;
  right: 1em;
  box-shadow: 3px 3px 3px rgba(var(--shadow-rgb), 0.3);
  border-radius: 0.3em;
  z-index: 100;
  background: var(--surface-color);
  padding: 0.3em;
  min-width: 20em;
  width: auto;
}

#div-results > li > .actions {
  display: flex;
  flex-flow: column nowrap;
  justify-content: center;
  align-items: center;
  flex: 50%;
  border-left: 1px solid rgba(var(--shadow-rgb), 0.03);
  /* max-width: 12em; */
  padding: 0;
}

#div-results .property-type {
  font-size: 0.8em;
  color: var(--warning-color);
  padding: 0.3em 0;
}

#div-results .price {
  display: flex;
  flex-flow: row nowrap;
  font-weight: 600;
  font-size: 1.2em;
  /* position: relative; */
  /* padding-left: 1.8em; */
  /* background: #d20303; */
  border-radius: 1em;
  /* padding: 0 .3em; */
  width: fit-content;
}

#div-results .price .currency {
  /* display: inline-block; */
  margin-top: 0.3em;
  font-weight: 600;
  font-size: 12px;
  /* position: absolute; */
  /* left: 0; */
  /* top: 0.3em; */
  text-transform: uppercase;
  /* color: #fff; */
  min-height: 100%;
  /* padding: 0 .3em; */
}

#div-results .price .amount {
  font-weight: 600;
  font-size: 18px;
  /* position: relative; */
  /* color: #fff; */
  padding: 0 0.3em;
}

#div-results .price .frequency {
  /* color: #fff; */
  font-size: 12px;
  align-self: flex-end;
  padding: 0.3em;
}

.list-group > .list {
  margin: 0.3em 0;
  font-size: inherit;
}

.list-group > .list > .detail {
  min-width: 80%;
  max-width: 80%;
  font-size: inherit;
  padding: 0.3em;
}

.list-group i {
  margin-right: 0.3em;
  color: var(--info-color);
}

#div-results > li .body .buttons > button,
.buttons > button {
  font-size: 0.8em;
  display: flex;
  justify-content: center;
  align-items: center;
  width: auto;
  margin: 0 1em 0 0;
  padding: 0.3em 0.5em;
  color: var(--text-strong-color);
  outline: 0;
  border: none;
  border-radius: 1em;
  line-height: 1;
}

#div-results > li .body .button > button i,
.button > button i {
  margin-right: 0.3em;
}

#div-results > li .body button:hover,
.actions button:hover {
  box-shadow: 1px 1px 3px 1px rgba(var(--shadow-rgb), 0.03);
  /* color: #fff; */
  /* border: 1px solid #009393; */
}

/*In Page Notifications*/
#in-page-notification {
  padding: 0 !important;
  margin: 3rem 0;
}

#in-page-notification.hide {
  display: none !important;
}

#in-page-notification .message {
  position: relative;
  margin: 0 !important;
  padding: 0 !important;
}

#in-page-notification .close-btn {
  position: absolute;
  top: -3px;
  right: 7px;
  height: 100%;
  width: 50px;
}

#in-page-notification .close-btn:hover {
  cursor: pointer;
}

#in-page-notification .close-btn i {
  font-size: 28px;
}

.search-rating .count {
  display: inline-block;
  top: -0.018em;
  position: relative;
  padding: 0.3em;
  color: rgba(var(--text-rgb), 0.3);
}

.search-rating i {
  color: rgba(var(--text-rgb), 0.1);
  font-size: 1em;
}

.search-rating .gold,
#star-rating .gold,
#bold-rating .gold,
.contact-rating .gold {
  color: #ffd700;
}

.search-rating > .gray,
#star-rating > .gray {
  color: rgba(var(--text-rgb), 0.3);
}

.search-rating img {
  position: absolute;
  top: 0.45em;
  left: 0.3em;
  height: 0.8em;
  display: inline-block;
  width: 3em;
}

.headers {
  background-color: var(--surface-alt-color);
  font-weight: 500;
  height: 30px;
}

.social {
  height: 25px;
  width: 25px;
  padding: 2px;
}

.vocation {
  color: var(--text-muted-color);
}

.icon span {
  position: absolute;
  top: -2rem;
  z-index: 100;
  font-size: 0.7rem;
  display: none;
  min-width: 120px;
  width: auto;
  background: var(--tooltip-bg);
  color: var(--text-on-brand);
  padding: 0.5em 0;
  text-align: center;
  border-radius: 0.5em;
  margin: 0 auto;
  opacity: 0;
  transition: 0.6s opacity;
}

.icon span:after {
  content: "";
  width: 10px;
  height: 10px;
  position: absolute;
  bottom: -5px;
  background: var(--tooltip-bg);
  z-index: -1;
  left: 10%;
  transform: translateX(-50%) rotate(45deg);
}

.icon:hover > span {
  display: block;
  opacity: 0.8;
}

.like-btn,
.report-btn,
.basket-btn,
.bookmark-btn {
  cursor: pointer;
  position: relative;
  font-weight: 600;
  color: var(--text-strong-color);
}

/* --warning-color is deliberately theme-invariant (not overridden in
   html.dark-mode) and is this codebase's existing "active icon state"
   accent (see #bell-btn.active i) - the literal #fff06c these two used to
   hardcode was a pale yellow that read fine on a dark surface but was
   nearly invisible against a light one (glass-bg's near-white circle). */
.bookmark-btn.bookmarked i {
  color: var(--warning-color) !important;
}

.cart-btn.in-cart i {
  color: var(--warning-color) !important;
}

/* !important needed here - .engage-btns button already sets a
   background: var(--glass-bg) !important (the shared light glassy circle
   every icon button gets), which silently won over this plain declaration
   and meant the intended dark "liked" chip never actually rendered - the
   white icon color right below did win (its own selector already carried
   !important), leaving a white icon on the still-light glass background:
   invisible in light mode, barely visible in dark mode. */
.like-btn.liked {
  background: var(--btn-primary-dark) !important;
}

.like-btn.liked i {
  color: var(--text-on-brand) !important;
}

/*
	.like-btn{
		fill: #5905fb;
	}
	
	.like-btn:hover{
		color: var(--text-on-brand); 
		background-color: #5905fb;
	}
	.message-btn:hover{
		color: var(--text-on-brand); 
		background-color:var(--info-color);
	}
	.cart-btn:hover{
		color: var(--text-on-brand); 
		background-color:#ffde00;
	}
	*/

/*Style Homepage Feedback Items*/
#div-nothing-found {
  font-size: 0.9rem;
  width: 100%;
  line-height: 2;
  padding: 1rem;
}

#div-nothing-found li {
  font-size: 0.9rem;
  list-style: none;
  text-indent: 0;
}

#div-nothing-found h3 {
  font-size: 1.2rem;
  color: var(--accent-rust);
}

/* The prospect suggestion box shows each time a search result returns null */
#prospect-suggestion {
  font-size: 1rem;
  border: 1px solid rgba(var(--shadow-rgb), 0.1);
  border-radius: 0.7em;
  box-shadow: 1px 1px 2px rgba(var(--shadow-rgb), 0.1);
  text-align: left;
  color: var(--text-muted-color);
  max-height: 15em;
  width: 100%;
}

#prospect-suggestion img {
  height: 100%;
  width: 12em;
}

/* End Prospect Suggestion Styles */

/*Management Screens*/
#manage-wrap {
  display: flex;
  flex-flow: column nowrap;
  justify-content: center;
  align-items: flex-start;
  width: 100%;
  padding: 1em 0;
}

#manage-wrap > div {
  width: 48%;
}

#manage-new .title:after {
  content: "";
  border-bottom: 1px solid var(--tooltip-bg);
}

#manage-list {
  font-size: 1em;
  padding-right: 0.3em;
  list-style: none;
  min-height: calc(100vh - 250px);
  height: 100vh;
  overflow-y: auto;
  /* background: #fff; */
  border-radius: 0.3em;
  padding-bottom: 7em !important;
}

#manage-list .col-3,
#manage-list .col-9 {
  padding: 0;
  margin: 0;
}

#manage-list .item-meta {
  margin: 0.3em 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35em;
}

/* Hospitality-only second row group (Rooms/Bookings count buttons),
   scoped to .with-actions so bare .item-meta - used by every other
   resource card's status badges (business/store/product/...) - is
   completely unaffected. */
.item-meta.with-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.3em;
}

.item-meta.with-actions .badges {
  display: flex;
  flex-wrap: wrap;
}

.hospitality-actions {
  display: flex;
  gap: 0.3em;
  flex-wrap: wrap;
}

#manage-list .mobile,
#manage-list .email {
  font-size: 0.85em;
}

/* Unified item-meta badge/button - status pills (Published/Draft/vacancy/
   availability across every resource card type), admin diagnostics (Logs/
   Logins/Searches), and the resource-count chips (Businesses/Properties/
   Stores/Products/Services on person/business cards, Rooms/Bookings on
   hospitality properties) all render through this one soft/glassy chip now
   instead of a grab-bag of hardcoded solid colors that fought the theme and
   didn't match each other. Tinted with rgba(var(--text-rgb), X) rather than
   --glass-bg - --glass-bg's dark-mode value is nearly identical to
   --surface-color (the card background these chips sit on), so it visually
   disappeared there; a text-color tint is guaranteed to contrast against
   the surface in both themes since that's exactly what text-color is
   chosen for. Every chip in here is a <span>, deliberately, even the
   clickable ones (.get-btn's click handler is bound by class, not tag) -
   a real <button> keeps native platform chrome (background/border) unless
   explicitly reset with appearance:none, which was fighting this chip's
   own background and reading as a disabled gray button in light mode. */
.item-meta span {
  display: inline-flex;
  align-items: center;
  font-size: 0.75em;
  line-height: 1.4;
  padding: 0.2em 0.65em;
  margin: 0;
  border-radius: 1em;
  text-transform: capitalize;
  /* Light mode needs a stronger tint than dark mode at the same alpha -
     darkening a white surface by a few percent reads as washed-out/
     disabled, while lightening a dark surface by the same amount already
     pops as a clear "glassy chip" (see html.dark-mode override below,
     which restores the original, already-correct dark-mode values). */
  background: rgba(var(--text-rgb), 0.16);
  border: 1px solid rgba(var(--text-rgb), 0.34);
  color: var(--text-strong-color);
}

.item-meta .get-btn {
  cursor: pointer;
  transition: background-color 0.15s ease-in-out;
}

.item-meta .get-btn:hover {
  background: rgba(var(--text-rgb), 0.26);
  border-color: rgba(var(--text-rgb), 0.44);
}

html.dark-mode .item-meta span {
  background: rgba(var(--text-rgb), 0.08);
  border-color: rgba(var(--text-rgb), 0.16);
}

html.dark-mode .item-meta .get-btn:hover {
  background: rgba(var(--text-rgb), 0.16);
  border-color: rgba(var(--text-rgb), 0.26);
}

/* Semantic status pills - soft tinted variants of the same chip shape,
   reusing the --badge-ok/--badge-warn tokens (.dash-badge's pair) so
   Published/Draft stay meaningfully distinct in color, not just text. */
.item-meta .published {
  background: var(--badge-ok-bg);
  color: var(--badge-ok-fg);
  border-color: transparent;
}

.item-meta .draft {
  background: var(--badge-warn-bg);
  color: var(--badge-warn-fg);
  border-color: transparent;
}

#manage-list .btn-options-wrap {
  display: flex;
  justify-content: end;
  align-items: center;
  padding: 0;
}

#manage-list .title {
  font-size: 1em;
  min-height: 2em;
  padding: 0 !important;
}

#manage-list .body {
  /* border-left: 1px solid var(--border-color); */
  padding: 0.3em !important;
}

#manage-list > .tab {
  /* border-bottom: 1px solid var(--border-color); */
  margin-bottom: 1.5rem !important;
  background-color: var(--surface-color);
  /* border: 1px solid var(--border-color); */
  border-radius: 0.3em !important;
  padding: 0.3em !important;
  min-width: 100%;
  /* transition: all 1s ease-in-out; */
}

#manage-list > .tab:first-child {
  /* border: 1px solid var(--border-color) !important; */
}

#manage-list > .tab:last-child {
  /* border-bottom: none; */
}

#manage-list .img {
  display: flex;
  justify-content: center;
  align-items: start;
  overflow: hidden;
  flex-shrink: 0;
  padding: 0;
}

#manage-list .img,
#manage-list .avatar {
  min-width: 100%;
  max-width: 100px;
  height: 120px;
  max-height: 120px;
}

#manage-list .img img {
  /* margin: .3em; */
  border-radius: 0.3em;
}

#manage-list .log-list {
  display: none;
}

#manage-list .log-list.show {
  display: block;
}

/* Near Me Lists */

#my-community {
  border-radius: 0.3em;
  margin-bottom: 1.5em;
  overflow: hidden;
  border: 1px solid var(--primary-color);
}

#my-community .title {
  font-weight: 600;
  text-align: center;
  padding: 0.3em 0;
  background: var(--primary-color);
  color: var(--text-on-brand);
}

#my-community .caption {
  padding: 1em 0.3em;
  font-size: 0.8em;
  margin: 0 !important;
}

/* #near-me-list is a plain, transparent layout wrapper - it carries no
   visuals of its own. Every item inside it (whichever markup shape built
   it - see below) is its own isolated glass card instead. */
#near-me-list {
  font-size: 0.85rem;
  padding: 0;
  background: transparent;
  align-self: flex-start !important;
}

/* Whatever wraps #near-me-list directly (a Bootstrap column, the
   .side-menu-screen glass-card wrapper, etc. - the exact class varies
   per view) shouldn't carry its own card framing anymore now that each
   individual near-me item is its own isolated glass card - a second layer
   of background/border/padding around the whole list just crowds it
   against the page edge and reads as a card nested inside a card.
   :has() covers every wrapper across every page this list appears on
   without having to hunt down and edit each view file individually. */
*:has(> #near-me-list) {
  background: transparent;
  border: none;
  padding-top: 0 !important;
  padding-right: 0 !important;
  padding-left: 3em !important;
}

.featured-listing,
.most-popular,
.featured-listing {
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

.most-popular .title .card-message-btn,
.near-me .title .card-message-btn {
  flex-shrink: 0;
  padding: 0 0 0 0.5em;
  color: var(--text-muted-color);
  font-size: 1em;
  line-height: 1;
}

.most-popular .title .card-message-btn:hover,
.near-me .title .card-message-btn:hover {
  color: var(--primary-color);
}

.listing-near-me .avatar,
.featured-listing .avatar,
.new-listing .avatar,
.most-popular .avatar,
.featured-listing .avatar {
  min-height: 100%;
}

#near-me-list .avatar {
  min-height: 100%;
}

.listing-near-me .avatar i,
.featured-listing .avatar i,
.new-listing .avatar i,
.most-popular .avatar i,
.featured-listing .avatar i {
  font-size: 3em;
}

#near-me-list .avatar i {
  font-size: 2em;
  color: var(--text-muted-color);
}

/* Isolated glass card per item. Two different markup shapes render into
   #near-me-list across the site - <section> from Component::tab() (used by
   Component::near_me(), ~104 pages) and <div class="near-me"> from the
   Card near-me methods (the index.php listing sidebars) - both get the
   same treatment here so the widget is consistent everywhere it shows up,
   regardless of which builder produced it. */
#near-me-list > section,
#near-me-list > .near-me {
  min-width: 100%;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: 0.75rem;
  box-shadow: 0 2px 14px rgba(var(--shadow-rgb), 0.055);
  padding: 0.5em 0.6em;
  margin: 0 0 0.6em 0 !important;
  overflow: hidden;
}
#near-me-list > section:last-child,
#near-me-list > .near-me:last-child {
  margin-bottom: 0 !important;
}

.most-popular,
.featured-listing {
  min-width: 100%;
  flex-wrap: nowrap;
  margin: 1em 0;
  border-radius: 0.3em;
}

#near-me-list .row {
  min-width: 100%;
  flex-wrap: nowrap;
  margin: 0;
}

.listing-near-me .img,
.featured-listing .img,
.new-listing .img,
.most-popular .img,
.featured-listing .img {
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  flex-shrink: 0;
  padding: 0;
  max-height: 120px;
}

#near-me-list .img {
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  flex-shrink: 0;
  padding: 0;
  max-height: 72px;
}

.listing-near-me .img img,
.featured-listing .img img,
.new-listing .img img,
.most-popular .img img,
.featured-listing .img img {
  margin: 0;
  border-radius: 0.3em;
  height: 100%;
  width: 100%;
}

#near-me-list .img img {
  margin: 0;
  border-radius: 0.5em;
  height: 100%;
  width: 100%;
}

#near-me-list .img i {
  font-size: 2em;
  color: var(--text-muted-color);
}

#near-me-list .list-unstyled {
  margin: 0;
  padding: 0;
  padding-left: 1em;
}

#near-me-list .body {
  position: relative;
  padding: 0 0 0 0.5em !important;
}

#near-me-list .body > .title,
#near-me-list .body > div {
  width: 100%;
  padding: 0.12em 0;
}

#near-me-list .body > .title {
  font-size: 0.92em;
  font-weight: 500;
  margin-bottom: 0;
  position: relative;
}

#near-me-list .count-wrap {
  margin: 0;
  padding: 0;
}

#near-me-list .detail {
  font-size: 0.75em;
  line-height: 1.4;
  padding: 0;
  color: var(--text-muted-color);
}

#near-me-list .body > .posted-on {
  font-size: 0.75em;
  line-height: 1.3;
}

#manage-list .person .img,
#manage-list .person .avatar #manage-list .business .img,
#manage-list .business .avatar {
  border-radius: 50% !important;
}

#manage-list .img img {
  border-radius: 0 !important;
  width: 100%;
  height: 100%;
}

#manage-list .avatar {
  border: 1px solid var(--border-color);
}
#manage-list .avatar i {
  font-size: 1.5rem !important;
}

#manage-list .img i {
  font-size: 3em;
  color: var(--text-muted-color);
}

.display-5.title {
  font-size: 1.5rem;
  font-weight: 400;
}

.display-6.title {
  font-size: 1.5rem;
  font-weight: 300 !important;
}

.body > .title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.title .col-2 {
  display: flex;
  justify-content: end;
  align-items: center;
}

.body .title {
  padding: 0 !important;
  margin: 0 !important;
}

.body .title a {
  min-height: 100%;
  /* width: -moz-fit-content; */
  /* width: fit-content; */
  display: flex;
  justify-content: start;
  align-items: center;
}

.title a:hover {
  text-decoration: underline !important;
  border: none !important;
}

.title .btn-options {
  height: 100%;
  display: flex;
  outline: none;
  border: none;
  background: transparent;
  justify-content: center;
  align-items: center;
  color: inherit !important;
}

.title .btn-options i {
  font-size: 1.5em;
}

#manage-list .posted-on {
  font-size: 0.85em;
  line-height: 1;
  padding: 0.3em 0;
}

#manage-list .count-wrap {
  font-size: 1rem;
  padding: 0 !important;
  margin: 0;
  height: 1.5em;
}

#manage-list .count-wrap span,
#manage-list .count-wrap i {
  color: rgba(var(--text-rgb), 0.5);
}

#manage-list .body > .detail {
  font-size: 0.8em;
  line-height: 1.5;
  padding: 0 0.3em;
}

.list .btn-options-wrap {
  /* display: none !important; */
}

.btn-options-wrap {
  padding: 0.3em 0;
  display: flex;
  justify-content: end;
  align-items: center;
  position: relative;
}

.btn-options-wrap.show {
  display: flex;
}

.btn-options-wrap .buttons {
  position: absolute;
  top: 110%;
  right: 0;
  font-size: 0.9em;
  display: none;
  flex-flow: column;
  justify-content: center;
  align-items: center;
  padding: 2px;
  margin: 0;
  z-index: 100;
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  list-style-type: none;
}

.buttons.show {
  display: block !important;
  min-width: -webkit-fill-available !important;
  min-width: -moz-fit-content !important;
  width: -moz-fit-content !important;
  min-width: fit-content !important;
  width: fit-content !important;
}

.buttons li {
  display: flex;
  align-items: center;
  justify-content: start;
  width: 100%;
  height: 25px;
  cursor: pointer;
  padding: 0.1em 1em;
  border-bottom: 1px solid var(--border-color);
}

.buttons li .icon,
.buttons li .detail {
  display: flex;
  align-items: center;
  font-size: 0.85rem;
}

.buttons li .icon {
  justify-content: center;
  width: 25px;
  height: 25px;
}

.buttons li .detail {
  justify-content: start;
  font-weight: 400;
  white-space: nowrap;
}

.buttons li .icon i {
  font-size: 0.7rem;
  top: 2px;
  left: 3px;
}

.buttons li:first-child {
  margin-top: 0;
}

.buttons li:last-child {
  margin-bottom: 0;
  border-bottom: none;
}

.buttons li:hover {
  background-color: rgba(var(--shadow-rgb), 0.01);
}

.buttons li > i {
  font-size: 1em;
  display: inline-block;
  width: 15px;
  margin-right: 0.5em;
}

#manage-list > .img {
  width: 10em;
  height: 10em;
  overflow: hidden;
  flex-shrink: 0;
}

#manage-list > .img img {
  width: 100%;
  height: 100%;
}

#manage-list > .body,
#manage-list > .quantity {
  position: relative;
  width: 100%;
  display: flex;
  flex-flow: column nowrap;
}

#manage-list > .body > div,
#manage-list > .quantity > div {
  width: 100%;
  padding: 0 0.3em;
}

#edit-wrap form {
  width: 90%;
}

form .caption {
  text-align: center;
  color: var(--text-muted-color);
}

/* Dash fancies */
.watermark-icon {
  position: absolute;
  left: 1rem;
  font-size: 3rem;
  top: 1.5rem;
  color: var(--text-on-brand);
  opacity: 0.1;
}

.watermark-icon.darker {
  color: var(--text-muted-color) !important;
}

.bg-1 {
  background: linear-gradient(45deg, #eb99a1, #b34cdb, #6c75cd, #57c6d1);
}

.bg-2 {
  background: linear-gradient(45deg, #5fd1c1, #358cd7, #5e76dd, #264fe5);
}

.bg-3 {
  background: linear-gradient(45deg, #5f9cd1, #5f9cd1, #5f6ad1, #8095e1);
}

.bg-1 *,
.bg-2 *,
.bg-3 * {
  color: var(--text-on-brand) !important;
}

/* Posted By Tab */
.posted-by {
  border-top: 1px solid var(--border-color);
}

.posted-by .img img {
  height: 3em !important;
  width: 3em !important;
  border-radius: 50% !important;
}

.title {
  font-weight: 600;
  position: relative;
}

.section-title {
  font-weight: 600;
  font-size: 1.2rem;
}

.add-comment {
  border-radius: 0.3em;
  width: 100%;
  overflow: hidden;
}

.add-comment > .inline-flex {
  width: 100%;
}

.add-comment > #star-rating {
  font-size: 1rem;
  padding: 0.3em 0;
}

.add-comment > .inline-flex > .wrap {
  width: 95%;
}

.add-comment > .inline-flex > .btns {
  width: 20px;
}

.add-comment button {
  font-size: 1.2em;
  background-color: transparent;
}

.add-comment > .wrap {
  min-width: 85%;
}

.add-comment .wrap textarea {
  min-height: 3em !important;
  min-width: 100%;
  font-size: 1em !important;
}

.add-comment button:hover {
  background-color: transparent;
}

#comment-btn {
  cursor: pointer;
}

.wrap > .dp {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 3em;
  padding: 0.3em;
}

.wrap > .dp i {
  font-size: 1.5em;
  color: rgba(var(--text-rgb), 0.1);
}

.wrap > .dp img {
  height: 100%;
  width: 100%;
  margin: 0.3em;
  border-radius: 50%;
}

#reviews-section,
#comments-section {
  position: relative;
  border: 0;
  min-width: 100%;
  scrollbar-width: thin;
}

#reviews-section .replies,
#comments-section .replies {
  min-width: 100%;
}

/* Comment / reply cards - single source of truth (previously two competing
   rulesets fought over radius/border; this one wins now by simply being the
   only one). */
#comments-section .comment,
#comments-section .reply,
#reviews-section .review {
  border-radius: 1em;
  border: 0;
  padding: 0.6em 0.8em;
  margin-bottom: 0.75em;
  background-color: var(--surface-alt-color);
}

#comments-section .reply {
  background-color: var(--reply-bg);
  margin: 0.5em 0 0 2.2em;
  border-left: 2px solid var(--border-color);
}

#comments-section .comment .comment-head,
#comments-section .reply .comment-head,
#reviews-section .review .comment-head {
  gap: 0.5em;
}

#comments-section .comment .comment-head > .img,
#comments-section .comment .comment-head > .avatar,
#reviews-section .review .comment-head > .img,
#reviews-section .review .comment-head > .avatar {
  width: 2.2em;
  height: 2.2em;
  min-width: 2.2em;
  border-radius: 50%;
  overflow: hidden;
}

#comments-section .reply .comment-head > .img,
#comments-section .reply .comment-head > .avatar {
  width: 1.8em;
  height: 1.8em;
  min-width: 1.8em;
  border-radius: 50%;
  overflow: hidden;
}

#comments-section .comment-head .img img,
#reviews-section .comment-head .img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#comments-section .comment-head .avatar i,
#reviews-section .comment-head .avatar i {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4em;
  background: var(--btn-hover-bg);
}

#comments-section .who .name,
#reviews-section .who .name {
  font-weight: 600;
  color: var(--text-strong-color);
}

#comments-section .who .dot,
#reviews-section .who .dot {
  margin: 0 0.3em;
  color: var(--text-color);
}

#comments-section .who .time,
#reviews-section .who .time {
  font-size: 0.75em;
  color: var(--text-color);
}

#comments-section .occupation,
#reviews-section .occupation {
  font-size: 0.75em;
  color: var(--text-color);
}

#reviews-section .review-rating {
  margin-top: 0.2em;
  font-size: 0.8em;
}

#comments-section .comment .body,
#comments-section .reply .body,
#reviews-section .review .body {
  font-size: 0.85em;
  margin: 0.4em 0;
}

#comments-section .comment-actions,
#reviews-section .comment-actions {
  display: flex;
  align-items: center;
  gap: 1em;
}

#comments-section .comment-actions .btn-icon,
#comments-section .comment-actions .btn-text,
#reviews-section .comment-actions .btn-icon,
#reviews-section .comment-actions .btn-text {
  background: transparent;
  border: 0;
  padding: 0.15em 0.4em;
  border-radius: 0.3em;
  font-size: 0.8em;
  color: var(--text-color);
  transition: background 0.2s;
}

#comments-section .comment-actions .btn-icon:hover,
#comments-section .comment-actions .btn-text:hover,
#reviews-section .comment-actions .btn-icon:hover,
#reviews-section .comment-actions .btn-text:hover {
  background: var(--btn-hover-bg);
}

#comments-section .like-btn.liked,
#comments-section .like-btn.liked i {
  color: var(--primary-color);
}

#comments-section .view-replies-btn {
  color: var(--primary-color);
  font-weight: 500;
  background: transparent;
  border: 0;
  font-size: 0.8em;
  padding: 0.2em 0;
  margin-top: 0.3em;
}

#comments-section .load-more-comments,
#reviews-section .load-more-reviews {
  background: transparent;
  border: 0;
  color: var(--primary-color);
  font-weight: 500;
  font-size: 0.85em;
  padding: 0.5em 0;
}

/* Likes/Views/Followers modal rows - same card treatment and type scale as
   the comment/review cards above (.detail/.occupation previously had no
   scoped rule here, so they fell back to the generic .occupation style -
   0.85em warning-orange - instead of matching the comments/reviews look). */
#likes-section .like,
#views-section .view,
#followers-section .follower {
  border-radius: 1em;
  border: 0;
  padding: 0.6em 0.8em;
  margin-bottom: 0.75em;
  background-color: var(--surface-alt-color);
}

#likes-section .detail,
#views-section .detail,
#followers-section .detail {
  font-weight: 600;
  color: var(--text-strong-color);
}

#likes-section .occupation,
#views-section .occupation,
#followers-section .occupation {
  font-size: 0.75em;
  color: var(--text-color);
}

/* Add-comment / reply / review composer */
#comments-section .comment-composer,
#reviews-section .comment-composer {
  display: flex;
  align-items: flex-start;
  gap: 0.6em;
  margin-bottom: 0.5em;
}

#comments-section .comment-composer .avatar,
#comments-section .comment-composer .img,
#reviews-section .comment-composer .avatar,
#reviews-section .comment-composer .img {
  width: 2.2em;
  height: 2.2em;
  min-width: 2.2em;
  border-radius: 50%;
  overflow: hidden;
}

#comments-section .reply-composer-wrapper .comment-composer .avatar,
#comments-section .reply-composer-wrapper .comment-composer .img {
  width: 1.8em;
  height: 1.8em;
  min-width: 1.8em;
}

#comments-section .comment-composer .avatar img,
#comments-section .comment-composer .img img,
#reviews-section .comment-composer .avatar img,
#reviews-section .comment-composer .img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#comments-section .comment-composer .avatar i,
#reviews-section .comment-composer .avatar i {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2em;
  background: var(--btn-hover-bg);
}

#reviews-section .composer-stars {
  margin-bottom: 0.3em;
  font-size: 0.9em;
}

#comments-section .composer-input-wrap,
#reviews-section .composer-input-wrap {
  position: relative;
}

#comments-section .composer-textarea,
#reviews-section .composer-textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--border-color);
  background: transparent;
  resize: none;
  overflow: hidden;
  font-size: 0.9em;
  padding: 0.3em 0.1em;
  transition: border-color 0.2s;
}

#comments-section .composer-textarea:focus,
#reviews-section .composer-textarea:focus {
  outline: none;
  border-bottom: 2px solid var(--input-focus-color);
}

#comments-section .composer-actions,
#reviews-section .composer-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 0.6em;
  margin-top: 0.4em;
}

#comments-section .btn-pill,
#reviews-section .btn-pill {
  display: inline-block;
  width: auto;
  flex: 0 0 auto;
  border-radius: 1rem;
  border: 0;
  padding: 0.3em 1.1em;
  font-size: 0.85em;
  background: var(--primary-color);
  color: var(--text-on-brand);
  transition: background 0.2s;
}

#comments-section .btn-pill:disabled,
#reviews-section .btn-pill:disabled {
  background: var(--btn-hover-bg);
  color: var(--text-color);
  cursor: not-allowed;
}

#comments-section .composer-cancel,
#reviews-section .composer-cancel {
  display: inline-block;
  width: auto;
  flex: 0 0 auto;
  background: transparent;
  border: 0;
  font-size: 0.85em;
  color: var(--text-color);
  padding: 0.3em 0.6em;
  border-radius: 0.3em;
}

#comments-section .composer-cancel:hover,
#reviews-section .composer-cancel:hover {
  background: var(--btn-hover-bg);
}

#comments-section .img,
#reviews-section .img {
  height: 70px;
  width: 70px;
  border-radius: 50%;
  margin: 0 auto;
  border: 3px solid var(--border-color);
}

#reviews-section .reviews,
#comments-section .comments {
  border: 0;
  min-width: 100%;
  overflow-y: auto;
  scrollbar-width: thin;
}

#reviews-section .add-review,
#comments-section .add-comment {
  position: relative;
}

#modal #comments-section,
#modal #likes-section,
#modal #views-section,
#modal #followers-section,
#modal #reviews-section {
  padding: 0;
}

#modal #likes-section,
#modal #views-section,
#modal #followers-section {
  width: 100%;
  margin: auto;
}

#reviews-section.show,
#comments-section.show {
  display: block;
}

.comment,
.view,
.like,
.follower,
.review {
  margin: 0 0 1em 0;
}

.comment .hide {
  display: none !important;
}

.staff-container {
  display: flex;
  flex-flow: row wrap;
  justify-content: flex-start;
  align-items: center;
  padding: 0;
}

.staff-container .tab {
  display: flex;
  flex-flow: column nowrap;
  overflow: hidden;
  justify-content: flex-start;
  align-items: center;
  height: 12em;
  width: 9em;
  margin: 0 1em 1em 0;
  border-radius: 0.3em;
}

.staff-container .tab .img {
  height: 9em;
  width: 100%;
  position: relative;
  border-radius: 0.3em;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.staff-container .tab .img i {
  color: rgba(var(--text-rgb), 0.1);
  font-size: 3em;
}

.staff-container .tab .img > img {
  height: 100%;
  width: 100%;
}

.staff-container .tab .title > a:link {
  color: var(--link-color);
  font-size: 0.8em;
  padding: 0.3em;
  text-decoration: none;
}

.staff-container .tab .title > a:hover {
  color: var(--link-color);
  text-decoration: underline;
}

.staff-container .tab .title > a:visited {
  color: var(--link-color);
}

.staff-container .tab .title > a:active {
  color: var(--link-color);
}

.staff-container .tab .body {
  width: 100%;
  height: 100%;
}

.staff-position {
  font-size: 0.7em;
  padding: 0.3em;
}

.count-wrap {
  display: flex;
  flex-flow: row nowrap;
  justify-content: flex-start;
  align-items: center;
  color: rgba(var(--text-rgb), 0.5);
  font-size: 0.8rem;
  margin: 0;
  padding: 0;
}

.count-wrap > .row {
  flex-wrap: nowrap;
  overflow-x: scroll;
  scrollbar-width: none;
}

.count-wrap .col-auto {
  padding: 0 !important;
  margin-left: 0.3em;
}

.count-wrap .col-auto:first-child {
  margin: 0 !important;
}

.count-wrap .count {
  font-weight: 600;
  margin-right: 0.3rem;
  color: var(--text-strong-color);
  position: relative;
}

.count-wrap button {
  border: none;
  outline: none;
  background: transparent;
  margin: 0;
  cursor: pointer;
  line-height: 1;
  border-radius: 0.3em;
  padding: 0.3em;
}

.count-wrap button:hover {
  background-color: var(--btn-hover-bg);
}

.count-wrap > span {
  display: flex;
  flex-flow: row nowrap;
  justify-content: flex-start;
  align-items: center;
  margin-right: 1em;
  font-weight: 400;
}

.count-wrap > span i {
  display: inline-block;
  margin-right: 0.3em;
}

.like-count {
  font-size: 1em !important;
  margin-right: 0.3em !important;
}

.like-btn {
  cursor: pointer;
}

.signin-btn {
  padding: 0.3em 1em;
  margin: 1em 0;
  border-radius: 0.3em;
  color: var(--text-on-brand);
  cursor: pointer;
}

.signin-btn i {
  color: var(--text-on-brand);
  margin-right: 0.3em;
}

.cs-btn,
.x-btn {
  display: flex;
  flex-flow: row nowrap;
  justify-content: center;
  align-items: center;
  border: 1px solid rgba(var(--shadow-rgb), 0.1);
  padding: 0 0.3em;
  border-radius: 0.3em;
  margin-right: 1em;
  cursor: pointer;
  line-height: 0.5;
  height: 1.7em;
  background-color: rgba(var(--info-color-rgb), 0.1);
  color: rgba(var(--text-rgb), 0.6);
  font-size: 0.8em;
  text-decoration: none;
}

.cs-btn:hover,
.x-btn:hover {
  text-decoration: none;
  color: var(--text-strong-color);
  background-color: rgba(var(--info-color-rgb), 0.3);
}

.cs-btn i,
.x-btn i {
  font-size: 0.85em;
  display: inline-block;
  margin-right: 0.5em;
}

#inline-feeback.show {
  display: block;
}

#dialog-form.show {
  display: block;
}

/*Customized Bootstrap*/
.btn-primary,
.btn-primary:focus,
.btn-primary:active {
  background-color: var(--btn-primary-dark) !important;
  background-image: var(--btn-primary-gradient) !important;
  border: none;
  border-radius: 1rem; /* soft theme - pill shape, matches .btn-pill */
}

.btn-primary:hover {
  filter: brightness(1.12);
}

.btn-primary:disabled {
  background-image: none !important;
}

/*Dope Slider*/

/*
	.slider-container{
		display: flex;
		justify-content: center;
		align-items: center;
		height: 100%;
		overflow: hidden;
	}

	.slider-wrapper{
		width: 600px;
		height: 100%;
		overflow: hidden;
	}

	.inner-wrapper{
		position: relative;
		width: 500%;
		height: 100%;
		left: -100%;
	}

	.inner-wrapper.left{
		left: -100%;
	}

	.slide{
		width: calc(100% / 5);
		height: 100%;
		float: left;
		font-size: 100px;
		color: black;
		display: flex;
		justify-content: center;
		align-items: center;
	}

	.slide img{
		height: 100%;
		width: 100%;
	}

	.button{
		display: flex;
		justify-content: center;
		align-items: center;
		width: 20px;
		height: 20px;
		position: absolute;
		cursor: pointer;
		border-radius: 50%;
		background-color: var(--surface-color);
	}

	.prev i, .next i{
		font-size: 1.5em;
	}

	.prev{
		left: 2%;
	}

	.next{
		right: 2%;	
	} */

/*Style Ads and Feeds Results Area*/
#div-billboards {
  position: relative;
  box-sizing: border-box;
  display: none;
  overflow: hidden;
  width: 100%;
  max-height: 15rem;
  margin-bottom: 1em;
}

#div-billboards.show {
  display: block;
}

#div-billboards img:first-child {
  margin-top: 0em;
}

.billboard-title a:link,
.billboard-link a:link {
  display: block;
  width: 100%;
  height: 100%;
  line-height: 2.1;
  text-decoration: none;
  color: var(--text-on-brand);
}

.billboard-title a:visited,
.billboard-link a:visited {
  color: var(--text-on-brand);
}

.billboard-title a:active,
.billboard-link a:active {
  color: var(--text-on-brand);
}

#div-billboards video {
  display: block;
  height: 100%;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
}

#div-billboards img {
  height: 100%;
  width: 100%;
}

#div-billboards audio {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  margin: 0;
  display: none;
}

.carousel,
.carousel-inner,
.carousel-item {
  height: 100%;
  width: 100%;
}

.carousel-indicators {
  z-index: 1;
  position: absolute;
  bottom: 1rem;
}

.carousel-indicators li {
  background: var(--surface-color);
  height: 10px;
  width: 10px;
  margin: 0 1em;
  border-radius: 50%;
}

.carousel-caption h5 {
  color: var(--text-on-brand);
  margin: 0.3em;
}

#div-ad-wrap {
  display: flex;
  flex-flow: column nowrap;
  justify-content: space-between;
}

#div-links,
#div-adverts {
  box-sizing: border-box;
  width: 100%;
  overflow: hidden;
  min-height: 0px;
  display: none;
  padding: 0;
  flex: 1 0 auto;
  align-self: stretch;
}

#div-links.show,
#div-adverts.show {
  display: block;
}

#div-adverts {
  margin-left: 0;
}

/* CRUD Forms */
.js-manage-form .img {
  /* width: 120px; */
  width: auto;
  height: 120px;
  margin: 0 !important;
}

/*Link Tabs*/
.div-links {
  overflow: hidden;
  border-radius: 0.7em;
  box-shadow: 1px 1px 2px rgba(var(--shadow-rgb), 0.1);
  margin-bottom: 1em;
  background: var(--surface-color);
}

.link-url {
  font-size: 0.8em;
  font-weight: 600;
  padding: 0.3em;
}

.link-posted-on {
  font-size: 0.8em;
  color: rgba(var(--text-rgb), 0.5);
  line-height: 1.2;
  padding: 0.3em;
}

.link-img {
  height: 10em;
  overflow: hidden;
}

.link-category {
  padding: 0.3em;
  font-size: smaller;
}

.link-img img {
  width: 100%;
  height: 100%;
}

.link-detail {
  font-size: 0.9em;
  padding: 0.3em;
}

.link-lpage {
  font-size: 0.8em;
  padding: 0.3em;
}

/*Market Item Tabs display Related Products*/
.item-card-wrapper {
  display: flex;
  align-items: stretch;
  flex-flow: row nowrap;
  overflow-x: scroll;
  scrollbar-width: none;
  overflow-y: hidden;
  margin: 0.3em 0;
  max-height: 235px;
  position: relative;
  justify-content: flex-start;
}

.related-wrap {
  display: flex;
  flex-flow: column nowrap;
  justify-content: center;
  align-items: center;
  overflow-y: scroll;
  scrollbar-width: none;
  overflow-y: hidden;
  margin: 0.3em 0;
  position: relative;
  padding: 0.1em;
  box-sizing: border-box;
  width: 100%;
}

.item-card-wrapper::-webkit-scrollbar {
  width: 0px;
  display: none;
}

.item-card-wrapper .item-card,
.item-card-wrapper .inline-container {
  flex-shrink: 0;
  border: 1px solid rgba(var(--shadow-rgb), 0.1);
  background-color: var(--surface-color);
  display: inline-block;
  height: 100%;
  font-size: 1rem;
  margin: 0 5px 0 0;
  overflow: hidden;
}

.item-card-wrapper .item-card {
  position: relative;
  width: 8em;
  height: auto;
  border-radius: 0.5em;
  left: 0;
  transition: left 7s ease-in-out;
}

.related-wrap > div {
  width: 100%;
}

.related-wrap .related-card {
  position: relative;
  margin-bottom: 1em;
}

.related-card > .img-wrap {
  height: 10em;
  width: 10em;
  overflow: hidden;
  margin: 0;
  padding: 0.5em;
}

.related-card > .img-wrap > img {
  height: 100%;
  width: 100%;
  border-radius: 0.3em;
}

.related-card > .title {
  font-size: 0.9em;
}

.item-card-wrapper .inline-container {
  width: 18em;
}

.item-card-wrapper .item-card:hover,
.item-card-wrapper .inline-container:hover {
  box-shadow: 1px 2px 3px #f6f6f6;
}

.item-card-wrapper .item-card a,
.item-card-wrapper .inline-container a {
  text-decoration: none;
}

.item-card-wrapper .item-card span,
.item-card-wrapper .inline-container span {
  display: block;
  padding: 0.1em;
}

.item-card-wrapper .item-card-img {
  position: relative;
  width: 15em;
  height: 10em;
}

.item-card-wrapper .item-card img,
.item-card-wrapper .inline-container img {
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.item-card-wrapper .item-card-img-overlay {
  padding: 5px;
  background-color: var(--tooltip-bg);
  opacity: 0.9;
  height: 70%;
  margin-top: 25%;
}

.item-card-wrapper .item-card-title {
  display: block;
  font-size: 0.65rem;
  font-weight: 500;
}

.item-card-wrapper .item-card-price {
  display: block;
  font-size: 0.5rem;
  color: var(--accent-orange);
}

.item-card-wrapper .saved-amount {
  position: absolute;
  top: 1em;
  left: 0;
  color: var(--text-on-brand);
  background: rgba(255, 0, 0, 0.7);
  padding: 0.3em;
}

#item-related-column .prev-wrap,
#item-related-column .next-wrap {
  display: inline-block;
  position: absolute;
  top: 70%;
  transform: translateY(-50%);
  padding: 0.5em;
  border-radius: 50%;
  width: 2em;
  height: 2em;
  text-align: center;
  color: var(--text-on-brand);
  background-color: rgba(var(--shadow-rgb), 0.7);
  line-height: 1.1;
  cursor: pointer;
}

#item-related-column .prev-wrap {
  left: 0;
}

#item-related-column .next-wrap {
  right: 0;
}

.inline-container .div-ads,
.inline-container .div-feeds {
  position: relative;
  font-size: 0.7rem;
  width: 100%;
  text-align: left;
  color: var(--text-muted-color);
  text-decoration: none;
  overflow: hidden;
  background-color: var(--surface-color);
}

.item-card .div-img {
  height: 5rem;
  width: 5rem;
  position: relative;
  overflow: hidden;
  float: left;
}

.item-card .div-img img {
  height: 100%;
  width: 100%;
}

.item-card .div-body {
  height: 5rem;
  width: 11rem;
  overflow: hidden;
  float: left;
  padding: 0.3rem;
  position: relative;
}

.adverts .no-match,
.links .no-match {
  font-size: 0.8rem !important;
  flex-flow: column nowrap !important;
}

.no-match img {
  height: 6em !important;
  width: 100%;
  margin: 0;
}

.adverts .div-ads,
.links .div-feeds {
  display: flex;
  flex-flow: column nowrap;
  align-items: stretch;
  position: relative;
  margin-bottom: 1em;
  font-size: 0.8rem;
  border: 1px solid var(--border-color);
  border-radius: 0.7em;
  text-align: left;
  color: var(--text-muted-color);
  text-decoration: none;
  overflow: hidden;
  background-color: var(--surface-color);
  height: auto;
  min-width: 100%;
}

.adverts .div-ads.no-match,
.links .div-feeds.no-match {
  background: linear-gradient(45deg, #b6e2fd, #75dbdb);
  padding: 0.3em;
  border: none !important;
}

.adverts .div-ads.no-match .img,
.links .div-feeds.no-match .img {
  padding: 0;
}

.adverts .div-ads.no-match .body,
.links .div-feeds.no-match .body {
  padding: 0.3em !important;
  border-radius: 0.3em;
  background: var(--surface-color);
}

.adverts .div-ads .title,
.links .div-feeds .title {
  margin-top: 0;
  margin-bottom: 0.3em;
  padding: 0.3em;
}

.adverts .div-ads p,
.links .div-feeds p {
  margin-top: 0;
  margin-bottom: 0.3em;
  padding: 0.3em;
}

.adverts .img,
.links .img {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  margin: 0;
}

.adverts .img img,
.links .img img {
  height: 100%;
  width: 100%;
}

.adverts .body,
.links .body {
  font-size: 0.8em;
  height: auto;
  width: 100%;
  overflow: hidden;
  float: left;
  padding: 0.5em 0.3em;
  position: relative;
}

.div-ads a,
.div-feeds a {
  font-weight: 600;
  text-decoration: none;
  color: #7575c2;
}

.div-billb {
  text-align: center;
  font-size: 1rem;
  text-align: center;
  color: var(--text-muted-color);
  text-decoration: none;
  overflow: hidden;
}

/* ===================================================================
   Campaign column redesign - search page #adverts-column
   Card::campaign_billboard() / campaign_advert() / campaign_link(),
   filled by CampaignTrait::campaignPool(). Billboard is intentionally
   the biggest and most visual of the three (full-bleed image), advert
   is a small "magazine ad", link is just a link - per the size
   hierarchy a visitor already expects from those three ad formats.
   =================================================================== */

#div-billboards {
  max-height: 20rem;
}

/* Billboard - full-bleed cover, dark scrim so overlaid copy stays
   legible over any image (WCAG contrast), one unmistakable CTA
   (Fitts's law: a single big, high-contrast target beats several
   small competing ones). */
.campaign-billboard {
  position: relative;
  display: block;
  width: 100%;
  height: 20rem;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(var(--shadow-rgb), 0.16);
}

.campaign-billboard-media {
  display: block;
  width: 100%;
  height: 100%;
}

.campaign-billboard-media .img,
.campaign-billboard-media .avatar {
  width: 100%;
  height: 100%;
  margin: 0;
}

.campaign-billboard-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.campaign-billboard-body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 1.25rem 1.25rem 1.5rem;
  background: linear-gradient(
    180deg,
    rgba(var(--shadow-rgb), 0) 0%,
    rgba(var(--shadow-rgb), 0.35) 45%,
    rgba(var(--shadow-rgb), 0.82) 100%
  );
}

.campaign-billboard-title a {
  color: var(--text-on-brand);
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.25;
  text-decoration: none;
}

.campaign-billboard-copy {
  font-size: 0.85rem;
  color: rgba(var(--text-on-brand-rgb), 0.86);
  margin: 0.35rem 0 0.9rem;
  max-width: 34rem;
}

/* Advert - smaller "magazine ad": thumbnail + headline + one line of
   copy, same glass-card treatment already used across the site. */
.campaign-advert {
  display: flex;
  align-items: stretch;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: 1rem;
  box-shadow: 0 2px 14px rgba(var(--shadow-rgb), 0.065);
  overflow: hidden;
}

.campaign-advert-media {
  flex: 0 0 6.5rem;
  width: 6.5rem;
  position: relative;
}

.campaign-advert-media .img,
.campaign-advert-media .avatar {
  width: 100%;
  height: 100%;
  margin: 0;
}

.campaign-advert-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.campaign-advert-body {
  flex: 1 1 auto;
  min-width: 0;
  padding: 0.75rem 0.9rem;
}

.campaign-advert-title a {
  display: block;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--text-strong-color);
  text-decoration: none;
}

.campaign-advert-copy {
  font-size: 0.78rem;
  color: var(--text-muted-color);
  margin: 0.25rem 0 0.6rem;
}

/* Link - just a link: icon, title, source domain, minimal chrome. */
.campaign-link {
  position: relative;
  display: flex;
  flex-flow: column nowrap;
  align-items: flex-start;
  gap: 0.2rem;
  padding: 0.6rem 0.85rem;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: 0.85rem;
  margin-bottom: 0.6rem;
}

/* Standalone "Create Campaign" CTA - #adverts-column's 5th/last slot (see
   home/index.php). Reuses .campaign-link's card treatment, just centered
   instead of left-aligned since there's no title/copy to align, only a
   button. */
.campaign-create-cta {
  align-items: center;
  margin-bottom: 0;
}

.campaign-link-title {
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--brand-blue);
  text-decoration: none;
}

.campaign-link-title:hover {
  text-decoration: underline;
}

.campaign-link-domain {
  font-size: 0.72rem;
  color: var(--text-muted-color);
}

/* Shared: "Sponsored" disclosure badge + primary CTA. Labeling paid
   placements builds trust rather than eroding it - undisclosed native
   ads read as deceptive once spotted, which costs more engagement
   than the label ever does. House (Caineware) campaigns never get
   this badge - they're not a paid placement. */
.campaign-badge {
  display: inline-block;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 0.2rem 0.5rem;
  border-radius: 2rem;
  background: var(--glass-border);
  color: var(--text-muted-color);
  margin-bottom: 0.35rem;
}

.campaign-billboard .campaign-badge {
  position: absolute;
  top: 0.9rem;
  left: 0.9rem;
  z-index: 3;
  background: rgba(var(--shadow-rgb), 0.55);
  color: var(--text-on-brand);
  backdrop-filter: blur(4px);
}

.campaign-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.35rem 0.9rem;
  border-radius: 2rem;
  border: none;
  background: var(--primary-color);
  color: var(--text-on-brand);
  text-decoration: none;
  cursor: pointer;
  transition:
    filter 0.15s,
    transform 0.15s;
}

.campaign-cta:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
  color: var(--text-on-brand);
}

.campaign-billboard .campaign-cta {
  padding: 0.5rem 1.15rem;
  font-size: 0.85rem;
}

.campaign-link .campaign-cta {
  margin-top: 0.3rem;
}

.classified {
  display: block;
  font-size: 0.7rem;
  margin: 1px;
  color: var(--info-color);
}

.sub-category {
  display: block;
  margin: 1px;
  font-size: smaller;
}

.ad-title {
  display: block;
  margin: 1px;
  font-weight: 500;
}
.ad-address {
  display: block;
  margin: 1px;
}

#signup-feedback {
  color: var(--danger-color);
  display: none;
  font-weight: 500;
}

#signup-feedback.show {
  display: block;
}

#feed-subscribe-btn i,
#ad-subscribe-btn i {
  margin-right: 0.3em;
}

/*Reports Specific Styles */

.content-label {
  display: inline-block;
  color: var(--info-color);
  font-weight: 500;
  vertical-align: top;
  margin-right: 15px;
}

/*Style About Pages*/
#about-info {
  width: 80%;
  margin: 0 auto;
  padding: 20px;
}

#about-info li,
#packages-info li {
  margin: 3px 3px 3px 20px;
  text-indent: -10px;
}

.headers {
  background-color: var(--surface-alt-color);
  font-weight: 500;
  height: 30px;
}

.pics {
  width: 120px;
  float: left;
  margin: 1px;
}

.pics img {
  display: inline;
  width: 100px;
  height: 100px;
  margin: 1px;
}

/*Style Games Classes*/
.caineware-scheme {
  color: var(--info-color);
  font-weight: 500;
}

.game-button-start {
  border-radius: 50px;
  background-color: green;
  display: block;
  width: 50px;
  height: 25px;
  color: var(--text-on-brand);
  float: left;
  font-weight: 500;
  text-align: center;
  font-size: 1rem;
  text-decoration: none;
}

/*Style Links Classes*/
.no-decoration {
  text-decoration: none;
}

.caineware-links a {
  text-decoration: none;
  color: var(--text-strong-color);
}

.caineware-links a:hover {
  text-decoration: underline;
  color: var(--info-color);
}

.user-services {
  float: left;
  width: 75%;
  margin: 5px auto;
  padding: 5px;
}

.profile-rating img {
  display: block;
  height: 40px;
  width: 80%;
  margin: 0 auto;
}

/*Pagination Results*/
#results-nav {
  margin: 1em 0;
}

#results-nav .page-link:hover {
  background-color: var(--accent-orange);
  color: var(--text-on-brand);
}

.pagination .page-item {
  display: inline-block;
  height: 2em;
  width: 2em;
  margin: 0.1em;
}

.page-item .page-link {
  display: inline-block;
  background-color: var(--surface-color);
  height: 100%;
  width: 100%;
  border: 1px solid rgba(var(--shadow-rgb), 0.1);
  text-align: center;
  padding: 0.5em;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  color: rgba(var(--text-rgb), 0.5);
}

.page-item .page-link:hover {
  background-color: rgba(var(--primary-color-rgb), 0.15);
}

.page-item .active-page-nav {
  background-color: var(--btn-primary-dark);
  color: var(--text-on-brand);
}

/* ------------------------------------------------------------------------------------------------
									User Dashboard
	--------------------------------------------------------------------------------------------------*/
/*Dashboard*/
#dashboard {
  padding: 0;
  justify-content: center;
  /* 
		background-color: #e7e7e7; 
		background-color: var(--dashboard-bg);
		background: linear-gradient(90deg, #fff6f6, #f1f4ff);
		*/
}

#dashboard > .container-fluid {
  min-height: 100vh;
  padding: 0 !important;
}

/* Style Main Logo and Banner */
#dashboard #main-site-label {
  margin-bottom: 1em;
}

#dashboard #manage-screen {
  /* padding: 0 1em !important; */
  margin-top: 1em;
  /* height: calc(100vh - 50px); 
    	overflow-y: auto; */
}

#dashboard .nav {
  display: block;
  font-size: 0.8rem;
  margin: 0 !important;
  height: 100%;
  padding: 0 1em;
}

#dashboard .nav ul {
  background: var(--surface-alt-color);
  border-radius: 0.3em;
  padding: 1em;
  overflow: hidden;
}

#dashboard .nav .nav-link {
  position: relative;
  display: flex;
  flex-flow: column nowrap;
  justify-content: center;
  align-items: center;
  /* height: 4em; */
  min-width: 100%;
  /* line-height: 1.2; */
  text-decoration: none;
  padding: 0.3rem;
  margin-bottom: 0.3em;
  transition: all 0.3s ease-in-out;
  cursor: pointer;
}

#dashboard .nav .nav-link .icon {
  display: flex !important;
  justify-content: center;
  align-items: center;
  height: 25px;
  width: 20px;
}

#dashboard .nav .nav-link .label {
  display: none;
  justify-content: start;
  align-items: center;
  width: 100%;
  font-size: 0.85em;
  /* padding: 1em 0;
		text-align: center; */
}

#dashboard .nav .nav-link .icon i {
  font-size: 1.5rem;
}

#dashboard .nav .nav-link .badge {
  display: none;
  position: absolute;
  right: 0.5em;
  font-weight: 600;
  color: var(--text-strong-color) !important;
  width: -moz-fit-content;
  width: fit-content;
  background: var(--btn-hover-bg);
  /* background: #f8f8f8; */
  /* border: 1px solid var(--border-color); */
  border-radius: 0.3em;
  /* box-shadow: 1px 2px 3px rgba(var(--shadow-rgb), .1); */
}

#dashboard .nav .nav-link,
#dashboard .nav i {
  color: var(--text-color);
}

#dashboard .nav .nav-link:hover {
  background-color: rgba(var(--shadow-rgb), 0.1);
}

#dashboard .nav .active:hover {
  /*border-left: 3px solid rgb(244, 111, 0);*/
  background-color: rgba(var(--info-color-rgb), 0.08);
}

#xdashboard .nav .active:hover i {
  color: var(--text-on-brand) !important;
}

#dashboard .nav .active {
  background-color: var(--btn-primary-dark) !important;
  color: var(--text-on-brand) !important;
  border-radius: 0.3em !important;
}

#dashboard .nav .active * {
  color: var(--text-on-brand) !important;
}

#xdashboard .nav .active .icon i,
#xdashboard .nav .active .label {
  color: var(--text-on-brand) !important;
}

#dashboard .dashboard-header {
  background: var(--surface-color);
  box-shadow: 0 2px 8px rgba(var(--shadow-rgb), 0.08);
}

#dashboard > .tab {
  display: flex;
  flex-flow: column nowrap;
  justify-content: flex-start;
  align-items: flex-start;
  /*border: 1px solid #ccc;
		border-radius: 1em;
		padding: .3em;
		margin: 1em; */
}

#dashboard .tab > .count {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  color: rgba(var(--text-rgb), 0.7);
  font-size: 1.5em;
}

#dashboard .tab > .title {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0.3em;
}

/* User Registration *************************************************************************/
#register-nav {
  display: flex;
  flex-flow: row nowrap;
  align-items: center;
  z-index: 10;
  position: relative;
  bottom: 0;
  border: 0;
  font-size: 0.8em;
  margin-right: 0.3em;
}

#register-nav {
  justify-content: center;
}

#register-nav > button {
  display: flex;
  flex-flow: row nowrap;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 0.9em;
  padding: 0.5em 1em;
  outline: none;
  height: 3em;
  position: relative;
  width: 12em;
  margin: 0;
  border-radius: 0;
}

#register-nav > button {
  background-color: var(--surface-color);
}

#register-nav > button:hover {
  border-bottom: 1px solid rgba(var(--shadow-rgb), 0.03);
}

#register-nav > .active {
  border-left: 3px solid rgb(var(--accent-orange-rgb));
  padding-bottom: 0.4em;
}

#manage-screen {
  font-size: 0.9em;
  /* height: calc(100vh - 50px); */
  /* overflow-y: auto; 
		background: #fff;*/
  border-radius: 0.3em;
}

#manage-screen .row {
  width: 100%;
  margin: 0;
  padding: 0;
}

#manage-screen .create-btn {
  margin-left: 1em;
  font-size: 0.7rem !important;
  padding: 0.15rem 0.3rem !important;
  border-radius: 0.5rem !important;
}

#manage-dashboards li {
  display: flex;
  justify-content: end;
  align-items: center;
}

#manage-dashboards .count {
  font-weight: 600;
  /* margin-left: 1em; */
}

#manage-screen header {
  display: flex;
  flex-flow: row nowrap;
  justify-content: space-between !important;
  align-items: center;
  width: 100%;
  position: relative;
  margin: 0 0 1em 0 !important;
  background: var(--surface-color);
  /* padding: .3em !important; */
  border-radius: 1em;
}

#manage-screen .form {
  padding: 0.3em;
  overflow: hidden;
}

#manage-screen .manage-tab {
  width: 100%;
  display: none;
  /* background-color: #fff; */
  border-radius: 0.3em;
  /* padding: .3em !important; */
  overflow: hidden;
}

#manage-screen .manage-tab section {
  font-size: 0.85rem;
}

#manage-screen .manage-tab.active {
  display: block !important;
}

#manage-screen .manage-tab button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--text-on-brand);
  font-size: 0.7em;
  padding: 0.3em 0.5em;
  border-radius: 1em;
  border: none;
  outline: none;
  line-height: 1.5;
}

#manage-screen .detail {
  padding: 0.3em 0 !important;
  line-height: 1.5;
  font-size: 0.85em;
}

#manage-screen .contacts {
}

#manage-screen .contacts ul {
  margin: 0;
  padding: 0;
}

#manage-screen > .active {
  display: block !important;
}

#manage-screen .side-menu {
  display: flex;
  justify-content: start;
  align-items: center;
  overflow-y: auto;
  min-width: 100%;
  margin: 0 0 1rem 0 !important;
  padding: 0.3em 0 !important;
  border-radius: 0.3em;
  scrollbar-width: none;
}

#manage-screen .side-menu ul {
  display: flex;
  flex-flow: row nowrap;
  justify-content: start;
  align-items: center;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

#manage-screen .side-menu li {
  font-size: 0.85rem;
  white-space: nowrap;
  padding: 0 0 0.3rem 0;
  margin-right: 1rem;
  border-radius: 0;
  border: none;
  width: -moz-fit-content;
  width: fit-content;
}

/*Image Viewer*/
.img-viewer {
  position: relative;
  height: 400px;
  width: 600px;
}

.img-viewer img {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/*Profile Account Settings*/
#manage-screen > #div-staff {
  flex-flow: column nowrap;
  justify-content: space-between;
  align-items: flex-start;
}

#manage-screen > #div-about > .wrap:first-child {
  margin-top: 1em;
}

#manage-screen > #div-about > div .create-btn {
  padding: 0.3em 0.5em;
  width: auto;
  font-size: 0.8em;
}

#manage-screen .wrap {
  /* width: 100%; */
  padding: 1em;
  margin-bottom: 1em;
  border: 1px solid var(--border-color);
  /* box-shadow: 0 0 1px 1px #f9f9f9; */
}

/* #mobile-contacts,
	#fax-contacts{
		margin-right: .3rem;
	}

	#landline-contact,
	#email-contacts{
		margin-left: .3rem;
	} */

#mobile-contacts .row,
#landline-contact .row,
#fax-contacts .row,
#email-contacts .row {
  margin-bottom: 0.3em;
}

#manage-screen .column > .tab {
  width: 100%;
  padding: 0.3em.5em;
  border: 1px solid rgba(var(--shadow-rgb), 0.1);
  margin-bottom: 1em;
}

#div-contact-us > div {
  width: 100%;
}

#contacts > div,
#div-business-hours > div,
#physical-location > div,
#map-address > div {
  display: flex;
  flex-flow: row nowrap;
  justify-content: flex-start;
  align-items: center;
}

#map-location {
  height: 10em;
  min-width: 100%;
  overflow: hidden;
}

.list {
  display: flex;
  flex-flow: row nowrap;
  justify-content: start;
  align-content: center;
  position: relative;
  margin: 0.7em 0 !important;
}

.list > .check-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  background-color: var(--surface-color);
  margin-right: 0.3em;
}

.list > .check-icon i {
  color: var(--info-color);
  font-size: 0.8em;
}

.list > .buttons {
  position: absolute;
  right: 0;
}

.list > .buttons i {
  margin-right: 0.3em;
}

.trend-tab .img {
  width: 30em;
  /*height: 10em;*/
}

.trend-tab .img img {
  width: 100%;
  height: 100%;
}

.trend-tab .body {
  background-color: var(--surface-color);
  padding: 0.3em;
}

/*Exam Views Styles*/
.exam-button {
  width: 30px;
  height: 30px;
}

/*Profile Account Styles*/
#profile-wrap {
  font-size: 0.8em;
  display: flex;
  flex-flow: row nowrap;
  justify-content: space-between;
  align-items: center;
  margin: 0 3%;
  padding: 0 0 1em 0;
  /* min-width: 100% !important; */
  /* width: 100% !important; */
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  overflow: hidden;
  z-index: 99;
}

#profile-wrap::before {
  content: "";
  filter: blur(1px);
  min-width: 100%;
  min-height: 100%;
  position: absolute;
}

#profile-wrap .count-wrap {
  justify-content: center;
}

#user-dp {
  display: flex;
  flex-flow: column nowrap;
  justify-content: center;
  align-items: center;
  position: relative;
  opacity: 1;
  overflow: hidden;
  width: 122px;
  height: 122px;
  margin: 1em auto;
  padding: 0;
  text-align: center;
  border-radius: 50%;
  background-color: var(--surface-color);
}

#user-dp .avatar i {
  font-size: 3rem !important;
}

#user-dp button {
  outline: none;
  border: none;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--surface-alt-color);
}

#user-dp button i {
  color: rgba(var(--text-rgb), 0.5);
  font-size: 3rem;
}

#user-dp img {
  height: 120px;
  width: 120px;
  border: 3px solid rgba(var(--text-on-brand-rgb), 0.8);
  border-radius: 50%;
  box-sizing: border-box;
}

#user-details {
  position: relative;
  display: flex;
  flex-flow: column nowrap;
  align-items: flex-start;
  margin: 0;
  font-size: 1rem;
  padding: 0;
}

#user-details #user-name {
  position: relative;
}

#user-details #user-name .btn-options-wrap {
  position: absolute;
  right: 0.3em;
}

#user-details .counters {
  font-size: 1.5rem;
  margin: auto;
}

.no-data {
  color: var(--text-muted-color) !important;
}

.no-data-found {
  /* padding: .3em !important; */
  border: none !important;
  /* background: #f9f9f9 !important; */
}

/*Profile*/

#user-details > * {
  text-align: center;
  margin-bottom: 0.3em;
  line-height: 1.2 !important;
  padding: 0 !important;
}

#user-name {
  text-align: left;
  font-size: 1.25em;
  line-height: 1.2;
  margin: 0.3em 0;
  padding: 0.3em 0;
}

#bold-rating {
  text-align: left;
}

#bold-rating .rate-count {
  color: inherit;
}

#mainwrap.show {
  display: flex;
}

#edit-panel.show {
  display: block;
}

#profile-header-wrap {
  font-size: 1rem;
  position: relative;
  height: 12em;
  background-repeat: no-repeat;
  background-size: cover;
  border-radius: 0.3em;
  margin: 1em 0 0 0;
}

#social-links li {
  margin: 0 0.3em;
}

#profile-header-wrap.no-banner {
  background: linear-gradient(45deg, #ff00235c, #4a89bfa8, #b8c6fd);
}

#profile-header {
  position: absolute;
  top: 0;
  left: 0;
  overflow: hidden;
  /*background-color: rgba(var(--shadow-rgb), .3); */
  min-width: 360px;
  width: 100%;
  min-height: 100%;
  filter: blur(0.3px);
  padding: 0;
}

#profile-header img {
  width: 100%;
  height: inherit;
}

#manage-nav {
  margin-top: 15rem !important;
  font-size: 0.9rem;
  padding: 0 0 1em 0;
}

#manage-nav i {
  display: inline-block;
  margin-right: 0.3em;
}

#manage-nav .btn-link,
#manage-nav .btn-link:hover {
  text-decoration: none;
}

#manage-nav > button {
  font-size: 0.85em;
  line-height: 1;
  margin: 0 0.3em;
  padding: 0.3em 1em;
  height: 30px;
  border-radius: 3em;
  display: flex;
  align-items: center;
  justify-content: center;
}

#manage-nav > button,
#manage-nav > button i {
  background-color: inherit;
  color: inherit;
}

#manage-nav > button:focus {
  box-shadow: none;
}

#manage-nav > button:hover,
#manage-nav > .active:hover {
  background-color: var(--border-color) !important;
  color: var(--text-strong-color) !important;
}

#manage-nav > .active i,
#manage-nav > .active .label {
  color: var(--text-on-brand);
}

#manage-nav > .active:hover i,
#manage-nav > .active:hover .label {
  color: var(--text-strong-color) !important;
}

#manage-nav > .active {
  background-color: var(--btn-primary-dark);
  color: var(--text-on-brand);
}

.contact-handle {
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 500;
  text-align: right;
  padding: 0.3em;
  margin-right: 0.3em;
  font-size: 0.8em;
}
.item-tab {
  position: relative;
  border: 1px solid rgba(var(--shadow-rgb), 0.1);
  background-color: var(--surface-color);
  width: 17.5em;
  display: inline-block;
  margin: 0.5em 0.75em 0.5em 0;
  border-radius: 0.5em;
  text-align: center;
}
.item-tab:hover {
  box-shadow: 1px 2px 3px rgba(var(--shadow-rgb), 0.1);
}

.staff-tab a:link,
.item-tab a:link {
  font-weight: 500;
  text-decoration: none;
  color: rgba(var(--text-rgb), 0.5);
}

.staff-tab a:visited,
.item-tab a:visited {
  color: rgba(var(--text-rgb), 0.5);
}

.staff-tab a:hover,
.item-tab a:hover {
  color: rgba(var(--text-rgb), 0.5);
}

.staff-tab a:active,
.item-tab a:active {
  color: rgba(var(--text-rgb), 0.5);
}

.staff-tab img,
.item-tab img,
.item-tab video {
  width: 100%;
  height: 100%;
  vertical-align: middle;
  border-style: none;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
}

.staff-tab span,
.item-tab span {
  display: inline-block;
  padding: 0.2em;
  font-size: 0.75rem;
}

#div-staff {
  text-align: center;
}

/*The Profile Gallery*/

#image-gallery {
  width: 3000em;
  height: 100px;
  padding: 5px;
  margin: 1px;
  position: relative;
  overflow-x: auto;
}

.gallery img {
  float: left;
  margin-right: 1em;
  width: 100px;
  height: 100px;
  border: 1px solid rgba(var(--shadow-rgb), 0.1);
  border-radius: 5px;
}

.xgallery a {
  display: inline-block;
  padding: 2px;
  margin: 1px;
  text-decoration: none;
  line-height: 1;
}

.img-nav {
  display: inline-block;
  height: 10px;
  width: 10px;
  border-radius: 50%;
  margin: -10px 3px 3px 5px;
  cursor: pointer;
  background-color: var(--info-color);
}

.img-nav:first-child {
  margin-left: -5px;
}

.img-nav:hover {
  border: 1px solid var(--info-color);
  background-color: var(--surface-color);
}

.img-nav-active {
  background-color: var(--dark-btn-bg);
  z-index: 333;
}

.user-services ul {
  list-style-type: square;
}
.user-services {
  margin-left: 10px;
}

.inline-label {
  display: inline-block;
  border-top-left-radius: 5px;
  border-bottom-left-radius: 5px;
  font-weight: 500;
  padding: 5px;
  background-color: var(--info-color);
  color: var(--text-on-brand);
  margin-right: 5px;
}

.week-days {
  font-weight: 500;
  display: inline-block;
  width: 40px;
  padding: 5px;
}

.forename,
.surname,
.business-name,
.business-occupation {
  width: 220px;
}

.left {
  float: left;
}

.right {
  float: right;
}
#ellipsis-wrap {
  position: absolute;
  display: flex;
  flex-flow: column nowrap;
  top: 0;
  right: 0;
  text-align: right;
  transition: display 5s ease-in-out;
  transition: width 10s ease-in-out;
}

#ellipsis-wrap i {
  margin: 0 0.3em;
}

#ellipsis-wrap > span {
  padding: 0.3em 0.5em;
  color: var(--text-on-brand);
  font-size: 1rem;
  font-weight: 100;
  background-color: #009933;
  cursor: pointer;
  margin-bottom: 0.1em;
}

#ellipsis-wrap:hover > #edit-profile-btn,
#ellipsis-wrap:hover > #edit-banner-btn {
  display: block;
  width: 100%;
}

.contact-handle i {
  font-size: 1.5em;
  margin: 0.1em;
  color: rgba(var(--text-rgb), 0.5);
}

.social-link {
  display: flex;
  flex-flow: column nowrap;
  justify-content: flex-start;
  align-items: flex-start;
}

.social-link li {
  padding: 0.3em 0;
  min-width: 100%;
}

.social-link a {
  display: flex;
  justify-content: start;
  align-items: center;
  font-size: inherit;
  height: 100%;
  min-width: 100%;
  /* color: #009393; */
  text-decoration: none;
}

.social-link a i {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 1em;
  margin-right: 0.3em;
  font-size: 1.2em;
}

.social-link a:hover,
.social-link a:hover i {
  color: var(--accent-orange);
  text-decoration: none;
  border: none;
}

.staff-tab span {
  padding: 1em 0.2em;
}

#vocation {
  font-size: 1em;
  padding: 0.3em 0;
}

#connect {
  font-size: 1rem;
  color: var(--text-on-brand);
}

#connect p {
  margin: 5px 0;
  padding: 0.3em;
}

#home-tag-line {
  display: flex;
  margin: 1rem 0;
  text-align: center;
}

#community-services li {
  padding: 3em 1em;
}

#community-services li:nth-child(even) {
  background-color: rgba(var(--shadow-rgb), 0.03);
}

#discover-your-community {
  background-image: url("/uploads/img/community_2.jpg");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  position: relative;
  margin-top: 3rem !important;
  background-color: var(--primary-color);
  background-blend-mode: darken;
}

#discover-your-community * {
  color: var(--text-on-brand) !important;
}

#discover-your-community::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: rgba(var(--shadow-rgb), 0.6);
  z-index: -1;
}

#contacts {
  position: relative;
  z-index: 8;
}

#div-reviews > div {
  width: 100%;
}

#div-business-hours table {
  width: 100%;
}

#div-business-hours table > tbody > tr:nth-child(odd) {
  background-color: rgba(var(--shadow-rgb), 0.03);
}

#div-business-hours table > tbody > tr:nth-child(even) {
  background-color: var(--surface-color);
}

#div-business-hours .days {
  width: 150px;
}

#div-services textarea {
  height: 50px;
}

/*Gallery Page*/
#my-gallery {
  display: flex;
  flex-flow: row wrap;
  justify-content: flex-start;
  align-items: flex-start;
}

#my-gallery > .tab {
  display: flex;
  flex-flow: column nowrap;
  justify-content: flex-start;
  align-items: flex-start;
  width: 12em;
  border-radius: 0.3em;
  border: 1px solid rgba(var(--shadow-rgb), 0.3);
  margin: 0.3em;
}

#my-gallery .img {
  min-height: 10em;
  height: 10em;
  width: 100%;
  margin: 0;
}

#my-gallery .img > img {
  width: 100%;
  height: 100%;
}

#my-gallery .form-buttons {
  display: flex;
  flex-flow: row nowrap;
  justify-content: space-between;
  margin: 0.3em 0;
  width: 100%;
}

#my-gallery button {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 0.8em;
  max-height: 2em;
  width: 95%;
  margin: 0.3em;
  font-weight: 400;
}

#my-gallery .error-bg {
  background-color: var(--form-error-color);
}

#my-gallery button > i {
  margin-right: 0.3em;
}

/*User Review Styles*/
#star-rating {
  font-size: 1rem;
}
#star-rating i {
  display: inline-block;
  cursor: pointer;
  font-size: 1.2em;
}
#div-user-rating a {
  text-decoration: none;
}

#div-user-rating p {
  width: 100%;
}

#div-user-rating select {
  width: 100px;
  height: 30px;
  margin: 2px 0;
}

#div-user-rating textarea {
  width: 350px;
  height: 200px;
}

#review-wrap {
  display: flex;
  flex-flow: row nowrap;
  justify-content: space-between;
  font-size: 1rem;
}

#review-wrap > div {
  width: 49%;
  padding: 0;
}

.review-results > p,
.comment-results > p {
  margin-left: 80px;
  padding: 5px;
}

.my-avatar > img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
}

.review-post-screen form,
.comment-post-screen form {
  background-color: var(--surface-color);
  display: none;
  width: 100%;
  overflow: hidden;
}

.review-post-screen textarea,
.comment-post-screen textarea {
  display: block;
  width: 100%;
  height: 100px;
}

/*User Dashboard*/
/* .side-menu{
		flex-direction: column;
		display: flex;
		justify-content: start;
		align-items: start;
	} */

.side-menu div {
  cursor: pointer;
  padding: 1em 0.3em;
}

#my-wallet-balance .title,
#my-wallet-balance .count {
  display: flex;
  justify-content: flex-end;
  padding: 0.3em;
}

.count #wallet {
  font-size: 1.5em;
  font-weight: 600;
}

.col-md-2.side-menu {
  padding: 0;
}

.col-md-2.side-menu .manage-btn {
  width: 100%;
  display: flex;
  justify-content: start;
  align-items: center;
}

.side-menu .active {
  border-bottom: 3px solid var(--primary-color) !important;
}

.side-menu-screen {
  /*background: #fff;*/
  /* border-radius: 1em; */
  padding: 0;
  min-width: 100%;
  height: 100%;
}

.side-menu-screen header {
  /* padding: 1em 0; */
  margin-bottom: 1em !important;
  border: none !important;
}

.side-menu-screen .about-tab {
  background-color: var(--surface-color);
  border-radius: 0.3em;
  padding: 0.3em;
}

.side-menu-screen .title {
  font-size: 1.2rem;
  padding: 0.3em !important;
}

.side-menu-screen p {
  margin-bottom: 1em;
  padding: 1em 0;
  font-size: 1em;
}

.side-menu-screen table {
  width: 100%;
}

/*Admin Dashboard*/
#admin-tasks {
  width: 100%;
  display: flex;
  justify-content: space-between;
}

#admin-tasks > .tab > .links {
  display: flex;
  flex-flow: column nowrap;
  justify-content: flex-start;
  align-items: flex-start;
}

#admin-tasks .links > a {
  display: block;
  padding: 0.3em;
  line-height: 1.2;
  text-decoration: none;
  font-size: 1.2em;
}

.create-btn {
  font-size: 1em !important;
  padding: 0.3em 1em !important;
  max-width: 9em;
}

.filter-list-wrap {
  border-radius: 3em;
  border: 1px solid var(--border-color);
  height: 35px !important;
}

.filter-list {
  position: relative;
  background-color: var(--surface-color);
  border-radius: 1em;
  padding: 0;
  overflow: hidden;
  height: 100% !important;
}

.filter-list > div {
  height: 100%;
}

.filter-list input[type="text"] {
  border: none;
  height: 35px;
  min-width: 100%;
  padding: 0.3em 0.5em;
}

.filter-list i {
  display: block;
  font-size: 1.2rem;
}

.filter-list i::before {
  line-height: 2.25;
}

.category-list {
  margin-bottom: 1em;
  width: 100%;
  padding: 0;
}

.sub-list,
.sub-list .item-list {
  display: none;
  transition: all 1s ease-in-out;
}

.sub-list.show,
.sub-list .item-list.show {
  display: block;
  min-width: 100%;
}

.show-sub > .sub-list .title {
  padding-left: 1em;
}

.show-sub > .sub-list,
.show-sub > .item-list {
  display: block !important;
  width: 100%;
}

.category-list form {
  padding: 1em 0;
}

.category-list form > input {
  padding: 0.3em;
  margin: 1em 0;
}

.category-list p {
  padding: 0.3em;
}

.category-list .tab {
  display: flex;
  flex-flow: column nowrap;
  justify-content: flex-start;
  align-items: flex-start;
  margin: 0;
  border-radius: 0;
}

.category-list header {
  background-color: rgba(var(--shadow-rgb), 0.01);
}

.sub-list,
.item-list > .item {
  width: 100%;
}

.sub-list > .tab > .row {
  background-color: var(--surface-alt-color);
}

.sub-list > .tab:first-child {
  border: none;
}

.sub-list > .tab header {
  background-color: rgba(var(--shadow-rgb), 0.01);
}

.town-list,
.item-list > .item {
  padding: 1em 0.3em;
}

/*Style Chats Screen Functionality*/
.recent-tablet {
  overflow: hidden;
  background-color: #585b56;
  display: block;
  margin: 2px auto;
  box-shadow: 1px 1px 2px #888;
}

.recent-tablet img {
  margin: 5px;
  width: 70px;
  background-color: #585b56;
  height: 70px;
  float: left;
}

.recent-tablet p {
  margin: 2px 2px 2px 80px;
  color: var(--text-on-brand);
}

.chat-tablet a {
  color: var(--danger-color);
}

.chat-tablet a:hover {
  color: var(--info-color);
  text-decoration: underline;
}

.chat-tablet-head img {
  margin-right: 5px;
  width: 4rem;
  height: 4rem;
  float: left;
}

.chat-tablet-head p {
  margin-left: 80px;
}

.chat-tablet-head a,
.recent-tablet a {
  color: var(--text-on-brand);
  text-decoration: none;
}

.chat-message-count {
  opacity: 0.8;
  color: var(--text-muted-color);
} /*Chats sent by you.*/

.them-chat {
  float: left;
  background-color: var(--surface-color);
} /*Chats sent by the other party.*/

.who-chat {
  color: #585b56;
  width: 100%;
  margin-top: 5px;
  padding: 5px;
  font-size: smaller;
}

/*Connection Tablets*/
.connect-tablet {
  display: block;
  color: var(--text-on-brand);
  background-color: rgba(var(--shadow-rgb), 0.125);
  overflow: hidden;
  width: 100%;
}

.connect-tablet a:link,
.connect-tablet a:visited,
.connect-tablet a:hover,
.connect-tablet a:active {
  color: var(--text-on-brand);
  text-decoration: none;
}

.connect-tablet img {
  margin-right: 5px;
  width: 100px;
  height: 100px;
  float: left;
}

.connect-tablet p {
  margin-left: 100px;
  overflow: hidden;
}

/*Media Styles*/
.media-checkbox {
  width: 12px;
  height: 12px;
  margin: 2px 0;
  vertical-align: -2.4px;
}

.media-tablets {
  margin: 2px;
  width: 200px;
  height: 200px;
  float: left;
  overflow: hidden;
  position: relative;
}

.media-img {
  margin-top: 0px;
  width: 200px;
  height: 200px;
}

button > img {
  height: 15px;
  width: 14px;
  margin-right: 1px;
}

/*Style Feedback Classes*/

#feedback-cover {
  display: none;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-color: rgba(var(--shadow-rgb), 0.3);
  z-index: 800;
  position: fixed;
  opacity: 0.7;
}

#feedback-screen {
  display: none;
  background-color: var(--surface-color);
  width: 500px;
  top: 30%;
  left: 32%;
  color: var(--text-strong-color);
  position: fixed;
  z-index: 9999;
  box-shadow: 1px 1px 3px var(--tooltip-bg);
}

#feedback-cover.show,
#feedback-screen.show {
  display: block;
}

#feedback-screen h2 {
  background-color: var(--info-color);
  color: var(--text-on-brand);
  padding: 3px 5px;
}

/*Style Visual Effect Classes*/
.em {
  background-color: #ff0;
  border-top: 1px solid var(--tooltip-bg);
  border-bottom: 1px solid var(--tooltip-bg);
} /*Work this out, ideally, it was supposed to change hits' background*/

.class-hr {
  width: 90%;
  color: var(--text-on-brand);
}

/*Style Signup or User Login Items*/
#div-signup-wrapper {
  padding: 5px;
  min-height: 200px;
  position: relative;
  width: 400px;
  margin: 50px auto;
}

#div-signup-wrapper input {
  margin: 3px;
} /*check for this element*/

#div-signup-wrapper form {
  width: 100%;
} /*check for this element*/

#div-login {
  padding: 1em;
  width: 70%;
  border-radius: 5px;
  margin: 1rem auto;
  border: 1px solid rgba(var(--shadow-rgb), 0.1);
  background-color: var(--surface-color);
  margin-bottom: 5em;
}

#div-signup-personal input[type="text"],
#div-signup-user input[type="email"],
#div-signup-personal input[type="password"] {
  border: none;
  border-bottom: 3px solid rgba(var(--shadow-rgb), 0.1);
}
#div-login h3 {
  display: inline-block;
  font-size: 1.5rem;
  border-bottom: 3px solid var(--info-color);
  margin: 0 0 1.5em 0;
  padding: 0.5em 0;
  color: rgba(var(--text-rgb), 0.5);
}

.tab-btn {
  display: inline-block;
  position: relative;
  width: 25px;
  height: 25px;
  margin: 0 0.1em 0 0;
}

.tab-btn span {
  position: absolute;
  top: -2rem;
  font-size: 0.7rem;
  display: none;
  min-width: 120px;
  width: auto;
  background: rgba(var(--shadow-rgb), 1);
  color: var(--text-on-brand);
  padding: 0.5em 0;
  text-align: center;
  border-radius: 0.5em;
  margin: 0 auto;
  opacity: 0;
  transition: 0.6s opacity;
}

.tab-btn span button {
  display: block;
}

.tab-btn span:after {
  content: "";
  width: 10px;
  height: 10px;
  position: absolute;
  bottom: -5px;
  background: rgba(var(--shadow-rgb), 1);
  z-index: -1;
  left: 10%;
  transform: translateX(-50%) rotate(45deg);
}

.tab-btn:hover {
  background-color: var(--accent-orange);
}

.tab-btn:hover > span {
  display: block;
  opacity: 0.8;
}

.inline-select-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-flow: row nowrap;
}

.inline {
  position: absolute;
  top: 0;
}

#div-account-screen .black-overlay-screen {
  z-index: -1;
}

#div-account-screen #manage-nav,
#div-account-screen #manage-screen,
#div-account-screen #manage-screen .manage-tab {
  position: relative;
  z-index: 10;
  border: none;
}

#div-account-nav .active {
  font-weight: 500;
}

#div-account-screen #manage-screen .manage-tab .nav-link a:link,
#div-account-screen #manage-screen .manage-tab .nav-link a:visited,
#div-account-screen #manage-screen .manage-tab .nav-link a:hover {
  color: var(--text-on-brand);
}

#div-account-screen .select-location {
  line-height: 1;
  font-size: 0.8rem;
  width: 10em;
  margin: 0 0.3em 0 0;
}

#div-why-signup h2 {
  text-align: left;
  font-size: 2.25rem;
}

#div-why-signup ul {
  margin-left: 10px;
}
#div-why-signup li {
  text-indent: 2px;
  font-size: 1.6rem;
  margin: 2px 2px;
}

/*Style Adverts, Products and Contacts*/
#div-related {
  font-size: 1rem;
}

#div-related .img,
#div-related .title,
#div-related .posted,
#div-related .count-wrap {
  margin: 0;
  padding: 0;
}

#div-related .avatar,
#div-related .img {
  height: 6em;
}

#div-related .avatar i {
  font-size: 3em;
}

#div-related .img img {
  width: 100%;
  height: 100px;
}

#div-related {
  position: relative;
  width: 100%;
  margin: 1px;
  overflow: hidden;
}

#div-contact-details a {
  text-decoration: none;
  color: rgba(var(--text-rgb), 0.65);
}

#div-contact-details a:hover,
#billboard-related-info a:hover {
  text-decoration: underline;
  color: var(--info-color);
}

#div-related ul,
#billboard-related-info ul,
#div-contact-details ul {
  list-style: none;
}

.user-services li {
  list-style: none;
  margin-left: 10px;
}

.profile-img {
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  border-radius: 50%;
  background-color: var(--surface-color);
}

.profile-img img,
.profile-img .avatar {
  min-width: 60px;
  width: 60px;
  min-height: 60px;
  height: 60px;
  border-radius: 50%;
  /* background-color: #fff; */
  /* border: 3px solid rgb(244, 111, 0); */
}

.profile-img .avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-color);
}

.profile-img .avatar i {
  color: var(--text-muted-color) !important;
  font-size: 1.5rem;
}

#div-user-menu a {
  text-decoration: none;
  font-weight: 500;
  color: rgba(var(--text-rgb), 0.3);
}

#div-user-menu li:hover {
  color: var(--info-color);
}

/*Style Market, Product, Classifieds and Billboard Screens*/
#column-wrap {
  display: flex;
  flex-flow: column nowrap;
  justify-content: center;
  margin: 1em auto;
  min-width: 100%;
}

#column-wrap h5 {
  margin: 0;
}

#item-column,
#item-related-column {
  display: flex;
  flex-flow: column nowrap;
  position: relative;
  overflow: hidden;
  overflow: hidden;
  padding: 0.7em;
}

#item-column > div {
  min-width: 100%;
}

#item-column > #item-tab,
#item-column > #comment-section,
#item-column > #contact-info {
  border-radius: 0.3em;
  margin: 0 0 1em 0;
  padding: 0;
  overflow: hidden;
}

#item-column > #item-tab {
  border: 1px solid rgba(var(--shadow-rgb), 0.1);
}

#item-column > #item-tab > .item-date-posted {
  padding: 0 0.3em;
}

.related-card > div {
  margin: 0 0.3em;
  padding: 0;
}

.related-card > .title > a:link {
  display: inline-block;
  font-size: 1em;
  font-weight: 600;
  padding: 0.3em 0;
  text-decoration: none;
  color: var(--accent-orange);
}

.related-card > .title > a:visited {
  color: var(--accent-orange);
}

.related-card > .title > a:hover {
  color: var(--accent-orange);
  text-decoration: none;
  border: none;
}

.related-card > .title > a:active {
  color: var(--accent-orange);
}

.related-card > .count-wrap {
  margin: 0.3em;
}
#item-related-column .item-card span {
  position: absolute;
  top: 6em;
  background-color: rgba(var(--shadow-rgb), 0.8);
}

#item-tab {
  border-top-left-radius: 1em;
  border-top-right-radius: 1em;
  overflow: hidden;
}

.item-detail-wrap {
  padding: 0 0.3em;
}

#item-image-column,
#item-detail-column {
  width: 100%;
}

#item-image-column {
  /*
		display: flex;
		flex-flow: row nowrap; */
  height: 25em;
  overflow: hidden;
  background-color: rgba(var(--shadow-rgb), 0.1);
  position: relative;
}
#item-image-column::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-image: linear-gradient(
    to right,
    rgba(var(--shadow-rgb), 0.43),
    transparent,
    transparent,
    rgba(var(--shadow-rgb), 0.43)
  );
  z-index: -1;
}

#item-image-column .slider-container {
  margin: 0;
}

#item-image-column img {
  width: 100%;
  height: 100%;
}

#item-image-column audio {
  position: absolute;
  left: 0;
  bottom: 0;
}

#item-image-column video {
  width: 100%;
  height: 100%;
}

#item-image-column #main-img img {
  border: 1px solid rgba(var(--shadow-rgb), 0.1);
  height: 100%;
  width: 100%;
}
#item-image-column .item-card-wrapper {
  height: 4em;
  bottom: 0;
  margin: 0;
  padding: 0.3em 0;
}
#item-image-column .item-card {
  border: none;
  width: 5em;
}

#item-image-column .item-card:hover {
  border: 1px solid rgba(var(--shadow-rgb), 0.3);
  box-shadow: none;
  width: 5em;
}

.item-img-container {
  position: absolute;
  top: 0;
  left: 0;
}

#item-info {
  line-height: 1.5;
  font-size: 0.9em;
}

#item-info > .location {
  border-top: 1px solid rgba(var(--shadow-rgb), 0.1);
  border-bottom: 1px solid rgba(var(--shadow-rgb), 0.1);
}

#item-info p {
  font-size: 0.8rem;
}

.item-date-posted {
  display: block;
  color: var(--text-muted-color);
  font-size: 0.8rem;
  margin: 0.3em 0;
  padding: 0.3em 0.15em;
}

.item-date-posted i {
  margin-right: 0.3em;
}

.item-specs {
  margin: 1em 0;
}

.item-specs span {
  display: inline-block;
  border: 1px solid rgba(var(--shadow-rgb), 0.1);
  margin: 0 0.2em 0 0;
  line-height: 1;
  font-size: 0.8rem;
  padding: 0.5em;
  border-radius: 1em;
  box-shadow: 1px 2px 3px rgba(var(--shadow-rgb), 0.15);
  background-color: var(--surface-color);
}

.item-price {
  /* color: #f46f00; */
  background-color: var(--primary-color) !important;
}

.item-price,
.item-price i {
  color: var(--text-on-brand) !important;
  font-weight: 600;
}

/*Comment Sections*/
.comment-wrap {
  display: flex;
  flex-flow: column nowrap;
  border: 1px solid rgba(var(--shadow-rgb), 0.1);
  margin-bottom: 1em;
}

.comment-wrap > div {
  width: 100%;
}

.user-dp {
  display: flex;
  justify-content: center;
  align-items: center;
}

.user-info-wrap > div {
  min-width: 100%;
}

/*Contact Info*/
#contact-info {
  display: flex;
  flex-flow: column nowrap;
  justify-content: center;
  align-items: flex-start;
  margin-top: 1em;
  position: relative;
}

.wrap {
  position: relative;
}

.wrap .row {
  min-width: 100%;
}

#contact-info .login,
.wrap .login {
  position: absolute;
  background-color: var(--surface-color);
  box-shadow: 1px 2px 3px rgba(var(--shadow-rgb), 0.3);
  padding: 0.3em;
  top: 50%;
  left: 50%;
  transform: translate(-50%);
}

#contact-info .login a:link {
  color: var(--text-color);
  text-decoration: none;
}

.contact-info {
  font-size: 1rem;
  display: flex;
  flex-flow: row nowrap;
  line-height: 1.3;
  font-size: 0.8rem;
  position: relative;
  min-width: 100%;
  margin: 0 !important;
  padding: 0 !important;
}

.filter {
  filter: blur(5px);
  padding: 0 0.3em;
}

.contact-info .img {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 7rem !important;
  width: 100% !important;
  border-radius: 0.3em;
  overflow: hidden;
}

.contact-info .img i {
  font-size: 3em;
  color: rgba(var(--text-rgb), 0.05);
}

.contact-info .body {
  position: relative;
  font-size: 0.85rem;
  width: 19.58em;
  float: left;
  padding: 0 0.3em;
  overflow: hidden;
}

.contact-info .name {
  font-size: 1.1em;
  /* font-weight: 600; */
  display: inline-block;
}

.contact-info .name a:link {
  text-decoration: none;
  color: var(--link-color);
}

.contact-info .name a:visited {
  color: var(--link-color);
}

.contact-info .name a:hover {
  color: var(--link-color);
  text-decoration: underline;
}

.contact-info .names a:active {
  color: var(--link-color);
}

.contact-info .rating {
  margin: 0 0.1em;
  position: relative;
}

.contact-info .rating i {
  color: var(--text-muted-color);
}

.contact-info .rating img {
  position: absolute;
  top: -1.1em;
  width: 5em;
  height: 1.5em;
  display: inline-block;
  margin: 1em 0.1em;
  line-height: 0.7em;
}

/*Reviews & Comments*/
#div-product-comments .comment-results {
  background-color: var(--surface-alt-color);
  min-height: 100px;
  width: 100%;
  overflow: hidden;
  margin: 0;
  border: 1px solid rgba(var(--shadow-rgb), 0.1);
}

#div-product-comments .comment-results .my-avatar {
  display: inline-block;
  width: 80px;
  height: 80px;
  margin-left: 10px;
}

#div-product-comments .comment-results .my-avatar > img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
}

#div-product-comments .comment-results .comment-body {
  display: inline-block;
  margin: 0 0 0 1em;
}

#div-product-comments .comment-results .comment-body .time-posted {
  margin: 0 0.5em;
  font-size: 0.7rem;
  line-height: 1;
  color: var(--text-muted-color);
}

#div-product-comments .comment-results .comment-body .comment-label {
  display: inline-block;
  height: 20px;
  line-height: 1.2;
  color: var(--info-color);
  font-weight: 500;
}

/*Property, Prospect, Product Comments*/

/*Exam Settings*/
#candidatename {
  font-weight: 500;
  font-size: 1.5rem;
}

#flagquestion img {
  width: 40px;
  height: 50px;
  margin-left: -50px;
}

#div-billboard-description img {
  display: block;
}

#billboard-item-info > div {
  background: var(--surface-color);
  padding: 5px 10px;
  margin: 2px 2px 5px 0;
  overflow: hidden;
}

#billboard-related-info > div {
  background: var(--surface-color);
  padding: 5px 10px;
  margin: 2px 0 5px 0;
  overflow: hidden;
}

#followus img {
  height: 40px;
  width: 40px;
}

#followus a {
  float: left;
  margin: 2px;
}

#followus li {
  display: inline;
  margin: 5px;
}

#div-follow-us ul {
  margin-top: 2px;
}

#div-follow-us li,
#div-follow-us > ul,
#div-about-us li,
#div-about-us a,
#div-about-us > ul {
  list-style: none;
  text-decoration: none;
}

#div-about-us li a:link,
#div-about-us li a:visited {
  color: #47403a;
  display: block;
  -webkit-border-radius: 3px;
  border-radius: 3px;
}

#div-about-us li a:hover {
  color: rgba(var(--text-rgb), 1);
  background-color: var(--info-color);
  -webkit-transform: scale(2, 2);
  -ms-transform: scale(2, 2);
  transform: scale(2, 2);
}

#div-follow-us li a:hover {
  opacity: 1;
}

/*Style main search area inputs*/
.about-article {
  font-size: 1.1rem;
  width: 100%;
  overflow: hidden;
  padding: 5px;
}

/*Style Footer*/
#support {
  font-size: 0.85rem;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

#support,
#copyright {
  background: var(--dark-bg-color);
}

#support *,
#copyright * {
  color: var(--text-muted-color) !important;
}

#copyright {
  width: 100%;
  font-size: 0.7rem;
  line-height: 1.2;
  text-align: center;
  position: relative;
  bottom: 0;
  padding: 1em 0;
  /* margin-top: 3rem; */
}

#copyright a,
#support a {
  margin-bottom: 0.3em;
}

#copyright a:link,
#support a:link {
  text-decoration: none;
}

#copyright a:link {
  color: rgba(var(--text-rgb), 0.5);
}

#copyright a:visited {
  color: rgba(var(--text-rgb), 0.5);
}

#copyright a:hover,
#support a:hover {
  border-bottom: 3px solid var(--primary-color);
}

#copyright a:hover {
  color: rgba(var(--text-rgb), 0.5);
}

#copyright a:active {
  color: rgba(var(--text-rgb), 0.5);
}

.login-wrap footer,
.register-wrap footer {
  color: rgba(var(--text-rgb), 0.5);
}

.login-wrap footer > a:link,
.register-wrap footer > a:link {
  color: rgba(var(--text-rgb), 0.5);
  text-decoration: none;
}

.login-wrap footer > a:visited,
.register-wrap footer > a:visited {
  color: rgba(var(--text-rgb), 0.5);
  text-decoration: none;
}

.login-wrap footer > a:hover,
.register-wrap footer > a:hover {
  color: rgba(var(--text-rgb), 0.5);
  text-decoration: none;
}

.login-wrap footer > a:active,
.register-wrap footer > a:active {
  color: rgba(var(--text-rgb), 0.5);
  text-decoration: none;
}

/**Challenge Section***/
#challenge-wrap {
  display: flex;
  flex-flow: column nowrap;
  justify-content: center;
  align-items: flex-start;
  position: relative;
  min-height: 90vh;
  width: 70%;
  margin: 0 auto;
  border: 1px solid black;
}

#question-wrap > div {
  padding: 1em;
}

#question-wrap > .bold {
  font-size: 1em;
  font-weight: 600;
}

#question-wrap > .question {
  font-weight: 400;
  font-size: 1.2em;
}

#question-wrap > .marks {
  font-weight: 600;
  font-size: 0.8em;
}

#question-buttons > a {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 0.1em;
}

#question-buttons > .page {
  padding: 0.3em 0.5em;
}

/* Small Screen devices (576px and up) */
@media only screen and (min-width: 567px) {
}

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 768px) {
  body {
    font-size: 16px !important;
  }

  /*Pop Up Styles*/
  #modal {
    top: 7%;
    height: auto;
    max-height: 80%;
    border: 1px solid var(--border-color);
    border-radius: 1em;
  }

  /*Profile Account Settings*/
  #manage-screen > #div-about > div {
    width: 100%;
  }

  /* For wide screens, turn display of option to none */
  #manage-list .btn-options-wrap,
  header .buttons {
    display: none;
  }

  /* Only show the button ooptions when a user hovers on a tab */
  #manage-list .tab:hover .btn-options-wrap {
    display: flex;
  }

  #backdrop {
    /* display: flex;
		flex-flow: row nowrap;
		justify-content: center;
		align-items: center; */
  }

  #drawer.offset {
    width: fit-content;
    width: moz-fit-content;
    float: right;
  }

  #modal #comments-section,
  #modal #likes-section,
  #modal #views-section,
  #modal #followers-section,
  #modal #reviews-section {
    padding: 0.3rem;
    font-size: 0.85em;
  }

  #company-name {
    font-size: 1rem;
    padding: 0 1em;
  }

  #profile-wrap {
    top: 30%;
  }

  /*MAIN CONTAINER SECTIONS*/
  #manage-nav i {
    display: inline-block;
  }

  #drawer #register-form {
    width: 620px;
  }

  #drawer #login-form,
  #drawer #recovery-form,
  #drawer #reset-form {
    width: 520px;
    padding: 1em;
  }

  #profile-header-wrap {
    margin: 1em 0 !important;
  }

  .login-wrap .about-column,
  .login-wrap .account-column {
    min-width: 30%;
    width: auto;
    max-width: 50%;
  }

  /** For mobile devices **/
  .custom-shape-divider-bottom-1699810858 svg {
    width: calc(199% + 1.3px);
    height: 201px;
  }

  #search-wrap .title {
    display: block;
  }

  #active-menu {
    max-width: 250px;
  }

  #homepage-tabs {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
    height: 12em;
  }

  #homepage-tabs.show {
    display: block;
  }

  #homepage-tabs > section {
    /*display: none; */
    width: 30%;
    position: relative;
    height: 100%;
    border-radius: 0.3em;
    overflow: hidden;
  }

  #div-results > .item-card-wrapper,
  #div-results > #div-results > li .ads {
    display: none;
  }

  #div-results > li .img.show {
    display: block;
  }

  #adverts-column {
    margin-left: 0.5em;
  }

  .adverts .div-ads,
  .links .div-feeds {
    flex-flow: row nowrap;
  }

  /*User Dashboard*/
  #dashboard-links > ul li {
    justify-content: space-between;
  }

  #dashboard-links ul li a {
    min-width: 30%;
  }

  /*User Dashboard*/
  .side-menu {
    padding-left: 0;
    list-style: none;
  }

  /*Service Indexes*/

  .service-wrap .wrap .tab {
    margin: 1em 1em 1em 0;
    width: 15em;
  }

  #column-wrap {
    flex-flow: row wrap;
    justify-content: space-between;
    margin: 3em auto;
  }

  #item-column,
  #item-related-column {
    padding: 0;
  }

  #dashboard .nav {
    font-size: 1em;
    /* padding: 0 1em !important; */
  }

  #dashboard .nav ul {
    /* overflow-y: auto; */
    max-height: 95vh;
  }

  /*Management Screens*/
  #manage-wrap {
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
    align-items: flex-start;
  }

  #edit-wrap form {
    width: 70%;
  }
}

/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (min-width: 992px) {
  body {
    font-size: 18px !important;
  }

  #company-logo {
    justify-content: start;
  }

  #company-name {
    padding: 0 0.3em;
  }

  #dashboard .nav .nav-link .label {
    display: flex !important;
  }

  #dashboard .nav .nav-link {
    flex-flow: row nowrap;
    justify-content: start;
    align-items: center;
    height: 2em;
    line-height: 2;
    border-radius: 0.3rem;
  }

  #dashboard .nav .nav-link .icon {
    height: 20px;
    margin-right: 0.5em;
  }

  #dashboard .nav .nav-link .icon i {
    font-size: 1rem;
  }

  /* Layouts*/
  .p-left {
    padding-left: 0.3em !important;
  }

  .p-right {
    padding-right: 0.3em !important;
  }

  /* #mobile-contacts,
	#fax-contacts{
		margin-right: 0;
	}

	#landline-contact,
	#email-contacts{
		margin-left: 0;
	} */

  #profile-wrap {
    top: 70%;
  }

  #profile-wrap .count-wrap {
    justify-content: start;
  }

  #home-tag-line {
    text-align: start;
  }

  #user-details .counters {
    margin: 0;
  }

  #search-wrap {
    min-height: 80vh;
  }

  /*MAIN CONTAINER SECTIONS*/
  #manage-nav {
    /*width: 980px;*/
    margin-top: 9em !important;
  }

  #results-container {
    flex-flow: row nowrap;
    justify-content: space-between;
    align-items: flex-start;
  }

  #adverts-column.show {
    display: block;
  }

  #results-column {
    margin-right: 0.5em;
  }

  #div-results > li > .actions {
    display: flex;
  }

  #manage-screen {
    padding: 0 !important;
  }

  #manage-screen .create-btn {
    margin-left: 1em;
    font-size: 0.8rem !important;
    padding: 0.3rem 0.5rem !important;
    border-radius: 1rem !important;
  }

  #manage-screen > #div-about > .row > section:first-child {
    padding-left: 0 !important;
    padding-right: 0.3em !important;
  }

  #manage-screen > #div-about > .row > section:last-child {
    padding-right: 0 !important;
    padding-left: 0.3em !important;
  }

  #div-results > li,
  #div-results > li .ads {
    flex-flow: row nowrap;
  }

  #div-results > li > .actions {
    min-width: 25%;
    max-width: 25%;
  }

  #item-column {
    padding-left: 0;
  }

  #item-related-column {
    font-size: 0.8em;
    padding-right: 0;
  }

  /* Dashboard */
  #dashboard .nav .nav-link {
    flex-flow: row nowrap;
    justify-content: flex-start;
    min-width: 100%;
    padding: 0 0.5em;
  }

  #dashboard .nav .nav-link .icon i {
    font-size: 1em;
  }

  #dashboard .nav .nav-link .badge {
    display: block;
  }

  #modal #likes-section,
  #modal #views-section,
  #modal #followers-section {
    width: 660px;
  }
}

/* Extra large devices (large laptops and desktops, 1200px and up) */
@media only screen and (min-width: 1200px) {
  /*MAIN CONTAINER SECTIONS*/
}

/* ============================================================
   HOME PAGE — redesign additions
   ============================================================ */

/* Hero tagline */
#home-tag-line {
  display: flex;
  max-width: 480px;
  color: inherit;
  line-height: 1.5;
}

/* --- Stats bar --- */
#home-stats {
  margin-top: 1rem;
}

.stat-block {
  padding: 1.5rem 1rem;
  border-radius: 1rem;
  background: rgba(var(--shadow-rgb), 0.04);
}

.stat-number {
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1;
  color: var(--primary-color, #c0392b);
}

.stat-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted-color);
  margin-top: 0.25rem;
}

/* #discover-your-community background overlay */
#discover-your-community {
  background: none; /* override old background-image rule */
  background-color: var(--surface-alt-color);
  position: relative;
}

#discover-your-community::before {
  display: none; /* override old ::before overlay */
}

#discover-your-community * {
  color: inherit; /* override old "all white" rule */
}

/* --- Category browse tiles (#homepage-tabs) --- */
#homepage-tabs {
  display: none;
  flex-flow: row wrap;
  justify-content: stretch;
  align-items: stretch;
  width: 100%;
  min-height: 280px;
  gap: 0;
}

#homepage-tabs.show {
  display: flex;
}

#homepage-tabs > section {
  flex: 1 1 50%;
  position: relative;
  min-height: 220px;
  overflow: hidden;
  cursor: pointer;
}

@media (min-width: 768px) {
  #homepage-tabs > section {
    flex: 1 1 25%;
    min-height: 300px;
  }
}

.tile-link {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
  color: inherit;
  position: absolute;
  inset: 0;
}

#homepage-tabs > section img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

#homepage-tabs > section img.grow {
  transform: scale(1.08);
}

#homepage-tabs > section img.shrink {
  transform: scale(1);
}

.tile-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(var(--shadow-rgb), 0.75) 0%,
    rgba(var(--shadow-rgb), 0.15) 60%,
    transparent 100%
  );
  pointer-events: none;
  transition: background 0.3s ease;
}

#homepage-tabs > section:hover .tile-overlay {
  background: linear-gradient(
    to top,
    rgba(var(--shadow-rgb), 0.55) 0%,
    rgba(var(--shadow-rgb), 0.3) 100%
  );
}

.caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.25rem 1rem 1rem;
  color: var(--text-on-brand);
  z-index: 2;
  pointer-events: none;
}

.caption h4 {
  margin: 0 0 0.15rem;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-on-brand);
}

.caption p {
  margin: 0;
  font-size: 0.85rem;
  opacity: 0.85;
  color: var(--text-on-brand);
}

/* --- How It Works (#community-services redesign) --- */
#community-services {
  background: var(--surface-color);
}

#community-services li {
  padding: 3rem 1rem;
}

.how-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--primary-color, #c0392b);
  color: var(--text-on-brand);
  font-size: 1.8rem;
  margin: 0 auto;
}

/* override old alternating-row background so plain white shows */
#community-services li:nth-child(even) {
  background-color: transparent;
}

/* ---------------------------------------------------------------
   Dashboard — Glass Theme
--------------------------------------------------------------- */

main#dashboard {
  background: linear-gradient(
    135deg,
    var(--dash-grad-1) 0%,
    var(--dash-grad-2) 60%,
    var(--dash-grad-3) 100%
  );
  min-height: 100vh;
}

/* Sidebar nav — glass panel matching KPI cards */
#dashboard .nav ul {
  background: var(--glass-bg) !important;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--glass-border) !important;
  border-radius: 1rem !important;
  box-shadow: 0 2px 18px rgba(var(--shadow-rgb), 0.065) !important;
  padding: 1rem !important;
}
#dashboard .nav .nav-link {
  border-radius: 0.6rem !important;
  padding: 0.45rem 0.5rem !important;
  margin-bottom: 0.2rem !important;
  flex-flow: row nowrap !important;
  gap: 0.5rem;
}
#dashboard .nav .nav-link .label {
  display: inline-flex !important;
  font-size: 0.78rem;
  font-weight: 500;
}
#dashboard .nav .nav-link .icon {
  width: 22px !important;
  height: auto !important;
  flex-shrink: 0;
}
#dashboard .nav .nav-link .icon i {
  font-size: 1rem !important;
}
#dashboard .nav .nav-link .badge {
  display: inline-flex !important;
  background: rgba(var(--shadow-rgb), 0.07) !important;
  color: var(--text-muted-color) !important;
  font-size: 0.65rem;
  padding: 0.1rem 0.4rem;
  border-radius: 2rem;
  font-weight: 600;
  margin-left: auto;
}
#dashboard .nav .active {
  background: var(--primary-color) !important;
  color: var(--text-on-brand) !important;
}
#dashboard .nav .active * {
  color: var(--text-on-brand) !important;
}
#dashboard .nav .active .badge {
  background: rgba(var(--text-on-brand-rgb), 0.25) !important;
  color: var(--text-on-brand) !important;
}
#dashboard .nav .nav-link:hover:not(.active) {
  background: rgba(var(--shadow-rgb), 0.05) !important;
}

/* Manage screen spacing */
#dashboard #manage-screen {
  margin-top: 1.25rem !important;
}
#manage-screen .manage-tab.active {
  padding: 0 0.75rem 0.75rem;
}

/* Base glass card */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--glass-border);
  border-radius: 1rem;
  box-shadow: 0 2px 18px rgba(var(--shadow-rgb), 0.065);
  padding: 1.25rem;
}

/* Welcome banner */
.dash-welcome .dash-greeting {
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--text-strong-color);
}
.dash-welcome .dash-sub {
  font-size: 0.82rem;
  color: var(--text-muted-color);
}
.dash-badge {
  display: inline-flex;
  align-items: center;
  font-size: 0.73rem;
  font-weight: 500;
  padding: 0.22rem 0.6rem;
  border-radius: 2rem;
  line-height: 1.5;
}
.dash-badge.badge-ok {
  background: var(--badge-ok-bg);
  color: var(--badge-ok-fg);
}
.dash-badge.badge-warn {
  background: var(--badge-warn-bg);
  color: var(--badge-warn-fg);
}

.dash-pill-btn {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 500;
  padding: 0.32rem 0.85rem;
  border-radius: 2rem;
  border: 1.5px solid var(--primary-color);
  color: var(--primary-color) !important;
  text-decoration: none;
  transition:
    background 0.2s ease,
    color 0.2s ease;
  cursor: pointer;
  white-space: nowrap;
}
.dash-pill-btn:hover {
  background: var(--primary-color);
  color: var(--text-on-brand) !important;
}

/* KPI cards */
.dash-kpi {
  text-align: center;
}
.kpi-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.2rem;
  margin-bottom: 0.55rem;
}
.kpi-icon i {
  color: var(--text-on-brand) !important;
}
.kpi-red {
  background: var(--primary-color);
}
.kpi-teal {
  background: #0d9488;
}
.kpi-blue {
  background: #2563eb;
}
.kpi-green {
  background: #16a34a;
}

.kpi-value {
  font-size: 1.85rem;
  font-weight: 700;
  line-height: 1.1;
  color: var(--text-strong-color) !important;
  margin-bottom: 0.2rem;
}
.kpi-value .count {
  color: var(--text-strong-color) !important;
  font-weight: 700;
}
.kpi-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted-color);
}
.kpi-sub {
  font-size: 0.7rem;
  color: var(--text-muted-color);
  margin-top: 0.15rem;
}

/* Card section titles */
.dash-card-title {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--text-muted-color);
  margin-bottom: 0.25rem;
}

/* Activity / listings table */
.dash-table {
  border-collapse: collapse;
  font-size: 0.84rem;
}
.dash-table th {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted-color);
  padding: 0.3rem 0;
  border-bottom: 1px solid rgba(var(--shadow-rgb), 0.07);
}
.dash-table td {
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(var(--shadow-rgb), 0.045);
  color: var(--text-muted-color);
}
.dash-table tbody tr:last-child td {
  border-bottom: none;
}

/* CSS horizontal bar chart */
.cbc-row {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 0.95rem;
}
.cbc-label {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-muted-color);
  width: 4.5rem;
  flex-shrink: 0;
}
.cbc-track {
  flex: 1;
  height: 10px;
  background: rgba(var(--shadow-rgb), 0.07);
  border-radius: 1rem;
  overflow: hidden;
}
.cbc-bar {
  height: 100%;
  border-radius: 1rem;
  width: var(--bar-w, 0%);
  clip-path: inset(0 100% 0 0);
  animation: cbc-reveal 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
  animation-delay: 0.25s;
}
@keyframes cbc-reveal {
  to {
    clip-path: inset(0 0% 0 0);
  }
}
.cbc-green {
  background: #22c55e;
}
.cbc-red {
  background: var(--primary-color);
}
.cbc-blue {
  background: #3b82f6;
}
.cbc-val {
  font-size: 0.73rem;
  font-weight: 600;
  color: var(--text-muted-color);
  white-space: nowrap;
  width: 5.5rem;
  text-align: right;
  flex-shrink: 0;
}

/* Donut chart area */
.donut-wrap {
  flex-shrink: 0;
}
.donut-legend {
  font-size: 0.82rem;
  line-height: 2;
}
.donut-legend li {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--text-muted-color);
}
.dleg-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.dleg-red {
  background: rgba(var(--primary-color-rgb), 0.82);
}
.dleg-blue {
  background: rgba(59, 130, 246, 0.82);
}
.dleg-green {
  background: rgba(34, 197, 94, 0.82);
}

/* Campaign mini-cards */
.dash-mini-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(var(--shadow-rgb), 0.022);
  border: 1px solid rgba(var(--shadow-rgb), 0.07);
  border-radius: 0.75rem;
  padding: 0.7rem 0.9rem;
}
.dmc-icon {
  font-size: 1.35rem;
  flex-shrink: 0;
}
.dmc-icon i {
  color: var(--primary-color) !important;
}
.dmc-label {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-strong-color);
}
.dmc-counts {
  font-size: 0.74rem;
  color: var(--text-muted-color);
  margin-top: 0.1rem;
}

/* Mobile tweaks */
@media (max-width: 767.98px) {
  .glass-card {
    padding: 0.9rem;
  }
  .kpi-value {
    font-size: 1.45rem;
  }
  .cbc-val {
    width: 4.5rem;
    font-size: 0.68rem;
  }
  .dash-pill-btn {
    font-size: 0.72rem;
    padding: 0.25rem 0.65rem;
  }
}

/* ---------------------------------------------------------------
   Admin dashboard — admin-specific components
--------------------------------------------------------------- */

/* Admin shield badge in welcome banner */
.admin-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.18rem 0.6rem;
  border-radius: 2rem;
  background: rgba(var(--primary-color-rgb), 0.12);
  color: var(--primary-color);
  vertical-align: middle;
}

/* Expiry warning row in table */
.admin-expiry-row td {
  border-top: 1px solid rgba(var(--badge-warn-rgb), 0.2);
}

/* Activity log feed */
.admin-log-feed {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.admin-log-row {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
}
.admin-log-dot {
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary-color);
  margin-top: 0.35rem;
}
.admin-log-body {
  flex: 1;
  min-width: 0;
}
.admin-log-text {
  font-size: 0.83rem;
  color: var(--text-strong-color);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.admin-log-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.1rem;
}
.admin-log-user {
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--primary-color);
  text-decoration: none;
}
.admin-log-user:hover {
  text-decoration: underline;
}
.admin-log-time {
  font-size: 0.72rem;
  color: var(--text-muted-color);
}

/* Responsive adjustments */
@media (max-width: 767.98px) {
  .admin-log-text {
    font-size: 0.78rem;
  }
}

/* ---------------------------------------------------------------
   Dashboard shared responsive improvements
   (user /dashboard and admin /admin)
--------------------------------------------------------------- */

/* ── Sticky sidebar so the nav stays in view on long tabs ── */
@media (min-width: 992px) {
  #dashboard .nav {
    position: sticky;
    top: 0;
    max-height: 100vh;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(var(--shadow-rgb), 0.12) transparent;
    padding-bottom: 1rem;
  }
  #dashboard .nav::-webkit-scrollbar {
    width: 4px;
  }
  #dashboard .nav::-webkit-scrollbar-thumb {
    background: rgba(var(--shadow-rgb), 0.12);
    border-radius: 2px;
  }
}

/* ── Side-menu: pill tab bar (replaces old column-based layout) ── */
#manage-screen .side-menu {
  display: flex !important;
  flex-flow: row nowrap !important;
  align-items: center;
  gap: 0.4rem;
  overflow-x: auto;
  padding: 0 0 0.65rem !important;
  margin: 0 0 1.1rem !important;
  min-width: 0;
  border-bottom: 1px solid rgba(var(--shadow-rgb), 0.08);
  scrollbar-width: none;
}
#manage-screen .side-menu::-webkit-scrollbar {
  display: none;
}

/* Pill buttons */
#manage-screen .side-menu .manage-btn,
#manage-screen .side-menu li.manage-btn {
  flex-shrink: 0;
  display: inline-flex !important;
  align-items: center;
  gap: 0.35rem;
  width: auto !important;
  /* A near-invisible rgba(shadow) tint read as a disabled gray pill in
     light mode - a plain, bright surface reads as a normal (inactive but
     clickable) tab instead, matching every other non-active pill in this
     app. Dark mode keeps the original translucent tint below, which
     already looks correct against a dark surface. */
  background: var(--surface-color);
  border: 1.5px solid rgba(var(--shadow-rgb), 0.09);
  border-radius: 2rem;
  padding: 0.3rem 0.85rem !important;
  font-size: 12px !important;
  margin-right: 3px !important;
  font-weight: 500;
  color: var(--text-muted-color);
  white-space: nowrap;
  cursor: pointer;
  transition:
    background 0.15s ease,
    color 0.15s ease,
    border-color 0.15s ease;
}
#manage-screen .side-menu .manage-btn.active,
#manage-screen .side-menu li.manage-btn.active {
  background: var(--primary-color) !important;
  border-color: var(--primary-color) !important;
  color: var(--text-on-brand) !important;
}
/* The .active rule's color above only reaches text that's a direct child
   of the <li> itself (plain-text manage-btns like "Discover"/"Manage").
   Searches/Settings instead wrap their label in <span class="icon">/
   <span class="label"> - and the global `* { color: var(--text-color); }`
   reset (top of this file) matches those spans directly, which always
   wins over an inherited value no matter how specific/!important the
   ancestor's own color rule is. Target the spans explicitly so they
   don't fall back to that global default while active. */
#manage-screen .side-menu .manage-btn.active .icon,
#manage-screen .side-menu .manage-btn.active .label,
#manage-screen .side-menu li.manage-btn.active .icon,
#manage-screen .side-menu li.manage-btn.active .label {
  color: var(--text-on-brand) !important;
}
#manage-screen .side-menu .manage-btn:hover:not(.active),
#manage-screen .side-menu li.manage-btn:hover:not(.active) {
  background: rgba(var(--shadow-rgb), 0.08);
  border-color: rgba(var(--shadow-rgb), 0.14);
}
html.dark-mode #manage-screen .side-menu .manage-btn,
html.dark-mode #manage-screen .side-menu li.manage-btn {
  background: rgba(var(--shadow-rgb), 0.04);
}
#manage-screen .side-menu .manage-btn .icon,
#manage-screen .side-menu .manage-btn .label {
  display: inline !important;
}
/* Override any old bottom-border active indicator */
.side-menu .active {
  border-bottom: none !important;
}

/* ── Side-menu-screen: glass wrapper ── moved down to each direct child of
   the .row (main content column, near-me sidebar column, etc.) instead of
   one undifferentiated wrapper around the whole screen - gives each area
   its own distinct card instead of blending the dynamic content and the
   near-me widget into a single seamless panel. */
.side-menu-screen {
  min-height: 80px;
}

.side-menu-screen > .row > div {
  /* Was a backdrop-filter:blur(12px) "frosted glass" panel - dropped
     entirely (not just on :first-child) because the blur bled visibly
     across the shared border into the adjacent column regardless of
     which side it was applied to (a GPU-compositing edge artifact, not
     something containable with overflow/clipping). A solid surface is
     the only version of this that reliably has zero blur anywhere near
     its edges in every browser. */
  background: var(--surface-color);
  border: 1px solid var(--glass-border);
  border-radius: 0.85rem;
  box-shadow: 0 2px 14px rgba(var(--shadow-rgb), 0.055);
  overflow: hidden;
  /* These columns carry Bootstrap's .p-0/.pe-lg-0 utilities (!important),
     so plain padding here would be silently overridden - without it the
     content butts straight against the new card's rounded/bordered edges. */
  padding: 1em !important;
}

@media (min-width: 992px) {
  /* The two columns (col-lg-8 + col-lg-4, or similar) already sum to
     exactly 100% width with zero gutter (p-0/pe-lg-0). A margin-based gap
     adds space OUTSIDE each column's declared width, pushing the combined
     total past 100% and triggering flex-wrap - exactly what was stacking
     these instead of showing them side by side. padding-left doesn't have
     that problem: box-sizing: border-box is forced globally (see the `*`
     rule near the top of this file), so padding is absorbed INSIDE the
     column's own declared width instead of adding to it - the visual gap
     appears with zero risk of overflow, regardless of which Bootstrap
     column classes any given view.php uses this on. */
  .side-menu-screen > .row > div + div {
    padding-left: calc(1em + 0.75rem) !important;
  }
}

/* ── manage-tab padding by breakpoint ── */
#manage-screen .manage-tab.active {
  padding: 0 0.5rem 0.75rem;
}

@media (min-width: 576px) {
  #manage-screen .manage-tab.active {
    padding: 0 0.65rem 1rem;
  }
}
@media (min-width: 992px) {
  #manage-screen .manage-tab.active {
    padding: 0 0.85rem 1.25rem;
  }
}

/* ── KPI cards — ensure 4-up from sm ── */
@media (min-width: 576px) {
  .dash-kpi {
    text-align: left;
  }
  .dash-kpi .kpi-icon {
    margin-bottom: 0.4rem;
  }
}
@media (max-width: 575.98px) {
  .kpi-value {
    font-size: 1.55rem;
  }
  .kpi-sub {
    font-size: 0.68rem;
  }
}

/* ── Tablet (768-991px): content is full width, more breathing room ── */
@media (min-width: 768px) and (max-width: 991.98px) {
  .glass-card {
    padding: 1.1rem;
  }
}

/* ── Large desktop: wider manage-screen padding ── */
@media (min-width: 1200px) {
  #manage-screen .manage-tab.active {
    padding: 0 1rem 1.5rem;
  }
  .dash-kpi {
    text-align: center;
  }
}

/* ---------------------------------------------------------------
   Profile page redesign  (views/user/account.php)
--------------------------------------------------------------- */

/* Cover hero */
#profile-header-wrap {
  height: 17em !important;
  border-radius: 1.25rem !important;
  margin: 1rem 0 0 !important;
  position: relative;
}
#profile-header-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(var(--shadow-rgb), 0.52) 0%,
    rgba(var(--shadow-rgb), 0.12) 55%,
    transparent 100%
  );
  pointer-events: none;
  z-index: 1;
}
#profile-header-wrap .container {
  position: relative;
  z-index: 2;
}

/* No-cover gradient: brand red → deep violet */
#profile-header-wrap.no-banner {
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    #6d0024 40%,
    #1a1a6c 100%
  ) !important;
}

/* Social links floating on the cover */
#social-links {
  background: rgba(var(--text-on-brand-rgb), 0.15) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  border: 1px solid rgba(var(--text-on-brand-rgb), 0.25) !important;
  border-radius: 0.75rem !important;
  padding: 0.35rem 0.65rem !important;
  margin-top: 0.75rem !important;
}
#social-links li a {
  color: var(--text-on-brand) !important;
}
#social-links li a i,
#social-links li a svg {
  filter: brightness(10);
}

/* Profile identity panel — glass card overlapping the cover */
#profile-wrap {
  top: auto !important;
  bottom: -5em !important;
  left: 0.75em !important;
  right: 0.75em !important;
  margin: 0 !important;
  padding: 1rem 1.25rem 1rem !important;
  background: var(--glass-bg) !important;
  backdrop-filter: blur(18px) !important;
  -webkit-backdrop-filter: blur(18px) !important;
  border: 1px solid var(--glass-border) !important;
  border-radius: 1rem !important;
  box-shadow: 0 6px 30px rgba(var(--shadow-rgb), 0.12) !important;
}

/* Avatar */
#user-dp {
  width: 88px !important;
  height: 88px !important;
  border: 3px solid var(--surface-color) !important;
  box-shadow: 0 2px 14px rgba(var(--shadow-rgb), 0.18) !important;
  background: var(--surface-alt-color) !important;
}
#user-dp img {
  width: 82px !important;
  height: 82px !important;
}
#user-dp .avatar i {
  font-size: 2.4rem !important;
}

/* Name */
#user-details #user-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-strong-color);
  gap: 0.5rem;
}
#occupation,
#vocation {
  font-size: 0.82rem;
  color: var(--text-muted-color);
  margin-top: 0.1rem;
}
#user-details .posted-on {
  font-size: 0.76rem;
  color: var(--text-muted-color);
  margin-top: 0.15rem;
}
/* Rating inside profile */
#bold-rating {
  margin-top: 0.25rem;
}

/* Engagement counters row */
#user-details .counters {
  margin-top: 0.5rem;
}
#user-details .counters .count-wrap > .row {
  gap: 0.25rem;
}
#user-details .counters .count-wrap button {
  background: rgba(var(--shadow-rgb), 0.04) !important;
  border: 1.5px solid rgba(var(--shadow-rgb), 0.09) !important;
  border-radius: 2rem !important;
  padding: 0.22rem 0.72rem !important;
  font-size: 0.74rem !important;
  line-height: 1.3;
  display: flex;
  gap: 0.2rem;
  align-items: baseline;
}
#user-details .counters .count-wrap button .count {
  font-weight: 700;
  color: var(--text-strong-color);
  font-size: 0.82rem;
}
#user-details .counters .count-wrap button .label {
  color: var(--text-muted-color);
  font-size: 0.7rem;
}
#user-details .counters .count-wrap button:hover {
  background: rgba(var(--shadow-rgb), 0.07) !important;
  border-color: rgba(var(--shadow-rgb), 0.15) !important;
}

/* Push nav below the extended profile panel */
/* margin-top is relative to the cover's bottom edge, not top of page */
/* profile-wrap extends 5em below cover via bottom:-5em, so we need ~7em clearance */
#manage-nav {
  margin-top: 7.5rem !important;
  display: flex !important;
  flex-flow: row nowrap !important;
  gap: 0.4rem;
  overflow-x: auto;
  padding: 0 0 0.75rem !important;
  border-bottom: 1px solid rgba(var(--shadow-rgb), 0.07);
  scrollbar-width: none;
}
#manage-nav::-webkit-scrollbar {
  display: none;
}

/* Nav pill buttons */
#manage-nav > button {
  flex-shrink: 0;
  background: rgba(var(--shadow-rgb), 0.04) !important;
  border: 1.5px solid rgba(var(--shadow-rgb), 0.09) !important;
  border-radius: 2rem !important;
  padding: 0.3rem 0.9rem !important;
  font-size: 0.8rem !important;
  font-weight: 500;
  color: var(--text-muted-color) !important;
  transition:
    background 0.15s,
    color 0.15s,
    border-color 0.15s;
  height: auto !important;
}
#manage-nav > button i {
  color: inherit !important;
  margin-right: 0.3em;
}
#manage-nav > .active {
  background: var(--primary-color) !important;
  border-color: var(--primary-color) !important;
  color: var(--text-on-brand) !important;
}
#manage-nav > .active i,
#manage-nav > .active .label {
  color: var(--text-on-brand) !important;
}
#manage-nav > button:hover:not(.active) {
  background: rgba(var(--shadow-rgb), 0.08) !important;
  color: var(--text-strong-color) !important;
  border-color: var(--glass-border) !important;
}

/* Profile content cards (replaced bg-white wrap rounded) */
.profile-card {
  background: var(--glass-bg) !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
  border: 1px solid var(--glass-border) !important;
  border-radius: 1rem !important;
  box-shadow: 0 2px 16px rgba(var(--shadow-rgb), 0.06) !important;
  padding: 1.1rem 1.1rem 0.9rem !important;
  margin-bottom: 1rem !important;
}
.profile-card > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(var(--shadow-rgb), 0.06);
}
.profile-card > header > .row {
  width: 100%;
  margin: 0;
}

/* Section title label */
.profile-section-title {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.075em;
  color: var(--text-muted-color);
  display: flex;
  align-items: center;
}

/* Section action button */
.profile-section-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}
.profile-section-actions button.get-btn,
.profile-section-actions a.get-btn {
  font-size: 0.73rem !important;
  padding: 0.18rem 0.6rem !important;
  border-radius: 2rem !important;
  border: 1.5px solid var(--primary-color) !important;
  color: var(--primary-color) !important;
  background: transparent !important;
  cursor: pointer;
  transition:
    background 0.15s,
    color 0.15s;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}
.profile-section-actions button.get-btn:hover,
.profile-section-actions a.get-btn:hover {
  background: var(--primary-color) !important;
  color: var(--text-on-brand) !important;
}
.profile-section-actions .icon {
  display: none;
}

/* Card content typography */
.profile-card p,
.profile-card .detail,
.profile-card .contact-detail {
  font-size: 0.87rem;
  color: var(--text-strong-color);
}
.profile-card .no-data {
  font-size: 0.82rem;
  color: var(--text-muted-color);
  font-style: italic;
}
.profile-card a {
  color: var(--text-muted-color);
  text-decoration: none;
}
.profile-card a:hover {
  color: var(--primary-color);
}

/* Services list */
.profile-card ul.list-unstyled li.list {
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(var(--shadow-rgb), 0.05);
}
.profile-card ul.list-unstyled li.list:last-child {
  border-bottom: none;
}
.profile-card .service-rate {
  font-size: 0.78rem;
  color: var(--text-muted-color);
  margin-top: 0.18rem;
}
.profile-card .service-rate .amount {
  font-weight: 600;
  color: var(--primary-color);
}
.profile-card .service-rate-info {
  font-size: 0.73rem;
  color: var(--text-muted-color);
}

/* Business hours table */
.profile-card table {
  width: 100%;
  font-size: 0.84rem;
}
.profile-card table tr {
  border-bottom: 1px solid rgba(var(--shadow-rgb), 0.04);
}
.profile-card table tr:last-child {
  border-bottom: none;
}
.profile-card .days {
  color: var(--text-muted-color);
  padding: 0.35rem 0.85rem 0.35rem 0;
  white-space: nowrap;
}
.profile-card table td {
  padding: 0.3rem 0;
  vertical-align: top;
}

/* Social links list */
#contact-detail .social-link {
  margin: 0;
}
#contact-detail .social-link li {
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(var(--shadow-rgb), 0.04);
}
#contact-detail .social-link li:last-child {
  border-bottom: none;
}

/* Contact primary badge */
.contact-primary {
  font-size: 0.7rem;
  color: var(--primary-color);
  font-weight: 600;
  margin-left: 0.4rem;
  background: rgba(var(--primary-color-rgb), 0.08);
  padding: 0.1rem 0.4rem;
  border-radius: 1rem;
}

/* Profile page subtle background tint */
.p-right {
  background: transparent;
}

/* Staff grid */
.staff-container {
  display: flex;
  flex-flow: row wrap;
  gap: 1rem;
  padding: 0.25rem 0;
}
.staff-container .tab {
  background: var(--glass-bg);
  backdrop-filter: blur(8px);
  border: 1px solid var(--glass-border);
  border-radius: 0.85rem;
  padding: 0.75rem;
  text-align: center;
  flex: 0 0 calc(50% - 0.5rem);
  transition:
    box-shadow 0.15s,
    transform 0.15s;
}
.staff-container .tab:hover {
  box-shadow: 0 4px 18px rgba(var(--shadow-rgb), 0.1);
  transform: translateY(-2px);
}
.staff-container .tab .img {
  margin-bottom: 0.5rem;
}
.staff-container .tab .title {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-strong-color);
}
.staff-container .tab .staff-position {
  font-size: 0.72rem;
  color: var(--text-muted-color);
  margin-top: 0.15rem;
}

/* Reviews section */
#div-reviews {
  padding: 0 0.5rem 0.75rem;
}
#div-reviews > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(var(--shadow-rgb), 0.07);
  margin-bottom: 0.75rem;
}
#div-reviews > header .col-10 {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--text-muted-color);
}

/* Responsive: mobile */
@media (max-width: 575.98px) {
  #profile-header-wrap {
    height: 13em !important;
    border-radius: 0.85rem !important;
  }
  #profile-wrap {
    bottom: -6em !important;
    left: 0.25em !important;
    right: 0.25em !important;
    padding: 0.8rem 1rem !important;
  }
  /* profile-wrap extends 6em below cover → need ~7.5em clearance */
  #manage-nav {
    margin-top: 7.5rem !important;
  }
  #user-dp {
    width: 70px !important;
    height: 70px !important;
  }
  #user-dp img {
    width: 64px !important;
    height: 64px !important;
  }
  .profile-card {
    padding: 0.85rem !important;
  }
  .staff-container .tab {
    flex: 0 0 calc(50% - 0.5rem);
  }
}

/* Responsive: tablet */
@media (min-width: 576px) and (max-width: 991.98px) {
  #profile-header-wrap {
    height: 15em !important;
  }
  /* profile-wrap extends 5em below cover → ~7rem clearance */
  #manage-nav {
    margin-top: 7rem !important;
  }
}

/* Responsive: desktop */
@media (min-width: 992px) {
  #profile-header-wrap {
    height: 18em !important;
  }
  /* profile-wrap extends 5em below cover → ~7.5rem clearance */
  #manage-nav {
    margin-top: 7.5rem !important;
  }
  .staff-container .tab {
    flex: 0 0 calc(33.333% - 0.67rem);
  }
}

/* ---------------------------------------------------------------
   Frosted Glass Header
--------------------------------------------------------------- */

/* Main sticky header bar */
.search-wrap {
  background: var(--glass-bg) !important;
  backdrop-filter: blur(18px) !important;
  -webkit-backdrop-filter: blur(18px) !important;
  border-bottom: 1px solid rgba(var(--shadow-rgb), 0.07) !important;
  box-shadow: 0 2px 20px rgba(var(--shadow-rgb), 0.06) !important;
}

/* Mobile search strip */
.search-wrap-mini {
  background: var(--glass-bg) !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
  border-bottom: 1px solid rgba(var(--shadow-rgb), 0.07) !important;
  box-shadow: 0 2px 12px rgba(var(--shadow-rgb), 0.05) !important;
}

/* Brand name — was white on dark, now colored on light */
.search-wrap #company-name .brand {
  color: var(--primary-color) !important;
}
.search-wrap #company-name .brand-group {
  color: var(--primary-color) !important;
}

/* Search input field */
.search-wrap .search-box {
  border: 1px solid rgba(var(--shadow-rgb), 0.1) !important;
  border-radius: 0.5rem !important;
  background: var(--glass-bg) !important;
}
.search-wrap .txt-search {
  color: var(--text-strong-color) !important;
}
.search-wrap .txt-search::placeholder {
  color: var(--text-muted-color) !important;
}
.search-wrap .btn-search i,
.search-wrap .txt-clear {
  color: var(--text-muted-color) !important;
}
.search-wrap .btn-search:hover i {
  color: var(--primary-color) !important;
}

/* Login / Register buttons - scoped to the two IDs, not a bare `button`
   selector, since .login-register also wraps #theme-toggle-btn's button;
   the old broad selector's !important forced that button transparent too,
   leaving its white icon invisible against the (also transparent-through-to-
   white) page background in light mode. */
.search-wrap .login-register #login-btn,
.search-wrap .login-register #register-btn {
  background: transparent !important;
  color: var(--text-muted-color) !important;
}
.search-wrap .login-register #login-btn {
  color: var(--text-muted-color) !important;
  background: transparent !important;
  border: 1.5px solid rgba(var(--shadow-rgb), 0.18) !important;
  border-radius: 2rem !important;
  padding: 0.3rem 0.9rem !important;
  font-size: 0.82rem !important;
}
.search-wrap .login-register #login-btn:hover,
.search-wrap .login-register #login-btn:focus {
  background: rgba(var(--shadow-rgb), 0.05) !important;
  box-shadow: none !important;
}
.search-wrap .login-register #register-btn {
  color: var(--text-on-brand) !important;
  background: var(--primary-color) !important;
  border: none !important;
  border-radius: 2rem !important;
  padding: 0.3rem 0.9rem !important;
  font-size: 0.82rem !important;
}
.search-wrap .login-register #register-btn:hover,
.search-wrap .login-register #register-btn:focus {
  background: var(--primary-color-hover) !important;
  color: var(--text-on-brand) !important;
  box-shadow: none !important;
}

/* Icon circle buttons — gray circles to subtle glass */
#bell-btn > button,
#menu-btn > button,
#discover-btn > button,
#cart-menu-btn > button,
#bookmark-menu-btn > button {
  background-color: rgba(var(--shadow-rgb), 0.07) !important;
  border: 1px solid rgba(var(--shadow-rgb), 0.08) !important;
}
#bell-btn > button:hover,
#menu-btn > button:hover,
#discover-btn > button:hover,
#cart-menu-btn > button:hover,
#bookmark-menu-btn > button:hover {
  background-color: rgba(var(--shadow-rgb), 0.13) !important;
}
#menu-btn i,
#discover-btn i,
#bell-btn i,
#cart-menu-btn i,
#bookmark-menu-btn i {
  color: var(--text-muted-color) !important;
}

/* Profile avatar in header */
#active-profile .avatar,
#active-profile .img {
  background-color: rgba(var(--shadow-rgb), 0.08) !important;
  border: 2px solid rgba(var(--shadow-rgb), 0.1) !important;
}
#active-profile .img i,
#active-profile .avatar i {
  color: var(--text-muted-color) !important;
}
#user-accounts #active-profile .avatar i {
  color: var(--text-muted-color) !important;
}

/* Mobile nav hamburger in banner */
#mini-dashboard-menu .mobile-nav-show-btn img {
  filter: brightness(0.3);
}

/* ---------------------------------------------------------------
   Frosted Glass Footer
--------------------------------------------------------------- */

/* Support block */
#support {
  background: var(--glass-bg) !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
  border-top: 1px solid rgba(var(--shadow-rgb), 0.07) !important;
  padding: 2.5rem 0 1.5rem !important;
  margin-top: 1rem;
}
#support * {
  color: var(--text-muted-color) !important;
}
#support h3 {
  font-size: 0.72rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.07em !important;
  color: var(--text-muted-color) !important;
  margin-bottom: 0.65rem !important;
}
#support p {
  font-size: 0.85rem;
  color: var(--text-muted-color) !important;
  line-height: 1.6;
}
#support a {
  color: var(--text-muted-color) !important;
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.15s;
}
#support a:hover {
  color: var(--primary-color) !important;
}
#support ul li {
  padding: 0.2rem 0;
}
#support #contacts li {
  font-size: 0.85rem;
}

/* Footer brand row */
.footer-brand-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.4rem;
}
.footer-brand-name {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.footer-brand-name .footer-blue {
  color: var(--brand-blue) !important;
}
.footer-brand-name .footer-red {
  color: var(--primary-color) !important;
}

.footer-tagline {
  font-size: 0.82rem;
  color: var(--text-muted-color) !important;
  margin-bottom: 0.75rem !important;
}
.footer-divider {
  border: none;
  border-top: 1px solid rgba(var(--shadow-rgb), 0.07);
  margin: 0.75rem 0 1.25rem;
}

/* Copyright bar */
#copyright {
  background: var(--glass-bg) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  border-top: 1px solid var(--glass-border) !important;
  padding: 0.9rem 0 !important;
}
#copyright * {
  color: var(--text-muted-color) !important;
}
#copyright ul {
  gap: 0.15rem;
  font-size: 0.78rem;
  margin-bottom: 0.4rem !important;
}
#copyright a:link,
#copyright a:visited {
  color: var(--text-muted-color) !important;
  text-decoration: none;
  transition: color 0.15s;
  padding: 0.1rem 0.35rem;
}
#copyright a:hover {
  color: var(--primary-color) !important;
  border-bottom: none !important;
}
#copyright .d-flex.justify-content-center > a strong {
  font-weight: 400;
  color: var(--text-muted-color) !important;
}

@media (max-width: 767.98px) {
  #support {
    padding: 2rem 0 1.25rem !important;
  }
  .footer-brand-name {
    font-size: 1rem;
  }
}

/* Footer brand logo — override global img { width:100%; height:100% } */
.footer-brand-row img {
  width: 36px !important;
  height: 36px !important;
  object-fit: contain !important;
  flex-shrink: 0;
}

/* Discover section — override old color:#fff !important so text reads on light bg */
#discover-your-community * {
  color: var(--text-strong-color) !important;
}
#discover-your-community h2 {
  color: var(--text-strong-color) !important;
}
#discover-your-community p {
  color: var(--text-muted-color) !important;
}
.stat-number {
  color: var(--primary-color) !important;
}
.stat-label {
  color: var(--text-muted-color) !important;
}

/* ================================================================
   Search page — glass card theme
   ================================================================ */

/* Refine-filters panel */
#div-refine-filters {
  background: var(--glass-bg) !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
  border: 1px solid var(--glass-border) !important;
  border-radius: 1rem !important;
  box-shadow: 0 2px 18px rgba(var(--shadow-rgb), 0.07) !important;
  padding: 0.85rem 1rem !important;
  margin-bottom: 0.85rem !important;
}
#div-refine-filters .title {
  font-size: 0.7rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.07em !important;
  color: var(--text-muted-color) !important;
  padding: 0 0 0.4rem !important;
}
/* Filter type buttons — pill style */
#div-filters > .filter {
  border-radius: 2rem !important;
  border: 1.5px solid rgba(var(--shadow-rgb), 0.12) !important;
  background: var(--glass-bg) !important;
  color: var(--text-muted-color) !important;
  padding: 0.2rem 0.7rem !important;
  font-size: 0.75rem !important;
  transition:
    background 0.18s,
    border-color 0.18s,
    color 0.18s;
}
#div-filters > .filter:hover {
  background: var(--glass-bg) !important;
  border-color: rgba(var(--shadow-rgb), 0.22) !important;
}
#div-filters .filter.active,
#div-filters .filter.active:hover {
  background: var(--primary-color) !important;
  border-color: var(--primary-color) !important;
  box-shadow: none !important;
}
#div-filters .filter.active .label {
  color: var(--text-on-brand) !important;
}
/* Location & budget selects */
#location-filters .form-control,
#budget {
  background: var(--glass-bg) !important;
  border: 1.5px solid rgba(var(--shadow-rgb), 0.12) !important;
  border-radius: 0.6rem !important;
}
#location-filters .form-control:focus,
#budget:focus {
  border-color: var(--input-focus-color) !important;
  box-shadow: 0 0 0 3px rgba(var(--input-focus-color-rgb), 0.1) !important;
  outline: none !important;
}

/* Link cards (.div-links — individual cards from SearchController::link()) */
.div-links {
  background: var(--glass-bg) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border: 1px solid var(--glass-border) !important;
  border-radius: 1rem !important;
  box-shadow: 0 2px 14px rgba(var(--shadow-rgb), 0.065) !important;
  margin-bottom: 0.75rem !important;
}

/* Feed cards (.div-feeds — used in links/trends sidebar and no-match state) */
.div-feeds,
.links .div-feeds {
  background: var(--glass-bg) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border: 1px solid var(--glass-border) !important;
  border-radius: 1rem !important;
  box-shadow: 0 2px 14px rgba(var(--shadow-rgb), 0.065) !important;
  margin-bottom: 0.75rem !important;
}

/* Main result cards */
#div-results .result {
  background: var(--glass-bg) !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
  border: 1px solid var(--glass-border) !important;
  border-radius: 1rem !important;
  box-shadow: 0 2px 18px rgba(var(--shadow-rgb), 0.07) !important;
  padding: 1rem !important;
  margin-bottom: 1rem !important;
}

/* Names link — brand blue instead of old cobalt */
#div-results .names a {
  color: var(--brand-blue) !important;
  font-weight: 600;
}
#div-results .names a:hover {
  /* color: var(--primary-color) !important; */
  text-decoration: underline !important;
}

/* Action buttons row (Contacts, Services…) */
#div-results .result .buttons {
  gap: 0.4rem;
  flex-wrap: wrap;
  margin-top: 0.45rem !important;
}
#div-results .result .buttons .get-btn {
  border: 1.5px solid rgba(var(--shadow-rgb), 0.14) !important;
  border-radius: 2rem !important;
  padding: 0.15rem 0.75rem !important;
  font-size: 0.75rem !important;
  color: var(--text-muted-color) !important;
  background: var(--glass-bg) !important;
  transition:
    background 0.18s,
    border-color 0.18s,
    color 0.18s;
}
#div-results .result .buttons .get-btn:hover {
  background: var(--glass-bg) !important;
  border-color: var(--primary-color) !important;
  color: var(--primary-color) !important;
}

/* Date / location metadata */
#div-results .result .posted-on {
  font-size: 0.72rem !important;
  color: var(--text-muted-color) !important;
  margin-top: 0.35rem !important;
}
#div-results .result .location {
  font-size: 0.78rem !important;
  color: var(--text-muted-color) !important;
  margin-top: 0.25rem !important;
}

/* Inventory badges (product cards) */
#div-results .result .inventory .state,
#div-results .result .inventory .in-stock {
  background: var(--glass-bg) !important;
  border: 1px solid rgba(var(--shadow-rgb), 0.1) !important;
  color: var(--text-muted-color) !important;
}

/* Price */
#div-results .result .price .currency {
  font-size: 0.75em;
  color: var(--text-muted-color) !important;
  margin-right: 0.1em;
}
#div-results .result .price .amount {
  font-weight: 700;
  color: var(--text-strong-color) !important;
}
#div-results .result .price .frequency {
  font-size: 0.75em;
  color: var(--text-muted-color) !important;
  margin-left: 0.15em;
}

/* Item-meta badges (property vacancy / availability) */
#div-results .result .item-meta span {
  background: var(--glass-bg) !important;
  border: 1px solid rgba(var(--shadow-rgb), 0.1) !important;
  color: var(--text-muted-color) !important;
}

/* Engage buttons (col-1 right side) */
.engage-btns button {
  background: var(--glass-bg) !important;
  border: 1px solid rgba(var(--shadow-rgb), 0.09) !important;
}
.engage-btns button:hover {
  background: var(--glass-bg) !important;
  border-color: var(--primary-color) !important;
  box-shadow: 0 0 0 2px rgba(var(--primary-color-rgb), 0.12) !important;
}
.engage-btns button i {
  color: var(--text-muted-color) !important;
}
.engage-btns button:hover i {
  color: var(--primary-color) !important;
}

/* Share button + popover (Component::shareBtn()) - .share-btn itself is a
   plain .engage-btns button (inherits the glass-circle icon styling above
   for free, since it's still nested one level down via .share-wrap); only
   the popover itself needs new rules. Toggled via .open (main.js), not
   .show/.hide like .ellipsis-menu, to avoid colliding with Bootstrap's own
   .show utility class other things on the page may rely on. */
.share-wrap {
  position: relative;
}

.share-menu {
  display: none;
  position: absolute;
  right: 100%;
  top: 0;
  margin-right: 0.4em;
  min-width: 160px;
  background-color: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: 0.6rem;
  box-shadow: 0 4px 16px rgba(var(--shadow-rgb), 0.25);
  overflow: hidden;
  z-index: 99;
}

.share-menu.open {
  display: block;
}

.share-option {
  display: flex;
  align-items: center;
  gap: 0.5em;
  width: 100%;
  border: none;
  background: transparent;
  padding: 0.5em 0.75em;
  font-size: 0.85rem;
  color: var(--text-color);
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}

.share-option:hover {
  background-color: var(--btn-hover-bg);
  text-decoration: none;
}

.share-option i {
  color: inherit !important;
  font-size: 1em;
  width: 1.1em;
  text-align: center;
}

/* Inline search advert cards (Card::search_advert → class="adverts") */
div.adverts {
  background: var(--glass-bg) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border: 1px solid var(--glass-border) !important;
  border-radius: 1rem !important;
  box-shadow: 0 2px 14px rgba(var(--shadow-rgb), 0.065) !important;
  padding: 0.8rem !important;
  margin-bottom: 0.75rem !important;
}

/* Sidebar advert cards (.div-ads) */
.adverts .div-ads {
  background: var(--glass-bg) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border: 1px solid var(--glass-border) !important;
  border-radius: 1rem !important;
  box-shadow: 0 2px 14px rgba(var(--shadow-rgb), 0.065) !important;
}

/* Link cards (.div-links) */
.div-links {
  background: var(--glass-bg) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border: 1px solid var(--glass-border) !important;
  border-radius: 1rem !important;
  box-shadow: 0 2px 14px rgba(var(--shadow-rgb), 0.065) !important;
}

/* Admin comment/review report moderation queue - the only place .btn-pill
   is used outside #comments-section/#reviews-section, so it needs its own
   unscoped base rule here (same look as the scoped ones). */
.btn-pill {
  display: inline-block;
  width: auto;
  flex: 0 0 auto;
  border-radius: 1rem;
  border: 0;
  padding: 0.3em 1.1em;
  font-size: 0.85em;
  background: var(--primary-color);
  color: var(--text-on-brand);
  white-space: nowrap;
  transition: background 0.2s;
}

.admin-reports .table {
  background: var(--surface-alt-color);
  border-radius: 1em;
  overflow: hidden;
}

.admin-reports .table th {
  font-size: 0.8em;
  color: var(--text-color);
  font-weight: 600;
  border-bottom: 1px solid var(--border-color);
}

.admin-reports .table td {
  font-size: 0.85em;
  vertical-align: middle;
}

/* Media gallery (Component::mediaGallery()) - fixed-aspect main viewer
   with cross-fade slides + a thumbnail strip. New, dedicated classes so
   this doesn't touch the existing .carousel styling other resource types
   still use. */
.media-gallery {
  width: 100%;
}

.gallery-main {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 1em;
  overflow: hidden;
  background: var(--surface-alt-color);
}

.gallery-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.gallery-slide.active {
  opacity: 1;
  z-index: 1;
}

.gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-prev,
.gallery-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 2.2em;
  height: 2.2em;
  border-radius: 50%;
  border: 0;
  background: rgba(var(--shadow-rgb), 0.35);
  color: var(--text-on-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.gallery-prev:hover,
.gallery-next:hover {
  background: rgba(var(--shadow-rgb), 0.55);
}

.gallery-prev {
  left: 0.6em;
}

.gallery-next {
  right: 0.6em;
}

.gallery-thumbs {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.5em;
  overflow-x: auto;
  margin-top: 0.6em;
  padding-bottom: 0.2em;
  scrollbar-width: thin;
}

.gallery-thumb {
  flex: 0 0 auto;
  width: 3.2em;
  height: 3.2em;
  border-radius: 0.6em;
  overflow: hidden;
  cursor: pointer;
  opacity: 0.6;
  border: 2px solid transparent;
  transition:
    opacity 0.2s,
    border-color 0.2s;
}

.gallery-thumb.active {
  opacity: 1;
  border-color: var(--primary-color);
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ===================================================================
   Media lightbox - generic full-screen viewer with prev/next + a
   thumbnail strip, images and video. Reused by chat attachments and by
   Component::mediaGallery()'s inline slides (property/product/store/
   advert/billboard/prospect) - built client-side only (openMediaLightbox()
   in main.js), no server coupling. Sits above the slide drawer (200000)
   since it can open on top of one, but below the toast/alert tier
   (999999+) so feedback messages stay visible.
   =================================================================== */

#media-lightbox {
  display: flex;
  flex-direction: column;
  position: fixed;
  inset: 0;
  z-index: 200010;
  background: rgba(var(--shadow-rgb), 0.92);
}

#media-lightbox.hide {
  display: none;
}

.lightbox-close {
  align-self: flex-end;
  margin: 0.6em 0.8em 0 0;
  width: 2.4em;
  height: 2.4em;
  border-radius: 50%;
  border: 0;
  background: var(--glass-bg);
  color: var(--text-on-brand);
  font-size: 1.2em;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-stage {
  position: relative;
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  padding: 1em 3.5em;
}

.lightbox-stage img,
.lightbox-stage video {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 0.4em;
}

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 2.6em;
  height: 2.6em;
  border-radius: 50%;
  border: 0;
  background: var(--glass-bg);
  color: var(--text-on-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2em;
}

.lightbox-prev {
  left: 0.8em;
}

.lightbox-next {
  right: 0.8em;
}

.lightbox-prev.hide,
.lightbox-next.hide {
  display: none;
}

.lightbox-thumbs {
  flex: 0 0 auto;
  display: flex;
  gap: 0.5em;
  overflow-x: auto;
  padding: 0.8em;
  scrollbar-width: thin;
}

.lightbox-thumb {
  flex: 0 0 auto;
  width: 3.5em;
  height: 3.5em;
  border-radius: 0.4em;
  overflow: hidden;
  border: 2px solid transparent;
  opacity: 0.6;
  cursor: pointer;
  position: relative;
}

.lightbox-thumb.active {
  opacity: 1;
  border-color: var(--primary-color);
}

.lightbox-thumb img,
.lightbox-thumb video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lightbox-thumb .lightbox-thumb-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-on-brand);
  background: rgba(var(--shadow-rgb), 0.3);
  font-size: 1em;
}

/* ===================================================================
   Slide drawer - generic left/right sliding panel. New, dedicated ids
   (separate from the existing #backdrop/#drawer, which is auth-form-
   specific and only ever fully opens/closes via page navigation today).
   Sits above the header (100000, see #header-wrap header) so it still
   correctly covers it as a full takeover, below the media lightbox
   (200010) since the lightbox can open on top of it.
   =================================================================== */

#slide-drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 200000;
  background: var(--overlay-color);
}

#slide-drawer {
  position: fixed;
  top: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background: var(--surface-color);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease-in-out;
}

#slide-drawer.drawer-right {
  right: 0;
  transform: translateX(100%);
}

#slide-drawer.drawer-left {
  left: 0;
  transform: translateX(-100%);
}

#slide-drawer.open {
  transform: translateX(0);
}

#slide-drawer header {
  position: relative;
  flex: 0 0 auto;
  padding: 1rem;
  border-bottom: 1px solid var(--border-color);
  width: 100%;
  box-sizing: border-box;
}

#slide-drawer header .header-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Overrides the unscoped .caption rule (homepage tile-overlay captions)
   which sets position:absolute - see #modal header .caption for the same
   fix on the modal side. */
#slide-drawer header .caption {
  position: static;
  bottom: auto;
  left: auto;
  right: auto;
  z-index: auto;
  pointer-events: auto;
  margin: 0.15em 0 0;
  padding: 0;
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--text-muted-color);
  line-height: 1.3;
}

#slide-drawer header .caption:empty {
  display: none;
}

#slide-drawer main {
  flex: 1 1 auto;
  width: 100%;
  min-height: 0;
  overflow-y: auto;
  box-sizing: border-box;
}

.slide-drawer-close-btn {
  flex: 0 0 auto;
  border: 0;
  background: var(--btn-hover-bg);
  color: var(--text-color);
  width: 2.4em;
  height: 2.4em;
  border-radius: 50%;
  font-size: 1em;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide-drawer-close-btn:hover {
  background: var(--primary-color);
  color: var(--text-on-brand);
}

#slide-drawer .chat-thread {
  width: 100%;
  height: 100%;
  max-height: none;
  border-radius: 0;
  box-sizing: border-box;
}

/* 100% width on mobile and tablet (up through Bootstrap's md), 50% on
   larger screens (lg and up) - not the fixed 26em this started as. */
@media (min-width: 992px) {
  #slide-drawer {
    width: 50%;
  }
}

/* ===================================================================
   Chat - conversation list, thread, composer. New, dedicated classes;
   reuses the established soft palette (#f5f7f8), .btn-pill, and the
   comment/review composer's collapsed-until-focus visual language
   where it makes sense, extended for a full messaging thread.
   =================================================================== */

/* Conversation list (inbox/starred) */
.chat-conversation-list {
  display: flex;
  flex-direction: column;
}

.chat-conversation-item {
  display: flex;
  align-items: center;
  gap: 0.7em;
  padding: 0.6em 0.4em;
  border-radius: 0.6em;
  cursor: pointer;
  transition: background 0.15s;
}

.chat-conversation-item:hover {
  background: var(--btn-hover-bg);
}

.chat-conversation-avatar {
  flex: 0 0 auto;
  width: 2.8em;
  height: 2.8em;
}

.chat-conversation-avatar .img,
.chat-conversation-avatar .avatar {
  width: 2.8em;
  height: 2.8em;
  border-radius: 50%;
  overflow: hidden;
}

.chat-conversation-avatar .img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.chat-conversation-avatar .avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--btn-hover-bg);
  font-size: 1.2em;
}

.chat-conversation-body {
  flex: 1 1 auto;
  min-width: 0;
}

.chat-conversation-top,
.chat-conversation-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5em;
}

.chat-conversation-title {
  font-weight: 600;
  font-size: 0.9em;
  color: var(--secondary-color);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.chat-conversation-time {
  font-size: 0.75em;
  color: var(--text-color);
  flex: 0 0 auto;
}

.chat-conversation-preview {
  font-size: 0.8em;
  color: var(--text-color);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.chat-unread-badge {
  flex: 0 0 auto;
  background: var(--primary-color);
  color: var(--text-on-brand);
  font-size: 0.7em;
  border-radius: 1em;
  padding: 0.1em 0.5em;
  min-width: 1.4em;
  text-align: center;
}

/* Thread */
.chat-thread {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 70vh;
  max-height: 640px;
  background: var(--surface-color);
  border-radius: 1em;
  overflow: hidden;
  box-sizing: border-box;
}

.chat-thread-header {
  padding: 0.6em 0.8em;
  border-bottom: 1px solid var(--border-color);
  gap: 0.6em;
}

.chat-thread-avatar .img,
.chat-thread-avatar .avatar {
  width: 2.4em;
  height: 2.4em;
  border-radius: 50%;
  overflow: hidden;
}

.chat-thread-avatar .img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.chat-thread-avatar .avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--btn-hover-bg);
}

.chat-thread-title {
  min-width: 0;
}

.chat-thread-name {
  font-weight: 600;
  font-size: 0.95em;
  color: var(--secondary-color);
}

.chat-thread-subtitle {
  font-size: 0.75em;
  color: var(--text-color);
}

.chat-thread-header .btn-icon {
  background: transparent;
  border: 0;
  width: 2em;
  height: 2em;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-color);
  transition: background 0.2s;
}

.chat-thread-header .btn-icon:hover {
  background: var(--btn-hover-bg);
}

.chat-thread-header .chat-star-btn.starred {
  color: var(--primary-color);
}

/* Messages */
.chat-messages {
  flex: 1 1 auto;
  width: 100%;
  overflow-y: auto;
  padding: 1em;
  background: var(--surface-alt-color);
  display: flex;
  flex-direction: column;
  gap: 0.5em;
  box-sizing: border-box;
}

.chat-message {
  display: flex;
  align-items: flex-end;
  gap: 0.5em;
  max-width: 78%;
}

.chat-message-received {
  align-self: flex-start;
}

.chat-message-sent {
  align-self: flex-end;
  flex-direction: row-reverse;
}

.chat-message-avatar .img,
.chat-message-avatar .avatar {
  width: 1.8em;
  height: 1.8em;
  border-radius: 50%;
  overflow: hidden;
}

.chat-message-avatar .img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.chat-bubble-wrap {
  min-width: 0;
}

.chat-message-sender {
  font-size: 0.75em;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 0.15em;
}

.chat-bubble {
  border-radius: 1em;
  padding: 0.5em 0.75em;
  background: var(--surface-color);
  box-shadow: 0 1px 3px rgba(var(--shadow-rgb), 0.06);
}

.chat-message-sent .chat-bubble {
  background: var(--primary-color);
  color: var(--text-on-brand);
}

.chat-message-sent .chat-message-body a {
  color: var(--text-on-brand);
  text-decoration: underline;
}

.chat-message-body {
  font-size: 0.88em;
  white-space: pre-wrap;
  word-break: break-word;
}

.chat-message-flash .chat-bubble {
  animation: chat-flash 1.2s ease;
}

@keyframes chat-flash {
  0% {
    box-shadow: 0 0 0 2px var(--primary-color);
  }
  100% {
    box-shadow: 0 1px 3px rgba(var(--shadow-rgb), 0.06);
  }
}

.chat-reply-preview {
  border-left: 3px solid var(--primary-color);
  background: rgba(var(--shadow-rgb), 0.04);
  border-radius: 0.4em;
  padding: 0.3em 0.5em;
  margin-bottom: 0.4em;
  cursor: pointer;
  font-size: 0.8em;
}

.chat-message-sent .chat-reply-preview {
  background: var(--glass-bg);
  border-left-color: var(--text-on-brand);
}

.chat-reply-sender {
  font-weight: 600;
}

.chat-reply-body {
  opacity: 0.85;
}

.chat-attachments {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4em;
  margin-bottom: 0.4em;
}

.chat-attachment-image img {
  max-width: 10em;
  max-height: 10em;
  border-radius: 0.6em;
  display: block;
  object-fit: cover;
}

.chat-attachment-video {
  position: relative;
  display: block;
}

.chat-attachment-video video {
  max-width: 10em;
  max-height: 10em;
  border-radius: 0.6em;
  display: block;
  object-fit: cover;
  background: var(--tooltip-bg);
}

.chat-attachment-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 2.2em;
  height: 2.2em;
  border-radius: 50%;
  background: rgba(var(--shadow-rgb), 0.55);
  color: var(--text-on-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1em;
  pointer-events: none;
}

.chat-attachment-file {
  display: flex;
  align-items: center;
  gap: 0.4em;
  background: var(--btn-hover-bg);
  border-radius: 0.4em;
  padding: 0.3em 0.6em;
  font-size: 0.8em;
  color: var(--text-color);
}

.chat-message-sent .chat-attachment-file {
  background: var(--glass-bg);
  color: var(--text-on-brand);
}

.chat-message-meta {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 0.3em;
  margin-top: 0.2em;
  font-size: 0.7em;
  opacity: 0.75;
}

.chat-reply-btn {
  background: transparent;
  border: 0;
  font-size: 0.75em;
  color: var(--text-color);
  padding: 0.1em 0.3em;
}

/* Reply banner above the composer */
.chat-reply-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--btn-hover-bg);
  border-left: 3px solid var(--primary-color);
  padding: 0.4em 0.6em;
  font-size: 0.8em;
}

.chat-reply-banner-label {
  font-weight: 600;
  margin-right: 0.3em;
}

/* Composer */
.chat-composer {
  width: 100%;
  padding: 0.6em 0.8em;
  border-top: 1px solid var(--border-color);
  gap: 0.5em;
  box-sizing: border-box;
}

.chat-composer-avatar .img,
.chat-composer-avatar .avatar {
  width: 2em;
  height: 2em;
  border-radius: 50%;
  overflow: hidden;
}

.chat-composer-avatar .img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.chat-composer-input-wrap {
  position: relative;
}

.chat-composer-textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--border-color);
  background: transparent;
  resize: none;
  overflow: hidden;
  font-size: 0.9em;
  padding: 0.3em 0.1em;
  max-height: 6em;
  transition: border-color 0.2s;
}

.chat-composer-textarea:focus {
  outline: none;
  border-bottom: 2px solid var(--input-focus-color);
}

.chat-composer-actions {
  gap: 0.3em;
}

.chat-composer-actions .btn-icon,
.chat-attach-btn {
  background: transparent;
  border: 0;
  width: 2em;
  height: 2em;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-color);
  cursor: pointer;
  transition: background 0.2s;
}

.chat-composer-actions .btn-icon:hover,
.chat-attach-btn:hover {
  background: var(--btn-hover-bg);
}

.chat-send-btn {
  border: 0;
  border-radius: 1rem;
  padding: 0.35em 1.1em;
  font-size: 0.85em;
  background: var(--primary-color);
  color: var(--text-on-brand);
  transition: background 0.2s;
}

.chat-send-btn:disabled {
  background: var(--btn-hover-bg);
  color: var(--text-color);
  cursor: not-allowed;
}

/* Attachment previews (before send) */
.chat-attachment-previews {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4em;
  margin-bottom: 0.3em;
}

.chat-attachment-preview {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.3em;
  background: var(--btn-hover-bg);
  border-radius: 0.4em;
  padding: 0.2em 0.4em;
  font-size: 0.75em;
}

.chat-attachment-preview img {
  width: 2em;
  height: 2em;
  object-fit: cover;
  border-radius: 0.3em;
}

.chat-attachment-remove {
  background: transparent;
  border: 0;
  color: var(--text-color);
  line-height: 1;
}

/* Emoji picker */
.chat-emoji-picker {
  position: absolute;
  bottom: 4.5em;
  right: 0.8em;
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: 0.8em;
  box-shadow: 0 4px 16px rgba(var(--shadow-rgb), 0.12);
  padding: 0.5em;
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 0.2em;
  z-index: 5;
  max-width: 18em;
}

.chat-emoji-option {
  background: transparent;
  border: 0;
  font-size: 1.2em;
  padding: 0.2em;
  border-radius: 0.4em;
  transition: background 0.15s;
}

.chat-emoji-option:hover {
  background: var(--btn-hover-bg);
}

/* Create conversation form */
.chat-create-form textarea {
  resize: vertical;
}

.chat-mention-wrap {
  position: relative;
}

.chat-mention-suggestions {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  margin-top: 0.2em;
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: 0.8em;
  box-shadow: 0 4px 16px rgba(var(--shadow-rgb), 0.12);
  padding: 0.4em;
  z-index: 5;
  max-height: 14em;
  overflow-y: auto;
}

.chat-mention-option {
  display: flex;
  align-items: center;
  gap: 0.5em;
  width: 100%;
  background: transparent;
  border: 0;
  text-align: left;
  padding: 0.4em 0.5em;
  border-radius: 0.5em;
  transition: background 0.15s;
}

.chat-mention-option:hover {
  background: var(--btn-hover-bg);
}

.chat-mention-option i {
  color: var(--text-muted-color);
}

.chat-mention-name {
  font-weight: 500;
}

.chat-mention-handle {
  color: var(--text-muted-color);
  margin-left: auto;
  font-size: 0.85em;
}

/* This codebase has no generic `.hide{display:none}` rule - every hide
   behavior needs its own scoped rule (see #search-wrap.hide,
   #in-page-notification.hide elsewhere in this file). These were missing
   for the chat elements below, so toggling `hide` on them did nothing. */
.chat-emoji-picker.hide {
  display: none;
}

.chat-mention-suggestions.hide {
  display: none;
}

.chat-reply-banner.hide {
  display: none;
}

#chat-attachment-input {
  display: none; /* always hidden - triggered via its <label> */
}
