/* THAICON Community – Custom Styles */

:root {
  --asia-red: #df1020;
  --asia-blue: #061b3a;
  --asia-gold: #f6b735;
  --asia-soft: #fff8ec;
  --asia-dark: #152033;
  --asia-pink:#ff3b8d;
  --asia-cyan:#00b8ff;
  --asia-violet:#6a5cff;
}

html,
body {
  min-height: 100%;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-main {
  flex: 1 0 auto;
}

body {
  background:
    radial-gradient(circle at 10% 0%, rgba(255, 59, 141, .13), transparent 30%),
    radial-gradient(circle at 90% 6%, rgba(0, 184, 255, .14), transparent 32%),
    radial-gradient(circle at 50% -8%, rgba(106, 92, 255, .10), transparent 28%),
    linear-gradient(180deg, var(--asia-soft) 0%, #ffffff 330px);
  color: var(--asia-dark);
}

a {
    color: var(--asia-red);
}

a:hover,
a:focus {
    color: var(--asia-gold);
}

.btn-danger {
  --bs-btn-color: #fff;
  --bs-btn-bg: var(--asia-violet);
  --bs-btn-border-color: var(--asia-violet);

  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: var(--asia-blue);
  --bs-btn-hover-border-color: var(--asia-blue);

  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: var(--asia-dark);
  --bs-btn-active-border-color: var(--asia-dark);
}

.btn-outline-secondary {
  --bs-btn-color: var(--asia-violet);
  --bs-btn-border-color: var(--asia-violet);

  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: var(--asia-violet);
  --bs-btn-hover-border-color: var(--asia-violet);

  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: var(--asia-dark);
  --bs-btn-active-border-color: var(--asia-dark);
}

.btn-outline-danger {
  --bs-btn-color: var(--asia-red);
  --bs-btn-border-color: var(--asia-red);

  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: var(--asia-red);
  --bs-btn-hover-border-color: var(--asia-red);

  --bs-btn-focus-shadow-rgb: 106, 92, 255; /* asia-red */

  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: var(--asia-red);
  --bs-btn-active-border-color: var(--asia-red);

  --bs-btn-disabled-color: var(--asia-red);
  --bs-btn-disabled-border-color: var(--asia-red);
}


/* Navbar */
.asiahub-navbar {
  background: linear-gradient(90deg, #000000, #000000);
  background: linear-gradient(135deg, #000000, #111827);
  box-shadow: 0 8px 25px rgba(6, 27, 58, .18);
  position: relative;
}

.asiahub-navbar::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 4px;
  background: linear-gradient(
    90deg,
    #00b8ff,
    #6a5cff,
    #ff3b8d,
    #f6b735
  );
  opacity: .85;
}

.navbar-brand {
  font-size: 1.25rem;
  letter-spacing: .02em;
}

.navbar-brand span {
  letter-spacing: .08em;
  font-size: 1.35rem;
  color: #fff;
}

.nav-link.disabled,
.btn.disabled {
    pointer-events: none;
    cursor: default;
    /*opacity: .65;*/
}

.nav-link.active {
    font-weight: 700;
    color: #E71A2B !important;
}

.brand-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
  background: #fff;
  border-radius: 50%;
  padding: 4px;
  box-shadow: 0 4px 14px rgba(0,0,0,.18);
}

.asiahub-navbar .nav-link {
  color: rgba(255,255,255,.88);
  font-weight: 500;
  border-radius: 999px;
  padding: .45rem .85rem;
}

.asiahub-navbar .nav-link:hover,
.asiahub-navbar .nav-link:focus {
  color: #fff;
  background: rgba(255,255,255,.12);
}

.asiahub-btn,
.footer-btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--asia-red), #ff384a);
  color: #fff;
  border: 0;
  border-radius: 999px;
  padding: .55rem 1.15rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(223,16,32,.28);
  transition: transform .15s, box-shadow .15s;
}

.asiahub-btn:hover,
.footer-btn:hover {
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(223,16,32,.36);
}

.nav-logout {
  color: #ffd8d8 !important;
}

/* Cards */
.card-hover {
  transition: box-shadow .15s, transform .15s;
}

.card-hover:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,.12) !important;
  transform: translateY(-2px);
}

/* Leaflet popup tweaks */
.leaflet-popup-content {
  margin: 12px 14px;
}

