:root {
  --bg-main: #f5f8ff;
  --bg-soft: #ffffff;
  --ink: #13213d;
  --muted: #60708f;
  --line: #dce5f6;
  --primary: #1f5eff;
  --primary-soft: #e8efff;
  --accent: #00b3a4;
  --danger: #c92a2a;
  --nav: #0f1b3d;
  --shadow-soft: 0 10px 35px rgba(31, 62, 146, 0.1);
  --shadow-card: 0 6px 22px rgba(31, 62, 146, 0.08);
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg-main);
  position: relative;
}

.app-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background:
    radial-gradient(circle at 8% -5%, rgba(31, 94, 255, 0.17), transparent 36%),
    radial-gradient(circle at 92% 0%, rgba(0, 179, 164, 0.17), transparent 40%),
    linear-gradient(180deg, #f8fbff 0%, #f5f8ff 50%, #edf2ff 100%);
}

.app-navbar {
  background: linear-gradient(135deg, #000 0%, #000 70%, #000 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(12px);
}

.app-brand-logo {
  height: 40px;
}

.app-brand {
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.3px;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.app-brand:hover,
.app-brand:focus {
  color: #fff;
}

.brand-dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, #7ee8fa, #00b3a4);
  box-shadow: 0 0 0 6px rgba(0, 179, 164, 0.18);
}

.app-menu .app-link {
  color: rgba(255, 255, 255, 0.84);
  border-radius: 999px;
  padding: 0.5rem 0.9rem;
  font-weight: 600;
  margin-right: 0.35rem;
  transition: all 0.2s ease;
}

.app-menu .app-link:hover,
.app-menu .app-link:focus {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

.app-mobile-menu {
  gap: 0.15rem;
}

.app-mobile-menu .nav-link {
  margin-right: 0;
  border-radius: 12px;
  padding: 0.42rem 0.8rem;
  font-size: 0.95rem;
}

.navbar-toggler {
  border-color: rgba(255, 255, 255, 0.28);
}

.navbar-toggler-icon {
  filter: brightness(0) invert(1);
}

.app-mobile-header-actions {
  display: none;
}

@media (max-width: 991.98px) {
  .app-mobile-header-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }

  .app-mobile-menu .nav-link {
    color: rgba(255, 255, 255, 0.92);
  }

  .app-mobile-menu .nav-link:hover,
  .app-mobile-menu .nav-link:focus {
    color: #fff;
    background: rgba(255, 255, 255, 0.16);
  }

  .app-header-lang-switch {
    gap: 0.25rem;
  }

  .app-header-flag-link,
  .app-header-icon-control,
  .navbar-toggler {
    width: 32px;
    height: 32px;
    min-height: 32px;
    padding: 0;
    border-radius: 9px;
  }

  .navbar-toggler {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
  }

  .navbar-toggler:hover,
  .navbar-toggler:focus-visible {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.38);
  }

  .navbar-toggler-icon {
    width: 1.1rem;
    height: 1.1rem;
  }

  .app-mobile-menu {
    margin-top: 0.65rem;
  }
}

.app-dropdown {
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  border-radius: 14px;
  padding: 0.4rem;
}

.app-dropdown .dropdown-item {
  border-radius: 10px;
  font-weight: 600;
  color: var(--ink);
}

.app-dropdown .dropdown-item:hover {
  background: var(--primary-soft);
  color: var(--primary);
}

.lang-flag-icon {
  width: 18px;
  height: 12px;
  object-fit: cover;
  border-radius: 2px;
  border: 1px solid rgba(0, 0, 0, 0.14);
  vertical-align: -2px;
}

.app-header-tools {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.app-header-control {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 34px;
  padding: 0.38rem 0.7rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  line-height: 1;
  transition: background-color 0.16s ease, border-color 0.16s ease, transform 0.16s ease;
}

.app-header-control:hover,
.app-header-control:focus-visible {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.38);
  color: #fff;
}

