:root {
  --primary: #0d6efd;
  --primary-dark: #0a58ca;
  --secondary: #6c757d;
  --success: #198754;
  --warning: #ffc107;
  --danger: #dc3545;
  --accent: #0dcaf0;
  --dark: #1a2332;
  --light: #f8f9fa;
  --neutral-50: #fafafa;
  --neutral-100: #f1f3f5;
  --neutral-200: #e9ecef;
  --neutral-300: #dee2e6;
  --neutral-400: #ced4da;
  --neutral-500: #adb5bd;
  --neutral-600: #6c757d;
  --neutral-700: #495057;
  --neutral-800: #343a40;
  --neutral-900: #212529;
  --spacing: 8px;
  --radius: 12px;
  --shadow: 0 2px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
  --transition: 0.25s ease;
}

* { box-sizing: border-box; }

body {
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  color: var(--neutral-800);
  background: var(--neutral-50);
}

h1, h2, h3, h4, h5, h6 { line-height: 1.2; }

a { color: var(--primary); transition: color var(--transition); }
a:hover { color: var(--primary-dark); }

/* Navbar */
.main-nav {
  background: linear-gradient(135deg, var(--dark) 0%, #243b55 100%);
  padding: 0.75rem 0;
}
.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--primary);
  color: #fff;
  border-radius: 8px;
  font-weight: 800;
  font-size: 0.85rem;
  margin-right: 4px;
}
.main-nav .nav-link { color: rgba(255,255,255,0.85); font-weight: 500; }
.main-nav .nav-link:hover { color: #fff; }

/* Hero */
.hero-section {
  background: linear-gradient(135deg, #1a2332 0%, #2c5364 50%, #0d6efd 100%);
  background-size: cover;
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
}
.hero-overlay {
  position: relative;
  z-index: 2;
  width: 100%;
}
.hero-section h1 { text-shadow: 0 2px 8px rgba(0,0,0,0.3); }

/* Category cards */
.category-card {
  border: 2px solid var(--neutral-200);
  border-radius: var(--radius);
  transition: all var(--transition);
  background: #fff;
}
.category-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.category-icon {
  font-size: 2.5rem;
  color: var(--primary);
}

/* Profile cards */
.profile-card {
  border: 1px solid var(--neutral-200);
  border-radius: var(--radius);
  transition: all var(--transition);
  overflow: hidden;
}
.profile-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.profile-card-img-wrap {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--neutral-100);
}
.profile-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition);
}
.profile-card:hover .profile-card-img { transform: scale(1.05); }
.premium-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  font-size: 0.7rem;
}
.online-dot {
  position: absolute;
  top: 10px;
  left: 10px;
  width: 12px;
  height: 12px;
  background: var(--success);
  border: 2px solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 6px var(--success);
}
.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Stat cards */
.stat-card {
  border-radius: var(--radius);
  border: none;
  box-shadow: var(--shadow);
  transition: transform var(--transition);
}
.stat-card:hover { transform: translateY(-2px); }

/* Buttons */
.btn-primary { background: var(--primary); border-color: var(--primary); }
.btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); }

/* Profile page */
.profile-gallery .main-photo img { width: 100%; border-radius: var(--radius); }
.thumb {
  width: 70px;
  height: 70px;
  object-fit: cover;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border var(--transition);
}
.thumb:hover { border-color: var(--primary); }

/* =========================================
   Footer
   ========================================= */

.footer {
  background: #1b2228;
  color: rgba(255, 255, 255, 0.85);
  margin-top: 0;
}

.footer-main {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 1.25rem;
  font-weight: 700;
}

.footer-brand .brand-mark {
  margin-right: 0;
}

.footer-description {
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.7;
  max-width: 340px;
}

.footer-title {
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.6rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.62);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #fff;
}

.footer-social {
  display: flex;
  gap: 8px;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: all 0.2s ease;
}

.footer-social a:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
}