.leaflet-popup-content a {
  color: var(--asia-red);
  text-decoration: none;
}

.leaflet-popup-content a:hover {
  text-decoration: underline;
}

/* Suggestions dropdown */
#stadtSuggestions {
  z-index: 1000;
}

/* Responsive map */
#map {
  width: 100%;
}

/* Badge font-size override for member status badges */
.badge.fs-6 {
  font-size: .85rem !important;
}

/* Footer */
.asiahub-footer {
  margin-top: 80px;
  padding: 45px 0 30px;
  background: linear-gradient(135deg, #000000, #000000);
  color: rgba(255,255,255,.82);
  position: relative;
  overflow: hidden;
}

.asiahub-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 85% 40%, rgba(223,16,32,.24), transparent 32%);
}


.footer-card {
  position: relative;
  z-index: 1;
  padding: 25px;
  border-radius: 28px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(10px);
}

.footer-brand {
  font-size: 1.6rem;
  font-weight: 900;
  letter-spacing: .12em;
  color: #fff;
  margin-bottom: 8px;
}

.footer-socials {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 22px;
}

.footer-socials a {
  width: 42px;
  height: 42px;
  border-radius: 14px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.16);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.18),
    0 10px 25px rgba(0,0,0,.18);

  transition: transform .22s ease, background .22s ease, border-color .22s ease;
}

.footer-socials a:hover {
  transform: translateY(-4px);
  background: rgba(255,255,255,.14);
  border-color: rgba(255,255,255,.32);
}

.footer-socials img {
  width: 20px;
  height: 20px;
  display: block;
  filter: brightness(0) invert(1);
  opacity: .9;
}

.footer-links {
  border-top: 1px solid rgba(255,255,255,.16);
}


.asiahub-footer p {
  margin-bottom: .75rem;
}

.asiahub-footer a:not(.footer-btn) {
  color: var(--asia-gold);
  font-weight: 700;
  text-decoration: none;
}

.asiahub-footer .footer-links {
  border-top: 1px solid rgba(255,255,255,.18);
}

.asiahub-footer .footer-links a {
  color: rgba(255,255,255,.78) !important;
}

.asiahub-footer .footer-links a:hover {
  color: #fff !important;
}
/*
.asiahub-hero {
  background:
    radial-gradient(circle at top right, rgba(246, 167, 32, .28), transparent 35%),
    radial-gradient(circle at top left, rgba(246, 167, 32, .18), transparent 40%),
    linear-gradient(
        180deg,
        #F6A720 0%,
        #f8c15a 18%,
        #fde5b4 45%,
        #fff8ec 70%,
        #ffffff 100%
    );
}
*/

.asiahub-hero {
    position: relative;
    overflow: hidden;
    background: url('/assets/img/hero.webp') center center / cover no-repeat;
}

.asiahub-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            rgba(0,0,0,.45) 0%,
            rgba(0,0,0,.30) 45%,
            rgba(0,0,0,.45) 100%
        );
    pointer-events: none;
}

.asiahub-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(0,0,0,.55) 0%,
        rgba(0,0,0,.45) 35%,
        rgba(0,0,0,.60) 70%,
        rgba(0,0,0,.70) 100%
    );
    pointer-events: none;
}

.asiahub-hero > * {
    position: relative;
    z-index: 1;
}

.hero-lead {
  color: rgba(255,255,255,.92);
  max-width: 680px;
  text-shadow: 0 2px 14px rgba(0,0,0,.45);
}

.asiahub-hero a.btn.btn-hero,
.asiahub-hero a.btn.btn-hero:visited {
  color: #fff !important;
  border-color: #fff !important;
  border: 2px solid #fff !important;
  background-color: transparent !important;
}

.asiahub-hero a.btn.btn-hero:hover,
.asiahub-hero a.btn.btn-hero:focus {
  color: #fff !important;
  background-color: rgba(255,255,255,.18) !important;
  border-color: #fff !important;
}


.asiahub-black {
    background: #000;
    color: #fff;
}

.asiahub-which {
    background:
        linear-gradient(
            180deg,
            #F8F9FA 0%,
            #F8F9FA 20%,
            #fffdf7 45%,
            #f5f2ea 65%,
            #d4d0c8 75%,
            #6c6a68 88%,
            #000000 100%
        );
}