.app-header-control:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.45);
  outline-offset: 2px;
}

.app-header-lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.app-header-flag-link {
  width: 34px;
  padding: 0;
}

.app-header-flag-link .lang-flag-icon {
  width: 18px;
  height: 13px;
  margin: 0;
  filter: grayscale(1) brightness(2.35) contrast(0.85);
  opacity: 0.82;
  border-color: rgba(255, 255, 255, 0.32);
  transition: filter 0.16s ease, opacity 0.16s ease, border-color 0.16s ease;
}

.app-header-flag-link:hover .lang-flag-icon,
.app-header-flag-link:focus-visible .lang-flag-icon,
.app-header-flag-link.active .lang-flag-icon {
  filter: none;
  opacity: 1;
}

.app-header-flag-link.active {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.5);
}

.app-header-icon-control {
  width: 34px;
  padding: 0;
}

.app-header-icon-control .bi {
  font-size: 1rem;
}

.app-header-logout-control {
  color: rgba(255, 224, 224, 0.98);
}

.app-header-logout-control:hover,
.app-header-logout-control:focus-visible {
  color: #fff;
  background: rgba(220, 53, 69, 0.22);
  border-color: rgba(255, 120, 137, 0.5);
}

.app-header-balance {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.app-header-balance .bi {
  font-size: 0.92rem;
}

.app-header-user-trigger {
  max-width: 240px;
  justify-content: flex-start;
  text-align: left;
  padding-right: 0.6rem;
}

.app-header-user-text {
  display: inline-block;
  max-width: 140px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.84rem;
  font-weight: 600;
}

.app-header-role-badge {
  flex-shrink: 0;
  border-radius: 999px;
  background: rgba(255, 193, 7, 0.9);
  color: #1f1a00;
  padding: 0.18rem 0.4rem;
  font-size: 0.63rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.app-badge {
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  border-radius: 999px;
  padding: 0.35rem 0.72rem;
}

.app-impersonation {
  border-top: 1px solid rgba(255, 193, 7, 0.45);
  border-bottom: 1px solid rgba(255, 193, 7, 0.45);
}

.alert {
  --alert-accent: #5b6f95;
  --alert-bg: #f5f8ff;
  --alert-border: #d9e4fb;
  --alert-ink: #223a68;
  border-radius: 14px;
  border: 1px solid var(--alert-border);
  border-left: 4px solid var(--alert-accent);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.82) 0%, rgba(255, 255, 255, 0.62) 100%), var(--alert-bg);
  color: var(--alert-ink);
  box-shadow: 0 8px 20px rgba(31, 62, 146, 0.08);
  padding: 0.8rem 0.95rem;
}

.alert .alert-link {
  color: inherit;
  text-decoration-color: currentColor;
}

.alert .btn-close {
  opacity: 0.68;
}

.alert .btn-close:hover,
.alert .btn-close:focus {
  opacity: 1;
}

.alert-primary,
.alert-info {
  --alert-accent: #2b63ff;
  --alert-bg: #edf3ff;
  --alert-border: #cfe0ff;
  --alert-ink: #173f9a;
}

.alert-success {
  --alert-accent: #118a5a;
  --alert-bg: #eaf8f2;
  --alert-border: #cdeedd;
  --alert-ink: #176a49;
}

.alert-warning {
  --alert-accent: #bb7a02;
  --alert-bg: #fff7e8;
  --alert-border: #ffe5be;
  --alert-ink: #7a4d00;
}

.alert-danger {
  --alert-accent: #c03434;
  --alert-bg: #fff0f0;
  --alert-border: #f4cccc;
  --alert-ink: #8a2525;
}

.alert-secondary,
.alert-light {
  --alert-accent: #6f7d99;
  --alert-bg: #f5f8ff;
  --alert-border: #d8e1f2;
  --alert-ink: #2f436d;
}

