﻿:root {
  --bg: #f8f9fb;
  --ink: #161a1f;
  --muted: #6c7684;
  --accent: #0d6efd;
}
html,
body {
  margin: 0;
  padding: 0;
}
body {
  background: var(--bg);
  color: var(--ink);
}
.navbar {
  margin-top: 0 !important;
}
.site-navbar {
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}
.brand-logo {
  height: 44px;
  width: auto;
  display: block;
}
.nav-pill {
  border-radius: 999px;
  padding: 0.35rem 0.85rem;
  font-weight: 600;
}
.hero-home {
  background: linear-gradient(140deg, #0f172a, #2c3a55);
  color: #fff;
}
.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.badge-soft {
  background: #ffe7f3;
  color: #9f1554;
}
.city-links a {
  text-decoration: none;
}
.section-title {
  color: #333;
  font-weight: 600;
}
.category-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  border-radius: 12px;
}
.category-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 28px rgba(0, 0, 0, 0.12);
}
.category-card .card-img-top {
  height: 250px;
  object-fit: cover;
  border-radius: 12px 12px 0 0;
}
.category-card .card-body {
  background: linear-gradient(145deg, #ffffff, #f4f7f8);
  border-radius: 0 0 12px 12px;
  padding: 20px;
}
.profile-card-body {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.profile-card-actions {
  margin-top: auto;
  flex-wrap: wrap;
}
.modal-header.hero-home {
  border-bottom: 0;
}
.promotion-badge {
  background-color: #ff2b8a;
  color: #fff;
}
.category-list-page ol {
  columns: 1;
}
.category-list-page a {
  color: #0d6efd;
}
.category-list-page .city-tile {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  color: #0d6efd;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.4;
  height: auto;
  text-decoration: none;
}
.category-list-page .city-tile:hover {
  background: transparent;
  box-shadow: none;
  color: #0a58ca;
  transform: none;
  text-decoration: underline;
}
.alpha-nav a {
  color: #0d6efd;
  text-decoration: none;
  font-weight: 500;
  min-width: auto;
}
.category-list-page h1 {
  font-weight: 700;
}
.category-list-page h2 {
  font-weight: 700;
}
.category-list-page h3.h5 {
  font-size: 1.4rem;
  font-weight: 700;
  color: #111827;
}
.category-list-page section {
  scroll-margin-top: 90px;
}
.dashboard-page .dashboard-menu .list-group-item {
  font-size: 1.05rem;
  border-color: #c7ced6;
  padding: 10px 14px;
}
.dashboard-page .dashboard-menu .list-group-item i {
  width: 18px;
  margin-right: 6px;
}
.dashboard-page .dashboard-menu {
  border-radius: 8px;
  overflow: hidden;
}
.dashboard-page .dashboard-menu .list-group-item.active {
  background-color: #1f6feb;
  border-color: #1f6feb;
}
.dashboard-page .card {
  border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
}
.dashboard-page .stat-card .card-body {
  min-height: 120px;
}
.ad-form .form-control,
.ad-form .form-select {
  border-radius: 10px;
  border-color: #cfd6df;
}
.ad-form .form-control:focus,
.ad-form .form-select:focus {
  border-color: #1f6feb;
  box-shadow: 0 0 0 0.2rem rgba(31, 111, 235, 0.18);
}
.ad-form .form-text {
  color: #6c7684;
}
@media (max-width: 767px) {
  .dashboard-page {
    padding-top: 0.5rem;
  }
}
.connect-actions {
  align-items: center;
}
.connect-actions .connect-btn {
  border-radius: 999px;
  min-width: 88px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.95rem;
  border-width: 1px;
  transition: all 0.15s ease;
  text-decoration: none !important;
}
.connect-actions .connect-chat {
  background: #198754 !important;
  border: 1px solid #198754 !important;
  color: #fff !important;
}
.connect-actions .connect-chat:hover {
  background: #157347 !important;
  border-color: #157347 !important;
  color: #fff !important;
}
.connect-actions .connect-call {
  background: #1f2937 !important;
  border: 1px solid #1f2937 !important;
  color: #fff !important;
}
.connect-actions .connect-call:hover {
  background: #111827 !important;
  border-color: #111827 !important;
  color: #fff !important;
}
.connect-actions .connect-telegram {
  background: #fff !important;
  border: 1px solid #0d6efd !important;
  color: #0d6efd !important;
}
.connect-actions .connect-telegram:hover {
  background: #0d6efd !important;
  border-color: #0d6efd !important;
  color: #fff !important;
}
.related-sidebar .related-item {
  padding: 10px;
  border: 1px solid #d8dee8;
  border-radius: 12px;
  margin-bottom: 10px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}
.related-sidebar .related-item:last-child {
  margin-bottom: 0;
}
.related-sidebar .related-thumb {
  width: 84px;
  height: 84px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
}
.related-sidebar .related-title {
  font-weight: 700;
  font-size: 1.02rem;
  line-height: 1.25;
  max-height: 2.55em;
  overflow: hidden;
  margin-bottom: 6px;
}
.min-w-0 {
  min-width: 0;
}

.related-sidebar .related-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 0.78rem;
  color: #475569;
}
.related-sidebar .meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #eef2ff;
  border: 1px solid #c7d2fe;
  border-radius: 999px;
  padding: 2px 8px;
}
.related-sidebar .related-btn {
  border: 1px solid #2563eb;
  color: #1d4ed8;
  background: #ffffff;
  font-weight: 600;
}
.related-sidebar .related-btn:hover {
  background: #2563eb;
  color: #fff;
}
.contact-buttons {
  display: flex;
  gap: 10px;
  justify-content: center;
  align-items: center;
  margin: 18px 0 10px;
  flex-wrap: wrap;
}
.contact-buttons .btn {
  min-width: 94px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
}
.contact-buttons .btn-info {
  color: #fff;
}
#relatedProfilesCarousel .carousel-control-prev,
#relatedProfilesCarousel .carousel-control-next {
  width: 12%;
}
.related-carousel-title {
  font-size: 1rem;
  line-height: 1.35;
  margin-bottom: 0.35rem;
}