.footer-subscribe .form-control {
  background: #fff;
  border: none;
  min-height: 42px;
}

.footer-subscribe .btn {
  min-height: 40px;
}


/* Location Directory */

.footer-directory {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-directory-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 1.25rem;
}

.footer-directory-description {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.85rem;
  margin: 0;
}

.footer-view-all {
  color: #fff;
  font-size: 0.85rem;
  text-decoration: none;
  white-space: nowrap;
}

.footer-view-all:hover {
  color: var(--primary);
}

.footer-city-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
}

.footer-city-link {
  display: block;
  padding: 9px 10px;
  color: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  text-decoration: none;
  font-size: 0.82rem;
  transition: all 0.2s ease;
}

.footer-city-link i {
  margin-right: 4px;
  font-size: 0.75rem;
}

.footer-city-link:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.04);
}


/* Category Directory */

.footer-category-directory {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-category-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-category-link {
  color: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 7px 12px;
  border-radius: 20px;
  text-decoration: none;
  font-size: 0.82rem;
  transition: all 0.2s ease;
}

.footer-category-link:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
}


/* Footer Bottom */

.footer-bottom {
  padding: 1.25rem 0;
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.8rem;
  text-decoration: none;
}

.footer-legal a:hover {
  color: #fff;
}

.footer-copyright {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.8rem;
}


/* Responsive */

@media (max-width: 992px) {

  .footer-city-grid {
    grid-template-columns: repeat(4, 1fr);
  }

}

@media (max-width: 768px) {

  .footer-directory-header {
    display: block;
  }

  .footer-view-all {
    display: inline-block;
    margin-top: 10px;
  }

  .footer-city-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-bottom-inner {
    display: block;
  }

  .footer-copyright {
    margin-top: 12px;
  }

}

@media (max-width: 480px) {

  .footer-city-grid {
    grid-template-columns: 1fr;
  }

}

/* Cards */
.card {
  border: 1px solid var(--neutral-200);
  border-radius: var(--radius);
}

/* Forms */
.form-control, .form-select {
  border-radius: 8px;
  border-color: var(--neutral-300);
}
.form-control:focus, .form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.15);
}

/* Badges */
.badge { font-weight: 500; }

/* Dot animation */
.dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: #fff;
  border-radius: 50%;
  margin-right: 4px;
  animation: pulse 1.5s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* Responsive */
@media (max-width: 768px) {
  .hero-section { min-height: 320px; }
  .hero-section h1 { font-size: 1.75rem; }
}

/* Lazy loading fade-in */
img.loading { opacity: 0; transition: opacity 0.4s; }
img.loaded { opacity: 1; }

/* CMS content */
.cms-content h1, .cms-content h2, .cms-content h3 { margin-top: 1.5rem; margin-bottom: 0.75rem; }
.cms-content p { margin-bottom: 1rem; }

/* Navbar city search */
.city-dropdown-menu {
  width: 260px;
  max-height: 420px;
  overflow-y: auto;
}

.city-search-box {
  position: sticky;
  top: 0;
  z-index: 2;
  background: #fff;
}

.city-search-box .form-control {
  width: 100%;
}

.city-search-results {
  max-height: 330px;
  overflow-y: auto;
}

.city-search-results .dropdown-item {
  border-radius: 6px;
  padding: 0.5rem 0.75rem;
}

.city-search-results .dropdown-item:hover {
  background-color: var(--neutral-100);
}

/* =========================================================
   OpenBacklink Brand Color Specification
   Logo wordmark is kept exactly as "OpenBacklink".
   ========================================================= */

:root {
  --ob-blue: #146BFF;
  --ob-violet: #6D4AFF;
  --ob-navy: #172033;
  --ob-slate: #5F6878;
  --ob-page: #F7F8FC;
  --ob-white: #FFFFFF;
  --ob-border: #E6E9F0;
  --ob-success: #16A36A;
  --ob-warning: #F59E0B;
  --ob-danger: #DC3545;
}

