/* =========================================================
   Gesundheits-Check Highlight + Frontend-Indikatoren
   Wird genutzt in: girls.php, index.php (Listing-Karten)
                    girl.php (Detail-Header)
   Enthält zusätzlich Live-Status-Bar und Verfügbarkeits-Punkte,
   die ursprünglich in style.css standen aber dort verloren gingen.
   ========================================================= */

/* ─────────────────────────────────────────────────────────
   1. Karten-Highlight Health Check
   ───────────────────────────────────────────────────────── */
.girl-luxury-card.has-healthcheck {
    position: relative;
    box-shadow: 0 0 0 2px rgba(218, 165, 32, 0.55),
                0 4px 18px rgba(218, 165, 32, 0.15);
    border-radius: 6px;
    transition: box-shadow .25s ease;
}
.girl-luxury-card.has-healthcheck:hover {
    box-shadow: 0 0 0 2px rgba(218, 165, 32, 0.85),
                0 6px 24px rgba(218, 165, 32, 0.30);
}

/* Badge "Health Check" — unten links auf dem Bild */
.healthcheck-badge {
    position: absolute;
    bottom: 10px;
    left: 10px;
    z-index: 4;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    background: linear-gradient(135deg, #d4af37, #b8941f);
    color: #0a0a0a;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-radius: 999px;
    box-shadow: 0 2px 8px rgba(0,0,0,.5);
    line-height: 1;
    white-space: nowrap;
}
.healthcheck-badge svg {
    width: 11px;
    height: 11px;
    stroke: #0a0a0a;
    stroke-width: 3;
    fill: none;
}

/* ─────────────────────────────────────────────────────────
   2. Verfügbarkeits-Punkt (war in style.css verloren)
   ───────────────────────────────────────────────────────── */
.girl-avail-dot {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 5;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid rgba(0,0,0,.4);
}
.girl-avail-aktiv   { background: #4caf7d; box-shadow: 0 0 8px rgba(76,175,125,.7); }
.girl-avail-pause   { background: #e0923a; box-shadow: 0 0 8px rgba(224,146,58,.5); }
.girl-avail-urlaub  { background: #5281c9; box-shadow: 0 0 8px rgba(82,129,201,.5); }
.girl-avail-inaktiv { background: #555; }

/* Wenn Highlight-Stern existiert: Status-Punkt rückt nach links oben */
.girl-luxury-card .glc-image:has(.glc-badge-highlight) .girl-avail-dot {
    right: auto;
    left: 1rem;
    top: 1rem;
}

/* ─────────────────────────────────────────────────────────
   3. Live-Status-Bar (war in style.css verloren)
   ───────────────────────────────────────────────────────── */
.live-status-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    padding: .8rem 4rem;
    background: rgba(5,5,5,.95);
    border-bottom: 1px solid rgba(155,28,28,.25);
    font-size: .78rem;
    color: var(--text-muted);
    letter-spacing: .06em;
}
.live-pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #4caf7d;
    flex-shrink: 0;
    box-shadow: 0 0 0 0 rgba(76,175,125,.6);
    animation: livePulse 2s ease-in-out infinite;
}
@keyframes livePulse {
    0%   { box-shadow: 0 0 0 0 rgba(76,175,125,.6); }
    70%  { box-shadow: 0 0 0 8px rgba(76,175,125,0); }
    100% { box-shadow: 0 0 0 0 rgba(76,175,125,0); }
}
.live-status-text { color: var(--text); }
.live-status-sep  { color: var(--text-dim); }
.live-status-link {
    margin-left: auto;
    color: var(--gold);
    font-size: .72rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    transition: color .2s;
}
.live-status-link:hover { color: var(--gold-light); }

@media (max-width: 768px) {
    .live-status-bar { padding: .7rem 1.5rem; }
    .live-status-link { margin-left: 0; }
}

/* ─────────────────────────────────────────────────────────
   4. Detail-Seite: Anruf-Button + Inline-Badge + Healthcheck-Banner
   ───────────────────────────────────────────────────────── */
.healthcheck-badge--inline {
    position: static;
    font-size: 0.62rem;
    padding: 2px 7px;
    margin-left: 6px;
    vertical-align: middle;
}

.healthcheck-banner {
    margin: 12px 0;
    padding: 10px 14px;
    background: linear-gradient(90deg, rgba(218,165,32,.18), rgba(218,165,32,.05));
    border: 1px solid rgba(218, 165, 32, 0.40);
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #d4af37;
    font-weight: 500;
    font-size: 0.92rem;
}
.healthcheck-banner svg {
    width: 20px;
    height: 20px;
    stroke: #d4af37;
    stroke-width: 2.5;
    fill: none;
    flex-shrink: 0;
}

.call-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: #d4af37;
    color: #0a0a0a;
    font-weight: 600;
    text-decoration: none;
    border-radius: 4px;
    transition: background .2s ease, transform .15s ease;
    font-size: 0.95rem;
}
.call-btn:hover {
    background: #f0c850;
    transform: translateY(-1px);
}
.call-btn svg {
    width: 18px;
    height: 18px;
    stroke: #0a0a0a;
    stroke-width: 2.5;
    fill: none;
}

/* ─────────────────────────────────────────────────────────
   5. Admin-Liste Health-Check + Telefon-Link
   ───────────────────────────────────────────────────────── */
.admin-tel-link {
    color: #d4af37;
    text-decoration: none;
    font-variant-numeric: tabular-nums;
}
.admin-tel-link:hover { text-decoration: underline; }

.admin-healthcheck-pill {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 600;
    background: rgba(218, 165, 32, 0.18);
    color: #d4af37;
    border: 1px solid rgba(218, 165, 32, 0.4);
}
.admin-healthcheck-pill--off {
    background: rgba(120, 120, 120, 0.12);
    color: #888;
    border-color: rgba(120, 120, 120, 0.2);
}