.city-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
  border: 1px solid rgba(15, 23, 42, 0.08);
}
.city-card-media {
  position: relative;
  overflow: hidden;
}
.city-card-media img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
}
.city-card-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #c62828;
  color: #fff;
  font-weight: 700;
  font-size: 0.7rem;
  padding: 3px 6px;
  border-radius: 4px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.city-card-actions {
  margin-top: 10px;
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}
.city-card-actions .city-action {
  padding: 6px 10px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.18);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
.city-card-actions .city-action.wa {
  background: #25d366;
}
.city-card-actions .city-action.tg {
  background: #229ed9;
}
.city-card-actions .city-action.call {
  background: #e53935;
}

/* Ensure lightbox close button is visible */
.glightbox-container .gclose {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  top: 12px;
  right: 12px;
  opacity: 1;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 999px;
}
.glightbox-container .gclose svg {
  width: 20px;
  height: 20px;
}

.custom-lightbox-close {
  position: fixed;
  top: 14px;
  right: 14px;
  z-index: 99999;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  font-weight: 800;
  font-size: 18px;
  cursor: pointer;
}

.city-card-meta {
  position: absolute;
  left: 10px;
  bottom: 10px;
  background: rgba(0, 0, 0, 0.72);
  color: #fff;
  font-size: 0.78rem;
  padding: 3px 8px;
  border-radius: 6px;
}
.city-card-body {
  padding: 12px 14px 14px;
  text-align: center;
}
.city-card-title {
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.city-card-desc {
  color: #6b7280;
  font-size: 0.82rem;
  margin-bottom: 0;
}
.city-card.is-ad .city-card-meta,
.city-card.is-ad .city-card-actions {
  display: none;
}
@media (max-width: 767px) {
  .city-card-media img {
    height: 230px;
  }
  .city-card-actions .city-action {
    font-size: 0.74rem;
    padding: 6px 9px;
  }
}