/* Header / logo */
.main-nav {
  background: var(--ob-white);
  border-bottom: 1px solid var(--ob-border);
  box-shadow: 0 3px 18px rgba(23, 32, 51, .06);
}

.main-nav .navbar-brand {
  color: var(--ob-navy) !important;
  font-weight: 800;
  letter-spacing: -.02em;
}

.main-nav .navbar-brand:hover,
.main-nav .navbar-brand:focus {
  color: var(--ob-blue) !important;
}

.main-nav .brand-mark {
  background: var(--ob-blue);
  color: var(--ob-white);
  border-radius: 9px;
  box-shadow: 0 5px 14px rgba(20, 107, 255, .20);
}

.main-nav .nav-link {
  color: var(--ob-navy) !important;
  font-weight: 600;
}

.main-nav .nav-link:hover,
.main-nav .nav-link:focus,
.main-nav .nav-link.show {
  color: var(--ob-blue) !important;
}

.main-nav .navbar-toggler {
  border-color: var(--ob-border);
}

.main-nav .navbar-toggler:focus {
  box-shadow: 0 0 0 .2rem rgba(20, 107, 255, .12);
}

/* Primary actions */
.main-nav .btn-outline-primary {
  color: var(--ob-blue);
  border-color: var(--ob-blue);
}

.main-nav .btn-outline-primary:hover {
  color: var(--ob-white);
  background: var(--ob-blue);
  border-color: var(--ob-blue);
}

/* Brand-colored links and controls */
a {
  --bs-link-color-rgb: 20, 107, 255;
}

.btn-primary {
  background-color: var(--ob-blue);
  border-color: var(--ob-blue);
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: #0d5be0;
  border-color: #0d5be0;
}

.text-primary {
  color: var(--ob-blue) !important;
}

.bg-primary {
  background-color: var(--ob-blue) !important;
}

.border-primary {
  border-color: var(--ob-blue) !important;
}

.category-icon,
.search-icon,
.icon-primary {
  color: var(--ob-blue);
}

/* Secondary brand accent */
.btn-secondary,
.btn-violet {
  background-color: var(--ob-violet);
  border-color: var(--ob-violet);
  color: var(--ob-white);
}

.btn-secondary:hover,
.btn-violet:hover {
  background-color: #5939dc;
  border-color: #5939dc;
  color: var(--ob-white);
}

/* General surfaces */
body {
  background: var(--ob-page);
  color: var(--ob-navy);
}

.form-control:focus,
.form-select:focus {
  border-color: rgba(20, 107, 255, .55);
  box-shadow: 0 0 0 .2rem rgba(20, 107, 255, .10);
}

/* Online / status colors */
.status-online,
.online,
.badge-online {
  color: var(--ob-success);
}



/* Website submission / CMS pages */
.cms-page {
  max-width: 900px;
  margin: 0 auto;
}

.cms-page h2 {
  margin-top: 2rem;
  margin-bottom: .75rem;
  font-size: 1.35rem;
  font-weight: 750;
}