.alert-dark {
  --alert-accent: #2a3b63;
  --alert-bg: #edf1fb;
  --alert-border: #ced8ee;
  --alert-ink: #22365f;
}

.app-impersonation.alert {
  --alert-accent: #b9880d;
  --alert-bg: #fff6df;
  --alert-border: #f1dda2;
  --alert-ink: #6f4e08;
  border-left-width: 6px;
  border-radius: 0;
}

.card {
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--bg-soft);
  box-shadow: var(--shadow-card);
}

.table {
  --bs-table-bg: transparent;
  --bs-table-striped-bg: rgba(31, 94, 255, 0.04);
  --bs-table-striped-color: var(--ink);
  border-color: var(--line);
}

.table thead th {
  border-bottom-color: var(--line);
  color: #294272;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.form-control,
.form-select,
textarea.form-control {
  border-radius: 12px;
  border: 1px solid #ced9ef;
  color: var(--ink);
  padding: 0.6rem 0.75rem;
}

.form-select {
  padding-right: 2.3rem;
  background-position: right 0.7rem center;
}

.form-control:focus,
.form-select:focus,
textarea.form-control:focus {
  border-color: #7ea8ff;
  box-shadow: 0 0 0 0.18rem rgba(31, 94, 255, 0.17);
}

.btn {
  border-radius: 11px;
  font-weight: 700;
  letter-spacing: 0.2px;
}

.btn-primary {
  background: linear-gradient(135deg, #2d65ff 0%, #1f5eff 100%);
  border-color: #1f5eff;
}

.btn-primary:hover,
.btn-primary:focus {
  background: linear-gradient(135deg, #2559e8 0%, #184ccf 100%);
  border-color: #184ccf;
}

.btn-outline-secondary {
  border-color: #c8d6f1;
  color: #33508c;
}

.btn-outline-secondary:hover {
  background: #eff4ff;
  color: #23407a;
  border-color: #abc2ee;
}

.btn-outline-danger {
  border-color: #efb1b1;
  color: #aa2e2e;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  letter-spacing: -0.01em;
  font-weight: 800;
}

.text-muted,
.small.text-muted {
  color: var(--muted) !important;
}

.list-group-item {
  border-color: var(--line);
}

code {
  word-break: break-word;
  color: #0f2d6a;
  background: #eef4ff;
  padding: 0.08rem 0.3rem;
  border-radius: 6px;
}

#map-preview,
#public-map {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
}

.map-preview-layout {
  display: block;
}

.map-preview-layout.is-sidebar {
  display: grid;
  grid-template-columns: minmax(220px, 300px) 1fr;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}

.map-preview-layout.is-sidebar #map-preview,
.map-preview-layout.is-sidebar #public-map {
  border: 0;
  border-radius: 0;
}

.map-preview-sidebar {
  display: none;
  border-right: 1px solid var(--line);
  background: #f8faff;
  min-height: 240px;
  max-height: 100%;
  overflow-y: auto;
}

.map-preview-sidebar__placeholder {
  padding: 0.8rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.map-preview-sidebar__head {
  padding: 0.7rem 0.8rem;
  font-size: 0.9rem;
  font-weight: 800;
  color: #fff;
}

.map-preview-sidebar__body {
  padding: 0.75rem 0.8rem;
  font-size: 0.84rem;
  color: #243a67;
}

.map-preview-sidebar__video {
  margin-top: 0.6rem;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--line);
}

.map-preview-sidebar__video iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  display: block;
}

body.published-map-page {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  overflow: hidden;
}

.published-map-shell {
  position: relative;
  width: 100vw;
  height: 100vh;
  background: #f4f7fc;
}

.published-map-canvas {
  width: 100%;
  height: 100%;
}

body.published-map-page #public-map {
  border: 0;
  border-radius: 0;
}

.published-map-layout {
  width: 100%;
  height: 100%;
}