.feature-section {
  position: relative;
  background:
    radial-gradient(circle at 20% 10%, rgba(0, 174, 239, 0.22), transparent 32%),
    radial-gradient(circle at 80% 20%, rgba(237, 28, 93, 0.20), transparent 34%),
    #020202;
}

.feature-glass-card {
  position: relative;
  overflow: hidden;
  padding: 42px 34px;
  border-radius: 28px;
  min-height: 230px;

  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow:
    0 24px 70px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);

  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);

  color: #fff;
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}

.feature-glass-card::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .85;
  pointer-events: none;
}

.feature-green::before {
  background: linear-gradient(135deg, rgba(0, 184, 148, .28), transparent 55%);
}

.feature-blue::before {
  background: linear-gradient(135deg, rgba(0, 174, 239, .34), transparent 58%);
}

.feature-orange::before {
  background: linear-gradient(135deg, rgba(255, 171, 64, .30), transparent 58%);
}

.feature-glass-card::after {
  content: "";
  position: absolute;
  top: -80px;
  right: -80px;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  background: rgba(255,255,255,.13);
  filter: blur(2px);
}

.feature-glass-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255,255,255,.32);
  box-shadow:
    0 32px 90px rgba(0, 0, 0, 0.48),
    inset 0 1px 0 rgba(255,255,255,.28);
}

.feature-icon,
.feature-glass-card h3,
.feature-glass-card p {
  position: relative;
  z-index: 2;
}

.feature-icon {
  width: 76px;
  height: 76px;
  margin: 0 auto 22px;
  border-radius: 24px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.20);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.25);
}

.feature-icon img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.feature-glass-card h3 {
  margin-bottom: 12px;
  font-size: 1.22rem;
  font-weight: 800;
  color: #fff;
}

.feature-glass-card p {
  max-width: 290px;
  margin: 0 auto;
  color: rgba(255,255,255,.72) !important;
  font-size: 1rem;
  line-height: 1.55;
}


.asiahub-card {
  background: #fff;
  border-radius: 24px;
  overflow: hidden;
}
.asiahub-map-preview {
  height: 300px;
  position: relative;
  background-color: #e9ecef;
}

.asiahub-checklist li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: .65rem;
}

.asiahub-checklist li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: .05rem;
    width: 1.25rem;
    height: 1.25rem;
    border-radius: 50%;
    background: #dc3545;
    color: #fff;
    font-size: .85rem;
    font-weight: 700;
    line-height: 1.25rem;
    text-align: center;
}

.btn-outline-primary {
    color: #D21022;
    border-color: #D21022;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-outline-primary:active {
    color: #fff;
    background-color: #D21022;
    border-color: #D21022;
}

.btn-outline-primary:focus {
    box-shadow: 0 0 0 0.25rem rgba(210, 16, 34, 0.25);
}

.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 9999;
  max-width: 560px;
  padding: 1rem;
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 12px 35px rgba(0,0,0,.18);
}

.cookie-banner p {
  margin: .5rem 0 1rem;
  color: #6c757d;
}

.cookie-actions {
  display: flex;
  gap: .5rem;
  justify-content: flex-end;
  align-items: center;
  flex-wrap: wrap;
}

.cookie-more-link {
  margin-right: auto;
  font-size: .8rem;
  color: #6c757d;
}

/* Platzhalter für Kartenboxen, solange keine Zustimmung zu externen Kartendiensten vorliegt */
/* Telefon-Eingabe: Landesvorwahl-Select + Nummernfeld als optische Einheit */
.phone-input-group {
  flex-wrap: nowrap;
}

.phone-input-group .phone-country-select {
  flex: 0 0 7.5rem;
  max-width: 7.5rem;
  font-size: 0.95rem;
  border-right: none;
  background-position: right 0.5rem center;
}

.phone-input-group .form-control {
  border-left: none;
}

.phone-input-group .phone-country-select:focus {
  z-index: 4;
  box-shadow: none;
}

.phone-input-group:has(.phone-country-select:focus) {
  box-shadow: 0 0 0 0.25rem rgba(210, 16, 34, 0.25);
  border-radius: 0.375rem;
}