.cms-page p,
.cms-page li {
  color: var(--ob-slate, #5F6878);
  line-height: 1.8;
}

.cms-page a {
  color: var(--ob-blue, #146BFF);
}


/* Navbar backlink CTA: one desktop button, clean alignment */
.navbar .btn-primary[href$="/backlinks/add"] {
  white-space: nowrap;
  border-radius: 10px;
}
@media (min-width: 992px) {
  .navbar .btn-primary[href$="/backlinks/add"] {
    min-height: 42px;
    padding-inline: 1rem;
  }
}

/* =========================================================
   OpenBacklink backlink directory UI
   ========================================================= */
.backlinks-page {
  background: transparent;
}

.backlink-form-card,
.backlink-login-card,
.backlink-detail-card,
.backlink-empty,
.backlink-user-card {
  border: 1px solid var(--ob-border, #e8eaf0);
  border-radius: 22px;
  box-shadow: 0 12px 40px rgba(23, 32, 51, .07);
}

.backlink-form-card {
  background: #fff;
}

.backlink-benefits {
  padding: 1.15rem;
  border-radius: 18px;
  background: linear-gradient(180deg, #fff, #f7f8fc);
  border: 1px solid var(--ob-border, #e8eaf0);
}

.backlink-icon,
.backlink-login-icon,
.backlink-detail-icon {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  color: #146BFF;
  background: #eef4ff;
  font-size: 1.15rem;
}

.backlink-login-icon {
  width: 68px;
  height: 68px;
  border-radius: 20px;
  font-size: 1.6rem;
  margin-inline: auto;
}

.backlink-detail-icon {
  width: 58px;
  height: 58px;
  border-radius: 17px;
  font-size: 1.45rem;
}

.backlink-secure {
  color: #16865b;
  background: #ecfbf4;
  border: 1px solid #ccefe0;
  border-radius: 999px;
  padding: .38rem .7rem;
  font-size: .8rem;
  font-weight: 700;
}

.backlink-stat,
.backlink-stat-card {
  border: 1px solid var(--ob-border, #e8eaf0);
  background: #fff;
  border-radius: 14px;
  padding: .8rem;
  text-align: center;
}

.backlink-stat strong,
.backlink-stat-card strong {
  display: block;
  font-size: 1.25rem;
  color: #172033;
}

.backlink-stat span,
.backlink-stat-card span {
  color: #6b7280;
  font-size: .78rem;
}

.backlink-stat-card {
  padding: 1rem 1.1rem;
  text-align: left;
}

.backlink-stat-card strong {
  margin-top: .15rem;
  font-size: 1.45rem;
}

.backlink-security-note,
.backlink-public-note {
  border-radius: 14px;
}

.backlink-public-note {
  padding: 1rem 1.1rem;
  background: #f7f8fc;
  border: 1px solid #e8eaf0;
  color: #5f6878;
}

.backlink-domain {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  min-width: 0;
  max-width: 70%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #5f6878;
  font-size: .82rem;
}

.backlink-user-card:hover {
  transform: translateY(-3px);
}

.backlink-detail-meta {
  background: #f7f8fc;
  border: 1px solid #e8eaf0;
  border-radius: 16px;
  padding: 1rem;
}

.backlink-detail-meta > div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .65rem 0;
  border-bottom: 1px solid #e8eaf0;
}

.backlink-detail-meta > div:last-child {
  border-bottom: 0;
}

.backlink-detail-meta span {
  color: #6b7280;
}

.backlink-detail-meta strong {
  color: #172033;
  text-align: right;
}

@media (max-width: 767.98px) {
  .backlink-form-card,
  .backlink-login-card,
  .backlink-detail-card,
  .backlink-empty,
  .backlink-user-card {
    border-radius: 17px;
  }

  .backlink-detail-meta > div {
    align-items: flex-start;
    flex-direction: column;
    gap: .15rem;
  }

  .backlink-detail-meta strong {
    text-align: left;
  }
}

/* Public approved backlink directory notice */
.backlink-public-directory {
  border-radius: 16px;
}

.backlink-user-card .btn,
.backlink-detail-card .btn {
  border-radius: 10px;
}

/* =========================================================
   OpenBacklink public information / legal / help pages
   ========================================================= */
.info-page {
  background: #f6f8fc;
  min-height: 70vh;
  padding-bottom: 4rem;
}

.info-hero {
  background:
    radial-gradient(circle at 85% 20%, rgba(20,107,255,.16), transparent 30%),
    linear-gradient(135deg, #12233d 0%, #173a62 55%, #146bff 100%);
  color: #fff;
  padding: 3.5rem 0;
}

.info-hero-inner {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  max-width: 900px;
}

.info-icon {
  width: 68px;
  height: 68px;
  flex: 0 0 68px;
  display: grid;
  place-items: center;
  border-radius: 20px;
  background: rgba(255,255,255,.13);
  border: 1px solid rgba(255,255,255,.2);
  font-size: 1.65rem;
}

.info-eyebrow {
  display: block;
  font-size: .78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .12em;
  opacity: .78;
  margin-bottom: .35rem;
}

.info-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin: 0 0 .55rem;
  letter-spacing: -.035em;
}

.info-hero p {
  margin: 0;
  max-width: 760px;
  color: rgba(255,255,255,.82);
  font-size: 1.05rem;
  line-height: 1.7;
}

.info-layout {
  display: grid;
  grid-template-columns: 245px minmax(0, 1fr);
  gap: 1.5rem;
  padding-top: 2rem;
}

.info-sidebar {
  align-self: start;
  position: sticky;
  top: 90px;
}

.info-nav-card {
  background: #fff;
  border: 1px solid #e7ebf2;
  border-radius: 17px;
  padding: .6rem;
  box-shadow: 0 10px 30px rgba(23,32,51,.05);
  margin-bottom: 1rem;
}

.info-nav-title {
  padding: .7rem .75rem .55rem;
  color: #7a8392;
  font-size: .72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.info-nav-card a {
  display: flex;
  align-items: center;
  gap: .65rem;
  padding: .68rem .75rem;
  border-radius: 11px;
  color: #394457;
  text-decoration: none;
  font-size: .9rem;
  font-weight: 600;
}

.info-nav-card a:hover,
.info-nav-card a.active {
  color: #146bff;
  background: #eef4ff;
}

.info-content-card {
  min-width: 0;
  background: #fff;
  border: 1px solid #e7ebf2;
  border-radius: 22px;
  box-shadow: 0 12px 40px rgba(23,32,51,.06);
  padding: clamp(1.4rem, 4vw, 2.8rem);
}

.info-section + .info-section {
  margin-top: 2.4rem;
  padding-top: 2.2rem;
  border-top: 1px solid #edf0f5;
}

.info-section h2 {
  color: #172033;
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: .8rem;
}

.info-section h3 {
  color: #172033;
  font-size: 1rem;
  font-weight: 750;
  margin: .65rem 0 .3rem;
}

.info-section p,
.info-section li {
  color: #5f6878;
  line-height: 1.78;
}

.info-section p:last-child {
  margin-bottom: 0;
}

.info-callout {
  display: flex;
  gap: .9rem;
  align-items: flex-start;
  padding: 1.1rem 1.2rem;
  border: 1px solid #d9e6ff;
  background: #f3f7ff;
  color: #385070;
  border-radius: 15px;
  margin-bottom: 2rem;
}

.info-callout > i {
  color: #146bff;
  font-size: 1.25rem;
  margin-top: .1rem;
}

.info-callout strong,
.info-callout span {
  display: block;
}

.info-callout span {
  margin-top: .2rem;
  font-size: .92rem;
}

.info-callout-warning {
  border-color: #f0dfb0;
  background: #fffaf0;
}

.info-callout-warning > i {
  color: #a46b00;
}

.info-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.info-card-grid > div,
.info-step-grid > div {
  border: 1px solid #e8ecf3;
  background: #fbfcfe;
  border-radius: 15px;
  padding: 1.1rem;
}

.info-card-grid > div > i,
.info-step-grid > div > i {
  color: #146bff;
  font-size: 1.3rem;
}

.info-card-grid p,
.info-step-grid span {
  font-size: .9rem;
  margin: 0;
}

.info-steps {
  display: grid;
  gap: .85rem;
}

.info-steps > div {
  display: flex;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid #e8ecf3;
  border-radius: 15px;
  background: #fbfcfe;
}

.info-steps > div > span {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: #eef4ff;
  color: #146bff;
  font-size: .75rem;
  font-weight: 850;
}

.info-steps p {
  margin: 0;
  font-size: .92rem;
}

.info-checklist {
  list-style: none;
  padding: 0;
  margin: 0;
}

.info-checklist li {
  display: flex;
  gap: .65rem;
  padding: .55rem 0;
}

.info-checklist i {
  color: #16865b;
  flex: 0 0 auto;
  margin-top: .22rem;
}

.info-step-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .85rem;
}

.info-step-grid strong,
.info-step-grid span {
  display: block;
}

.info-step-grid strong {
  margin: .55rem 0 .25rem;
  color: #172033;
}

.info-accordion .accordion-item {
  border: 1px solid #e8ecf3;
  border-radius: 13px !important;
  overflow: hidden;
  margin-bottom: .65rem;
}

.info-accordion .accordion-button {
  font-weight: 700;
  color: #172033;
  background: #fff;
  box-shadow: none;
}

.info-accordion .accordion-button:not(.collapsed) {
  color: #146bff;
  background: #f7faff;
}

.info-accordion .accordion-body {
  color: #5f6878;
  line-height: 1.75;
}

.info-legal-note {
  display: flex;
  gap: .65rem;
  padding: 1rem;
  margin-top: 1.2rem;
  border-radius: 13px;
  background: #f8f9fb;
  border: 1px solid #e7ebf2;
  color: #687284;
  font-size: .86rem;
}

@media (max-width: 991.98px) {
  .info-layout {
    grid-template-columns: 1fr;
  }
  .info-sidebar {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
  }
  .info-nav-card {
    margin-bottom: 0;
  }
  .info-step-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 575.98px) {
  .info-hero {
    padding: 2.5rem 0;
  }
  .info-hero-inner {
    align-items: flex-start;
  }
  .info-icon {
    width: 54px;
    height: 54px;
    flex-basis: 54px;
    border-radius: 15px;
  }
  .info-sidebar,
  .info-card-grid,
  .info-step-grid {
    grid-template-columns: 1fr;
  }
  .info-content-card {
    border-radius: 17px;
  }
}

/* Support messaging, site notices and newsletter */
.site-notice-wrap {
  background: #f6f9ff;
  border-bottom: 1px solid #dbe7fb;
}
.site-notice {
  display: flex;
  gap: .8rem;
  align-items: flex-start;
  padding: .8rem 0;
}
.site-notice-icon {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: #eaf2ff;
  color: #146bff;
}
.site-notice-content strong,
.site-notice-content span {
  display: block;
}
.site-notice-content strong { color: #172033; }
.site-notice-content span { color: #5f6878; font-size: .9rem; margin-top: .12rem; }

.admin-chat-card { border-radius: 18px; }
.admin-chat-header {
  display:flex; align-items:center; gap:.75rem;
  padding-bottom:.85rem; border-bottom:1px solid #edf0f5;
}
.admin-chat-avatar {
  width:42px;height:42px;display:grid;place-items:center;border-radius:13px;
  background:#eef4ff;color:#146bff;
}
.admin-chat-list {
  max-height: 520px;
  overflow-y: auto;
  padding: .35rem .15rem;
}
.admin-chat-bubble {
  max-width: min(720px, 82%);
  padding: .75rem .9rem;
  border-radius: 15px;
  line-height: 1.6;
  word-break: break-word;
}
.admin-chat-bubble.mine {
  background:#146bff;
  color:#fff;
  border-bottom-right-radius:5px;
}
.admin-chat-bubble.theirs {
  background:#f2f4f8;
  color:#273247;
  border-bottom-left-radius:5px;
}
.admin-chat-bubble small {
  display:block;
  margin-top:.35rem;
  opacity:.72;
  font-size:.72rem;
}
@media (max-width: 575.98px) {
  .admin-chat-bubble { max-width: 92%; }
  .site-notice { padding-left: .2rem; padding-right: .2rem; }
}

.footer-login-subscribe .btn { white-space: nowrap; }

/* Safe performance defaults */
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration:.01ms !important; transition-duration:.01ms !important; scroll-behavior:auto !important; } }