.published-map-layout.is-sidebar {
  display: grid;
  grid-template-columns: minmax(230px, 340px) 1fr;
  gap: 0;
  border: 0;
  border-radius: 0;
}

.published-map-sidebar {
  display: block;
  min-height: 0;
  max-height: 100%;
}

.published-map-overlay {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 550;
  max-width: min(580px, calc(100% - 24px));
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
}

.published-map-meta,
.published-map-filters {
  background: rgba(255, 255, 255, 0.93);
  backdrop-filter: blur(4px);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.65rem 0.75rem;
  box-shadow: 0 6px 20px rgba(15, 30, 66, 0.12);
  pointer-events: auto;
}

.published-map-meta p {
  font-size: 0.92rem;
}

@media (max-width: 991.98px) {
  .published-map-layout.is-sidebar {
    grid-template-columns: 1fr;
  }

  .published-map-sidebar {
    max-height: 34vh;
  }

  .published-map-overlay {
    max-width: calc(100% - 16px);
    left: 8px;
    top: 8px;
  }
}

@media (max-width: 991.98px) {
  .map-preview-layout.is-sidebar {
    grid-template-columns: 1fr;
  }

  .map-preview-sidebar {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    max-height: 220px;
  }
}

.poi-marker {
  position: relative;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: var(--poi-color, #1f5eff);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 6px 16px rgba(15, 29, 66, 0.25);
  font-size: 14px;
}

.poi-marker--image-plain {
  width: 100%;
  height: 100%;
  border-radius: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
}

.poi-marker--photo {
  width: 100%;
  height: 100%;
  border-radius: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
}

.poi-marker--photo::after {
  display: none;
}

.poi-marker__photo {
  width: 100%;
  height: 100%;
  border-radius: 10px;
  object-fit: cover;
  display: block;
}

.map-skin-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 420;
}

.poi-marker--editing {
  border-color: #ffe68a;
  box-shadow: 0 8px 20px rgba(15, 29, 66, 0.28), 0 0 0 4px rgba(255, 230, 138, 0.45);
}

.poi-marker--editing::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 999px;
  border: 2px solid rgba(255, 230, 138, 0.75);
  animation: poi-edit-pulse 1.6s ease-out infinite;
  pointer-events: none;
}

@keyframes poi-edit-pulse {
  0% {
    transform: scale(0.9);
    opacity: 0.95;
  }
  100% {
    transform: scale(1.35);
    opacity: 0;
  }
}

.poi-marker-wrap {
  background: transparent;
  border: none;
}

@media (max-width: 991.98px) {
  .app-menu .app-link {
    margin-right: 0;
    margin-bottom: 0.35rem;
  }

  .navbar-collapse {
    background: rgba(12, 24, 55, 0.86);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 14px;
    padding: 0.8rem;
    margin-top: 0.75rem;
  }
}

@media (max-width: 767.98px) {
  main.container-fluid {
    padding-top: 1rem;
  }

  .card {
    border-radius: 14px;
  }

  .table-responsive {
    border-radius: 12px;
    border: 1px solid var(--line);
    background: #fff;
  }
}

.plan-grid {
  display: grid;
  gap: 1rem;
}

.plan-grid--admin {
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
}