@media (max-width: 420px) {
  .phone-input-group .phone-country-select {
    flex: 0 0 6rem;
    max-width: 6rem;
  }
}

/* Marker-Cluster auf /karte/: gruppierte Pins als Kreis mit Zähler, im asiahub-Rot */
.asiahub-cluster {
  display: flex;
  align-items: center;
  justify-content: center;
}

.asiahub-cluster div {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #D21022;
  color: #fff;
  font-weight: 600;
  font-family: inherit;
  box-shadow: 0 0 0 4px rgba(210, 16, 34, 0.25);
  transition: box-shadow 0.2s ease;
}

.asiahub-cluster:hover div {
  box-shadow: 0 0 0 6px rgba(210, 16, 34, 0.35);
}

.asiahub-cluster--small div {
  width: 38px;
  height: 38px;
  font-size: 0.85rem;
}

.asiahub-cluster--medium div {
  width: 46px;
  height: 46px;
  font-size: 0.95rem;
}

.asiahub-cluster--large div {
  width: 56px;
  height: 56px;
  font-size: 1.05rem;
}

.map-consent-placeholder {
  height: 100%;
  width: 100%;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: .75rem;
  padding: 2rem 1.25rem;
  background:
    linear-gradient(rgba(6, 27, 58, .6), rgba(6, 27, 58, .6)),
    url('/assets/img/thailand-map.jpg');
  background-size: cover;
  background-position: center;
  border-radius: 8px;
  color: #fff;
}

.map-consent-placeholder__text {
  max-width: 480px;
  margin: 0;
  font-size: .9rem;
}

.map-consent-placeholder__link {
  font-size: .8rem;
  color: #fff;
  text-decoration: underline;
  opacity: .85;
}

.map-consent-placeholder__link:hover {
  opacity: 1;
  color: #fff;
}

.card.member-card {
  background: #fff;
  border: 1px solid rgba(0,0,0,.05) !important;
  border-radius: 1.25rem;
  box-shadow: 0 5px 18px rgba(0,0,0,.055) !important;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.card.member-card:hover {
  box-shadow:
    0 18px 38px rgba(0,0,0,.10),
    0 0 0 1px rgba(0,184,255,.18),
    0 0 28px rgba(255,59,141,.08) !important;
}

.event-card {
    border-radius: 1.25rem;
    transition: transform .2s ease, box-shadow .2s ease;
}

.event-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0,0,0,.12) !important;
}

/* ── Profil-Aktionsleiste (Favorit/Echtheit/Nachricht/Mehr) ──────────────── */
.profile-action-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .3rem;
  background: none;
  border: 0;
  padding: 0;
  text-decoration: none;
  color: inherit;
}

.profile-action-circle {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #f1f1f3;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: #555;
  transition: background .15s, transform .15s;
}

.profile-action-btn:hover .profile-action-circle {
  background: #e6e6ea;
  transform: translateY(-1px);
}

.profile-action-btn.active .profile-action-circle {
  background: var(--asia-red);
  color: #fff;
}

.profile-action-circle-danger {
  background: var(--asia-red) !important;
}

.profile-action-label {
  font-size: .72rem;
  color: #666;
  white-space: nowrap;
}

.profile-action-btn,
.profile-action-btn.active,
.profile-action-btn:active,
.profile-action-btn:focus {
  background: transparent !important;
  box-shadow: none !important;
  outline: none !important;
  border: 0 !important;
}

.profile-action-btn.active .profile-action-circle {
  background: var(--asia-red);
  color: #fff;
}

.profile-action-btn:focus-visible {
  outline: none !important;
}

/* ── Profil-Tabs (Profil / Fotos & Alben / Events) ───────────────────────── */
.profile-tabs .nav-link {
  border-radius: .8rem;
  color: #555;
  font-weight: 600;
  font-size: .9rem;
  padding: .5rem 1rem;
}

.profile-tabs .nav-link.active {
  background: var(--asia-red);
  color: #fff;
}

.profile-tabs .nav-link {
  background: transparent !important;
  color: #555 !important;
  border: 1px solid transparent;
  border-radius: 12px;
  font-weight: 600;
}

.profile-tabs .nav-link.active {
  background: transparent !important;
  color: #333 !important;
  border: 1px solid #ddd !important;
}

.profile-tabs .nav-link:hover {
  background: #f7f7f7 !important;
  color: #333 !important;
}

.profile-tabs .nav-link.active {
  background: #fff !important;
  color: #333 !important;
  border: 1px solid #d6d6d6 !important;
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
}

.member-avatar {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    flex-shrink: 0;
    border: 3px solid #fff;
    box-shadow: 0 6px 16px rgba(0,0,0,.12);
}

.member-avatar-placeholder {
    background: #D21022;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
}

.member-name {
    font-weight: 700;
    font-size: 1rem;
    color: #1f2937;
}

.member-job {
    font-size: .9rem;
    color: #6c757d;
}

.member-meta {
    display: grid;
    gap: .25rem;
}

.member-meta-line {
    display: flex;
    align-items: center;
    gap: .4rem;
    font-size: .85rem;
    color: #495057;
    min-width: 0;
}

.member-meta-icon {
    width: 17px;
    display: inline-flex;
    justify-content: center;
    color: #F6A720;
}

.member-popup {
    min-width: 205px;
    max-width: 250px;
    text-align: center;
    padding: .35rem .2rem .2rem;
}

.member-popup-avatar-wrap {
    position: relative;
    width: 70px;
    height: 70px;
    margin: 0 auto .6rem;
}

.member-popup-avatar-wrap img,
.member-popup-avatar-wrap .rounded-circle {
    width: 64px !important;
    height: 64px !important;
    margin: 0 auto !important;
}

.member-popup-flag {
    position: absolute;
    right: -6px;
    bottom: 4px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,.18);
    overflow: hidden;
}

.member-popup-name {
    font-weight: 700;
    color: #1f2937;
}

.member-popup-job {
    font-size: .85rem;
    color: #6c757d;
}

.member-popup-city,
.member-popup-skills {
    font-size: .82rem;
    color: #495057;
}

.member-popup-street {
    font-size: .8rem;
    color: #6c757d;
}


.member-popup .btn-danger {
    color: #fff !important;
}

.member-popup .btn-danger:hover {
    color: #fff !important;
}

/* Mobile Optimierung */
@media (max-width: 991.98px) {
  .asiahub-navbar {
    padding: .55rem 0;
  }

  .navbar-brand span {
    font-size: 1.05rem;
    letter-spacing: .05em;
  }

  .brand-logo {
    width: 40px;
    height: 40px;
  }

  .asiahub-navbar .navbar-collapse {
    margin-top: .75rem;
    padding: .75rem;
    border-radius: 18px;
    background: rgba(255,255,255,.08);
  }

  .asiahub-navbar .nav-link {
    display: block;
    padding: .7rem .9rem;
    border-radius: 14px;
  }

  .asiahub-btn {
    width: 100%;
    text-align: center;
    margin-top: .5rem;
  }
}

@media (max-width: 575.98px) {
  body {
    background: linear-gradient(180deg, var(--asia-soft) 0%, #ffffff 190px);
  }

  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .asiahub-footer {
    margin-top: 45px;
    padding: 32px 0 22px;
  }

  .footer-card {
    padding: 22px 16px;
    border-radius: 22px;
  }

  .footer-brand {
    font-size: 1.25rem;
    letter-spacing: .08em;
  }

  .asiahub-footer p {
    font-size: .9rem;
    line-height: 1.45;
  }

  .footer-btn {
    width: 100%;
    max-width: 260px;
    padding: .65rem 1rem;
  }

  .footer-links {
    flex-direction: column;
    gap: .55rem !important;
  }

  .asiahub-footer::after {
    width: 150px;
    height: 150px;
    left: -25px;
    top: -45px;
  }

  .asiahub-footer::before {
    background:
      radial-gradient(circle at 8% 10%, rgba(246,183,53,.50) 0%, rgba(246,183,53,.25) 22%, transparent 45%),
      radial-gradient(circle at 95% 60%, rgba(223,16,32,.20), transparent 34%);
  }

  .card-body {
    padding: 1rem;
  }

  #pickMap {
    height: 240px !important;
  }
}

.asiahub-map {
  height: 75vh;
  min-height: 500px;
  width: 100%;
  display: block;
}

@media (max-width: 575.98px) {
  .asiahub-map {
    height: 58vh;
    min-height: 320px;
  }
}