.plan-grid--modal {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.plan-pricing-card {
  border-radius: 12px;
  border: 1px solid rgba(20, 46, 102, 0.22);
  overflow: hidden;
  background: #fff;
  box-shadow: 0 8px 26px rgba(20, 46, 102, 0.14);
}

.plan-pricing-head {
  padding: 1rem;
  color: #fff;
}

.plan-pricing-price {
  font-size: 1.7rem;
  font-weight: 800;
  line-height: 1.15;
  margin-top: 0.4rem;
}

.plan-pricing-price small {
  font-size: 0.8rem;
  font-weight: 600;
  opacity: 0.9;
}

.plan-pricing-body {
  padding: 0.95rem 1rem 1.1rem;
}

.plan-pricing-list {
  margin: 0;
  padding-left: 1rem;
  color: #2d3d66;
}

.plan-pricing-list li {
  margin-bottom: 0.32rem;
  font-size: 0.9rem;
}

.plan-tone-a .plan-pricing-head {
  background: linear-gradient(135deg, #0f4f81 0%, #1764a1 100%);
}

.plan-tone-b .plan-pricing-head {
  background: linear-gradient(135deg, #7c1d53 0%, #9b2769 100%);
}

.plan-tone-c .plan-pricing-head {
  background: linear-gradient(135deg, #0f6868 0%, #178484 100%);
}

div.dt-container .dt-layout-row {
  margin: 0.55rem 0;
}

div.dt-container .dt-search input,
div.dt-container .dt-length select {
  border-radius: 10px;
  border: 1px solid #ced9ef;
  min-height: 36px;
  padding: 0.35rem 0.6rem;
}

div.dt-container .dt-length select {
  padding-right: 2rem;
  background-position: right 0.55rem center;
}

div.dt-container .dt-length,
div.dt-container .dt-search {
  color: var(--muted);
  font-size: 0.9rem;
}

div.dt-container .dt-length label,
div.dt-container .dt-search label {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

div.dt-container .dt-paging .dt-paging-button {
  border-radius: 9px !important;
  border: 1px solid #c8d6f1 !important;
  color: #33508c !important;
  background: #fff !important;
}

div.dt-container .dt-paging .dt-paging-button.current {
  background: linear-gradient(135deg, #2d65ff 0%, #1f5eff 100%) !important;
  border-color: #1f5eff !important;
  color: #fff !important;
}

div.dt-container .dt-info {
  color: var(--muted);
  font-size: 0.88rem;
}

.leaflet-popup-content-wrapper {
  border-radius: 12px;
  padding: 0;
  overflow: hidden;
}

.map-poi-popup {
  min-width: 180px;
}

.map-poi-popup__head {
  color: #fff;
  font-weight: 800;
  font-size: 0.92rem;
  line-height: 1.2;
  padding: 0.55rem 0.7rem;
}

.map-poi-popup__body {
  background: #fff;
  color: #25385f;
  padding: 0.6rem 0.7rem;
  font-size: 0.84rem;
  border-top: 1px solid #e7ecf8;
  max-height: 260px;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
}

.map-poi-popup__video {
  margin-top: 0.6rem;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #e7ecf8;
}

.map-poi-popup__video iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  display: block;
}

.map-poi-popup__extra-fields {
  margin-top: 0.55rem;
}

.map-poi-popup__extra-title {
  font-size: 0.74rem;
  font-weight: 700;
  color: #64748b;
  margin-bottom: 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.map-poi-popup__extra-list {
  margin: 0;
  padding-left: 1rem;
  list-style: none;
  display: grid;
  gap: 0.2rem;
}

.map-poi-popup__extra-list li {
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.poi-media-single {
  margin-bottom: 0.6rem;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #e7ecf8;
  background: #f7faff;
}

.poi-media-single img {
  width: 100%;
  max-height: 180px;
  object-fit: cover;
  display: block;
}

.poi-media-carousel {
  position: relative;
  margin-bottom: 0.6rem;
}

.poi-media-carousel__viewport {
  overflow: hidden;
  border-radius: 10px;
  border: 1px solid #e7ecf8;
  background: #f7faff;
}

.poi-media-carousel__track {
  display: flex;
  width: 100%;
  transition: transform 180ms ease;
}

.poi-media-carousel__slide {
  min-width: 100%;
  flex: 0 0 100%;
}

.poi-media-carousel__slide img {
  width: 100%;
  max-height: 180px;
  object-fit: cover;
  display: block;
}

@media (max-height: 860px) {
  #poiModal.poi-area-scroll .modal-body,
  #map-poi-modal.poi-area-scroll .modal-body {
    max-height: calc(100vh - 9.5rem);
    overflow-y: auto;
    overflow-x: hidden;
  }
}

.poi-media-carousel__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: rgba(18, 40, 83, 0.72);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  cursor: pointer;
}

.poi-media-carousel__nav--prev {
  left: 8px;
}

.poi-media-carousel__nav--next {
  right: 8px;
}

.poi-media-carousel__dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 8px;
}

.poi-media-carousel__dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: 0;
  background: #c9d5ef;
  padding: 0;
}

.poi-media-carousel__dot.is-active {
  background: #2b5eff;
}

.poi-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
}

.poi-gallery-card {
  border: 1px solid #d6e0f4;
  border-radius: 12px;
  background: #fff;
  padding: 8px;
}

.poi-gallery-card__image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid #e7ecf8;
  background: #f4f7ff;
}

.poi-gallery-card__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}