/* Eigenes Burger-Menü */
.asiahub-toggler {
  display: none;
  width: 44px;
  height: 40px;
  border: 1px solid rgba(255,255,255,.45);
  border-radius: 12px;
  padding: 8px 9px;
  background: rgba(255,255,255,.10);
}

.asiahub-toggler span {
  display: block;
  height: 2px;
  width: 100%;
  background: #fff;
  border-radius: 999px;
  margin: 5px 0;
}

.asiahub-toggler:focus {
  box-shadow: none;
}

@media (max-width: 991.98px) {
  .asiahub-toggler {
    display: block;
  }

  .asiahub-navbar .navbar-collapse {
    margin-top: .85rem;
    padding: .85rem;
    border-radius: 18px;
    background: rgba(6, 27, 58, .96);
  }

  .asiahub-navbar .navbar-nav {
    align-items: stretch !important;
  }

  .asiahub-navbar .nav-link {
    color: #fff !important;
  }
}


/* ── Login-Card (Startseite) ─────────────────────────────────────────── */
.login-card .form-control {
  border-radius: .6rem;
}

/* ── Favoriten-Herz ───────────────────────────────────────────────────── */
.favorite-heart {
  position: absolute;
  top: .65rem;
  right: .65rem;
  z-index: 3;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: rgba(255,255,255,.92);
  box-shadow: 0 2px 8px rgba(0,0,0,.15);
  font-size: 1.2rem;
  line-height: 1;
  color: #D21022;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform .15s ease, background .15s ease;
}

.favorite-heart:hover {
  transform: scale(1.1);
}

.favorite-heart.active {
  background: #D21022;
  color: #fff;
}

#favoriteToggleBtn.active {
  background: #D21022;
  color: #fff !important;
  border-color: #D21022;
}

/* ── Chat ─────────────────────────────────────────────────────────────── */
.chat-shell .card {
  border-radius: 1.25rem;
}

.chat-list-item {
  display: flex;
  align-items: center;
  gap: .65rem;
  padding: .55rem .5rem;
  border-radius: .85rem;
  cursor: pointer;
  transition: background .15s ease;
}

.chat-list-item:hover {
  background: rgba(210,16,34,.06);
}

.chat-list-item.active {
  background: rgba(210,16,34,.12);
}

.chat-list-avatar,
.chat-list-avatar-img,
.chat-list-avatar-initials {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.chat-list-avatar {
  background: #f1f1f1;
  font-size: 1.1rem;
  position: relative;
}

.chat-list-avatar-group {
  /*background: linear-gradient(135deg, var(--asia-red), #ff384a);*/
  color: #fff;
}

.chat-list-avatar-img {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Generische Foto-Anzeige als CSS-Hintergrund statt <img> - erschwert simples
   Rechtsklick-Speichern. Größe/Form kommen weiterhin aus dem jeweiligen
   inline style="width/height/border-radius" am Element selbst. */
.bg-photo {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: block;
}

/* Overlay für Bilder, die noch geprüft werden bzw. abgelehnt wurden (siehe
   moderation_status in includes/images.php). position:relative kommt vom
   Element selbst (.bg-photo-pending/.bg-photo-rejected ergänzen .bg-photo,
   ersetzen es nicht) - der Text kommt komplett aus CSS (::after), damit an
   den PHP-Aufrufstellen kein zusätzliches Markup nötig ist, nur die Klasse. */
.bg-photo-pending,
.bg-photo-rejected {
  position: relative;
}

.bg-photo-pending::after,
.bg-photo-rejected::after {
  content: '';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: .7rem;
  font-weight: 600;
  line-height: 1.2;
  padding: 4px;
  color: #fff;
  border-radius: inherit;
}

.bg-photo-pending::after {
  content: 'Bild wird geprüft';
  background: rgba(0, 0, 0, .55);
}

.bg-photo-rejected::after {
  content: 'Bild abgelehnt';
  background: rgba(220, 53, 69, .75);
}

.photo-lightbox {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,.85);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  cursor: zoom-out;
}

.photo-lightbox-img {
  width: 100%;
  height: 100%;
  max-width: 900px;
  max-height: 85vh;
  cursor: default;
}

/* ── Online-Status-Punkt ──────────────────────────────────────────────── */
.online-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #2ecc71;
  border: 2px solid #fff;
  flex-shrink: 0;
}