.flex-wrap .form-check-inline {
  padding-left: 0 !important;
  margin-lefT: 0 !important;
}

h1, h2 {
  font-weight: bold !important;
}

/*********************************************************/
/*********************************************************/
/*********************************************************/
/*********************************************************/
/*** POLYVIOS'S OVERRIDES ********************************/
/*********************************************************/

#myPoiGalleryModal .modal-content {
  background-color: #efefef;
  max-width: 800px;
  margin: 0 auto;
  border: 2px solid #333;
}

.btn {
    border-radius: 0;
    font-weight: 700;
    letter-spacing: 0;
    font-size: 12px;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;
}

.card {
    border-radius: 0;
}

.form-control, .form-select, textarea.form-control {
    border-radius: 0;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;
}

.dropdown .btn {
  display: flex;
  justify-content: space-between;
  padding: 0.6rem 0.75rem;
  line-height: 1.5;
  font-size: 1rem;
  align-items: center; 
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;
  background-color: #fff;
  color: #111;
  font-weight: normal;
  border: 1px solid #ced9ef;
}

.modal-content {
  border-radius: 0;
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;
}

.modal-header {
  background-color: #efefef;
  color: #111;
  border-radius: 0;
}

.plan-pricing-card {
    border-radius: 0;
}

.rounded-3 {
    border-radius: 0 !important; 
}

.user-dropdown {
  padding: 4px 8px !important;
}

@media (max-width: 991.98px) {
  .app-header-tools {
    width: 100%;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.4rem;
  }

  .app-header-user-trigger {
    max-width: 100%;
  }

  .app-header-user-text {
    max-width: 160px;
  }
}

.bold {
  font-weight: bold;
}

.tooltip {
  --bs-tooltip-bg: #102348;
  --bs-tooltip-color: #f4f8ff;
  --bs-tooltip-opacity: 1;
  --bs-tooltip-max-width: 340px;
  --bs-tooltip-padding-x: 0.7rem;
  --bs-tooltip-padding-y: 0.52rem;
  --bs-tooltip-border-radius: 10px;
  --bs-tooltip-font-size: 0.78rem;
  --bs-tooltip-arrow-width: 0.9rem;
  --bs-tooltip-arrow-height: 0.45rem;
  letter-spacing: 0.01em;
}

.tooltip .tooltip-inner {
  border: 1px solid rgba(154, 184, 247, 0.45);
  box-shadow: 0 10px 24px rgba(10, 24, 53, 0.28);
  line-height: 1.45;
  text-align: left;
}

.tooltip.show {
  opacity: 1;
}

.tooltip[data-popper-placement^='top'] .tooltip-arrow::before,
.tooltip[data-popper-placement^='bottom'] .tooltip-arrow::before,
.tooltip[data-popper-placement^='left'] .tooltip-arrow::before,
.tooltip[data-popper-placement^='right'] .tooltip-arrow::before {
  filter: drop-shadow(0 4px 8px rgba(10, 24, 53, 0.22));
}