.online-dot-corner {
  position: absolute;
  bottom: 0;
  right: 0;
}

.online-label {
  color: #1f9d52;
  font-weight: 600;
}

.chat-list-avatar-initials {
  width: 100%;
  height: 100%;
  background: #D21022;
  color: #fff;
  font-weight: 700;
  font-size: .9rem;
}

.chat-unread-badge {
  background: #D21022;
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  border-radius: 999px;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.chat-search-results .list-group-item {
  border: none;
  padding: .4rem .5rem;
  text-align: left;
}

.chat-search-results {
  max-height: 260px;
  overflow-y: auto;
  z-index: 20;
  position: relative;
}

.chat-search-results:empty {
  margin-top: 0;
}

.chat-messages {
  background: #fbfbfb;
}

.chat-bubble-row {
  display: flex;
  margin-bottom: .6rem;
}

.chat-bubble-row.me {
  justify-content: flex-end;
}

.chat-bubble {
  max-width: 75%;
  padding: .5rem .8rem;
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,.08);
}

.chat-bubble-row.me .chat-bubble {
  background: linear-gradient(135deg, var(--asia-red), #ff384a);
  color: #fff;
}

.chat-bubble-name {
  font-size: .75rem;
  font-weight: 700;
  margin-bottom: .15rem;
  opacity: .8;
}

.chat-bubble-text {
  white-space: pre-wrap;
  word-break: break-word;
}

.chat-link {
  color: inherit;
  text-decoration: underline;
  word-break: break-all;
}

.chat-bubble-row.them .chat-bubble .chat-link {
  color: var(--asia-red);
}

.chat-bubble-time {
  font-size: .68rem;
  opacity: .65;
  margin-top: .2rem;
  text-align: right;
}

.chat-nav-badge {
  position: absolute;
  top: -2px;
  right: -6px;
  background: #D21022;
  color: #fff;
  font-size: .65rem;
  font-weight: 700;
  border-radius: 999px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Inaktiv */
#chatTabBtnGroups,
#chatTabBtnPrivate {
    color: #000 !important;
    background-color: transparent !important;
	border: 1px solid #ddd !important;
}

/* Aktiv */
#chatTabBtnGroups.active,
#chatTabBtnPrivate.active {
    background-color: #dc3545 !important;
    border-color: #dc3545 !important;
    color: #fff !important;
}

/* ── Chat-Tabs (Gruppen / Direkt) ─────────────────────────────────────── */
.chat-tabs {
    gap: 6px;
}

.chat-tabs .nav-link {
  border-radius: .8rem;
  color: #555;
  font-weight: 600;
  font-size: .85rem;
  padding: .5rem .75rem;
}

.chat-tabs .nav-link.active {
  background: var(--asia-red);
  color: #fff;
}

.chat-tab-badge {
  position: absolute;
  top: -6px;
  right: 2px;
}

@media (max-width: 767.98px) {
  .chat-shell {
    flex-direction: column;
  }
}

.login-card {
  background: transparent !important;
}

.login-card.apple-glass-card {
  border-radius: 28px;
  background: rgba(255,255,255,.32) !important;
  border: 1px solid rgba(255,255,255,.6);
  box-shadow: 0 20px 60px rgba(0,0,0,.18);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  overflow: hidden;
}


.leaflet-control-zoom.leaflet-bar {
  border: none;
  box-shadow: 0 10px 25px rgba(0,0,0,.25);
  border-radius: 12px;
  overflow: hidden;
}

.leaflet-control-zoom a {
  background: #000 !important;
  color: #fff !important;
  border-bottom: 1px solid rgba(255,255,255,.18) !important;
}

.leaflet-control-zoom a:last-child {
  border-bottom: none !important;
}

.leaflet-control-zoom a:hover {
  background: #1f1f1f !important;
  color: #fff !important;
}

.leaflet-control-zoom a span {
  color: #fff !important;
}

.leaflet-control-zoom a {
  background: rgba(0,0,0,.82) !important;
  color: #fff !important;
  backdrop-filter: blur(12px);
}

#scrollTopBtn {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 9999;

  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;

  background: #dc3545;
  color: #fff;
  font-size: 24px;
  font-weight: 700;

  display: none;
  align-items: center;
  justify-content: center;

  box-shadow: 0 8px 22px rgba(0,0,0,.22);
  cursor: pointer;
}

#scrollTopBtn.show {
  display: flex;
}

.faq-section-title {
  margin-top: 3rem;
  margin-bottom: 1rem;
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #6c757d;
  display: flex;
  align-items: center;
  gap: 14px;
}

.faq-section-title:first-of-type {
  margin-top: 0;
}

.faq-accordion {
  margin-bottom: 2.75rem;
}

.faq-accordion .accordion-item {
  border: 0;
  border-radius: 16px !important;
  overflow: hidden;
  margin-bottom: 10px;
  background: #fff;
  box-shadow: 0 5px 18px rgba(0,0,0,.055);
}

.faq-accordion .accordion-button {
  padding: 1.05rem 1.25rem;
  font-weight: 650;
  background: #fff;
  color: #152033;
  box-shadow: none;
}

.faq-accordion .accordion-button:not(.collapsed) {
  background: #fff8f8;
  color: #D21022;
}

.faq-accordion .accordion-button:focus {
  box-shadow: 0 0 0 .2rem rgba(210,16,34,.15);
}

.faq-accordion .accordion-body {
  color: #555;
  line-height: 1.65;
  padding: 0 1.25rem 1.25rem;
  background: #fff;
}

.faq-page a {
  color: #D21022;
  font-weight: 600;
}

.member-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-width: 46px;
  padding: .25rem .75rem;

  border-radius: 999px;
  background: linear-gradient(135deg, #ff3b8d, #D21022);
  color: #fff;

  font-size: 1rem;
  font-weight: 800;
  line-height: 1.2;

  box-shadow: 0 8px 22px rgba(210,16,34,.25);
  transform: translateY(-4px);
}


/* ─── Bunter Lade-Spinner (z.B. /members/ beim ersten Laden / Filtern) ─── */
.asia-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 3rem 1rem;
}

.asia-loading__ring {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  /* Vier-Farben-Konuskegel statt einer einzelnen Akzentfarbe - greift dieselbe
     pink/cyan/violet/gold-Palette auf wie der Seiten-Hintergrund (body-Gradient
     oben), damit der Spinner sich wie Teil des Gesamtbilds anfühlt. */
  background: conic-gradient(
    from 0deg,
    var(--asia-pink),
    var(--asia-cyan),
    var(--asia-violet),
    var(--asia-gold),
    var(--asia-pink)
  );
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 7px), #000 0);
          mask: radial-gradient(farthest-side, transparent calc(100% - 7px), #000 0);
  animation: asia-spin 1s linear infinite;
  filter: drop-shadow(0 6px 16px rgba(106, 92, 255, .25));
}

.asia-loading__text {
  font-weight: 600;
  color: var(--asia-dark);
  opacity: .75;
  animation: asia-pulse 1.6s ease-in-out infinite;
}

@keyframes asia-spin {
  to { transform: rotate(360deg); }
}

@keyframes asia-pulse {
  0%, 100% { opacity: .45; }
  50%      { opacity: .9; }
}

@media (prefers-reduced-motion: reduce) {
  .asia-loading__ring { animation: none; }
  .asia-loading__text { animation: none; opacity: .75; }
}

/* Kompakte Inline-Variante (z.B. "Lade weitere Mitglieder…" beim Infinite Scroll) */
.asia-loading--inline {
  display: inline-flex;
  flex-direction: row;
  padding: 0;
  gap: .6rem;
}

.asia-loading--inline .asia-loading__ring {
  width: 20px;
  height: 20px;
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 0);
          mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 0);
}

/* Overlay-Variante über der Karte (karte.php), solange die Mitgliederdaten
   (fetch /api/members.php) noch nicht da sind. .asiahub-map-shell ist der
   positionierte Wrapper UM #mapWrapper herum (nicht #mapWrapper selbst, da
   ThaiconConsent.mountMap() dessen innerHTML beim Aktivieren der Karte
   komplett ersetzt - das Overlay liegt bewusst als Geschwisterelement
   daneben, damit es davon unberührt bleibt). */
.asiahub-map-shell {
  position: relative;
}

.asia-loading--overlay {
  position: absolute;
  inset: 0;
  z-index: 5;
  background: var(--asia-soft);
}