/**
 * ═══════════════════════════════════════════════════════════════
 * wezunu MapLayers - Cities / Regions / POIs / Routes Styles
 * Developed by Toni Sciacca - mail@tonisciacca.com
 * ═══════════════════════════════════════════════════════════════
 */

/* ─── CITIES ─── kleine schwarze Punkte, Label nur on hover */
.ml-city {
    position:relative;
    display:flex; align-items:center; justify-content:center;
    width:14px; height:14px;
    pointer-events:auto; cursor:pointer;
}
.ml-city-dot {
    width:6px; height:6px; border-radius:50%;
    background:#111; border:1.5px solid rgba(255,255,255,0.85);
    box-shadow:0 1px 2px rgba(0,0,0,0.4);
    transition:transform 0.12s ease, background 0.12s ease;
}
.ml-city:hover .ml-city-dot {
    transform:scale(1.5);
    background:#FF385C;
}
/* Label: standardmaessig versteckt, kommt nur bei hover */
.ml-city-label {
    position:absolute;
    left:50%; bottom:calc(100% + 4px);
    transform:translateX(-50%);
    font:600 11px 'Outfit', sans-serif;
    color:#1a1a1a; background:rgba(255,255,255,0.96);
    padding:3px 8px; border-radius:6px;
    white-space:nowrap;
    box-shadow:0 2px 8px rgba(0,0,0,0.18);
    opacity:0; pointer-events:none;
    transition:opacity 0.12s ease;
    z-index:1000;
}
.ml-city:hover .ml-city-label { opacity:1; }
/* Groessen: Mega-Staedte etwas dicker, aber immer noch schwarz */
.ml-city-big .ml-city-dot { width:8px; height:8px; }
.ml-city-med .ml-city-dot { width:7px; height:7px; }
.ml-city-sml .ml-city-dot { width:5px; height:5px; }
/* Hauptstadt-Markierung: kleiner roter Ring um den schwarzen Punkt */
.ml-city.is-capital .ml-city-dot {
    box-shadow:0 0 0 2px rgba(255,56,92,0.7), 0 1px 2px rgba(0,0,0,0.4);
}

/* ─── REGIONS ─── */
.ml-region {
    font:700 12px 'Outfit', sans-serif;
    letter-spacing:0.5px;
    text-transform:uppercase;
    color:rgba(26,26,26,0.45);
    text-align:center;
    white-space:nowrap;
    text-shadow:
        0 0 3px rgba(255,255,255,0.9),
        0 0 6px rgba(255,255,255,0.7);
    pointer-events:none;
}
.ml-region-cc {
    font-size:9px; opacity:0.7; margin-left:4px;
    background:rgba(0,0,0,0.06); padding:1px 4px; border-radius:3px;
}

/* ─── POIS ─── */
.ml-poi {
    width:28px; height:28px; border-radius:50%;
    display:flex; align-items:center; justify-content:center;
    border:2px solid white;
    box-shadow:0 2px 6px rgba(0,0,0,0.25);
    transition:transform 0.15s;
}
.ml-poi:hover { transform:scale(1.15); }

/* MarkerCluster - Brand-Cluster ueber iconCreateFunction (siehe map-layers.js) */
.tt-cluster-wrap { background:transparent; border:none; }
.tt-cluster {
    width:100%; height:100%;
    border-radius:50%;
    background:rgba(255,56,92,0.95);
    color:#fff;
    border:3px solid rgba(255,255,255,0.95);
    box-shadow:0 4px 14px rgba(255,56,92,0.35), 0 2px 6px rgba(0,0,0,0.18);
    display:flex; align-items:center; justify-content:center;
    font-family:'Outfit',sans-serif; font-weight:700;
    transition:transform 0.15s ease;
    cursor:pointer;
}
.tt-cluster:hover { transform:scale(1.08); }
.tt-cluster.tt-cl-s span { font-size:13px; }
.tt-cluster.tt-cl-m span { font-size:14px; }
.tt-cluster.tt-cl-l { background:#e91e4a; box-shadow:0 4px 16px rgba(233,30,74,0.45), 0 2px 6px rgba(0,0,0,0.22); }
.tt-cluster.tt-cl-l span { font-size:15px; }

/* Fallback fuer die original-Klassen (falls cache) */
.marker-cluster-small,
.marker-cluster-medium,
.marker-cluster-large { background-color:rgba(255,56,92,0.15); }
.marker-cluster-small div,
.marker-cluster-medium div,
.marker-cluster-large div {
    background-color:rgba(255,56,92,0.9);
    color:#fff; font:600 12px 'Outfit',sans-serif;
}

/* ─── HIGHLIGHT POI (groesserer Marker mit Glow) ─── */
.ml-poi-hl {
    animation: mlPoiPulse 2s ease-in-out infinite;
}
@keyframes mlPoiPulse {
    0%, 100% { box-shadow:0 0 0 3px rgba(255,56,92,0.35),0 2px 6px rgba(0,0,0,0.25); }
    50%      { box-shadow:0 0 0 5px rgba(255,56,92,0.5), 0 2px 8px rgba(0,0,0,0.3); }
}

/* ─── RECOMMENDED POI (goldener Stern oben rechts) ─── */
.ml-poi-rec { position:relative; }
.ml-poi-star {
    position:absolute; top:-6px; right:-6px;
    width:16px; height:16px;
    background:#fbbf24; border-radius:50%;
    color:#fff; font:700 11px 'Outfit', sans-serif;
    display:flex; align-items:center; justify-content:center;
    box-shadow:0 1px 4px rgba(0,0,0,0.3);
    border:1.5px solid white;
    animation:mlStarTwinkle 3s ease-in-out infinite;
}
@keyframes mlStarTwinkle {
    0%,100% { transform:scale(1); }
    50%     { transform:scale(1.15); }
}

.ml-badge-recommended {
    background:rgba(251,191,36,0.18) !important;
    color:#b45309 !important;
}

/* ─── REGION-LABEL klickbar machen ─── */
.ml-region-clickable {
    pointer-events:auto !important;
    cursor:pointer;
    transition:color 0.15s, transform 0.15s;
}
.ml-region-clickable:hover {
    color:#FF385C !important;
    transform:scale(1.05);
}

/* ─── POPUP (Cities / POIs / Routes) ─── */
.ml-popup .leaflet-popup-content-wrapper {
    border-radius:14px; overflow:hidden;
    box-shadow:0 8px 32px rgba(0,0,0,0.18);
    padding:0;
}
.ml-popup .leaflet-popup-content {
    margin:0 !important; padding:0 !important;
    font-family:'Outfit', sans-serif;
}
.ml-pop { width:260px; }
.ml-pop img { display:block; }
.ml-pop-body { padding:12px; }
.ml-pop-title {
    font:700 14px 'Outfit', sans-serif;
    color:#1a1a1a; display:flex; align-items:center; gap:6px; flex-wrap:wrap;
}
.ml-pop-meta { font:500 11px 'Outfit', sans-serif; color:#6b6b6b; margin-top:4px; }
.ml-pop-badge {
    font-size:9px; font-weight:700; text-transform:uppercase; letter-spacing:0.3px;
    background:rgba(255,56,92,0.12); color:#FF385C;
    padding:2px 6px; border-radius:4px; flex-shrink:0;
}
.ml-badge-verified { background:rgba(22,163,74,0.12); color:#16a34a; }

.ml-pop-actions {
    display:flex; gap:6px; margin-top:10px; flex-wrap:wrap;
}
.ml-pop-btn {
    flex:1; min-width:60px;
    font:600 11px 'Outfit', sans-serif;
    padding:6px 10px; border-radius:8px;
    border:1px solid #e8e8e8; background:#fff; color:#1a1a1a;
    cursor:pointer; transition:all 0.12s;
    white-space:nowrap;
}
.ml-pop-btn:hover { border-color:#FF385C; color:#FF385C; }
.ml-pop-btn.primary {
    background:#FF385C; color:white; border-color:#FF385C;
}
.ml-pop-btn.primary:hover { background:#e0294b; border-color:#e0294b; color:white; }

/* ─── Highlights-Indikator im Route-Popup ─── */
.ml-pop-hl {
    margin-top:8px; padding:6px 10px;
    background:linear-gradient(90deg, rgba(251,191,36,0.15), rgba(251,191,36,0.05) 80%);
    border-radius:6px;
    font:600 11px 'Outfit', sans-serif;
    color:#92400e;
}

/* ─── SCORE-BARS im Route-Popup ─── */
.ml-scores { margin-top:10px; padding:8px; background:#f9f9f9; border-radius:8px; }
.ml-score {
    display:flex; align-items:center; gap:8px;
    font:500 11px 'Outfit', sans-serif;
    margin-bottom:4px;
}
.ml-score:last-child { margin-bottom:0; }
.ml-score-l { width:55px; color:#6b6b6b; }
.ml-score-bar { flex:1; height:6px; background:#e8e8e8; border-radius:4px; overflow:hidden; }
.ml-score-fill { height:100%; background:linear-gradient(90deg,#FF385C,#ff7a96); border-radius:4px; transition:width 0.3s; }
.ml-score-v { width:24px; text-align:right; color:#1a1a1a; font-weight:600; }

/* ─── STATS-BADGE Chips (klickbar) ─── */
.ml-stat-chip:hover { filter:brightness(0.95); }
.ml-stat-chip.active:hover { background:#e0294b !important; }
.ml-stat-chip [data-lucide] { stroke-width:2.5; }

/* ─── TRAVEL-DNA WIDGET ─── */
.tdna-widget {
    position:absolute; top:14px; right:14px;
    width:240px;
    background:rgba(255,255,255,0.96);
    border-radius:14px;
    box-shadow:0 6px 24px rgba(0,0,0,0.14);
    z-index:401;
    font-family:'Outfit', sans-serif;
    overflow:hidden;
    backdrop-filter:blur(6px);
    transition:width 0.2s, height 0.2s;
}
.tdna-widget.tdna-collapsed { width:auto; }
.tdna-widget.tdna-collapsed .tdna-body { display:none; }

.tdna-head {
    display:flex; align-items:center; gap:6px;
    padding:8px 10px;
    border-bottom:1px solid #f0f0f0;
}
.tdna-title { flex:1; font:600 12px 'Outfit', sans-serif; color:#1a1a1a; white-space:nowrap; }
.tdna-title-icon { width:14px; height:14px; color:#FF385C; flex-shrink:0; }
.tdna-icon-btn {
    width:22px; height:22px;
    border:none; background:#f5f5f5; color:#6b6b6b;
    border-radius:50%;
    cursor:pointer;
    display:inline-flex; align-items:center; justify-content:center;
    transition:all 0.12s;
    flex-shrink:0;
}
.tdna-icon-btn [data-lucide] { width:13px; height:13px; }
.tdna-icon-btn:hover { background:#FF385C; color:white; }

/* ─── Profile-Switcher-Tabs ─── */
.tdna-profiles {
    display:flex; gap:2px;
    padding:6px 6px 4px;
    border-bottom:1px solid #f0f0f0;
    overflow-x:auto;
    scrollbar-width:none;
}
.tdna-profiles::-webkit-scrollbar { display:none; }
.tdna-prof {
    flex:1 0 auto;
    border:none; background:transparent; cursor:pointer;
    padding:5px 8px; border-radius:6px;
    font:600 9px 'Outfit', sans-serif;
    color:#9a9a9a;
    display:flex; flex-direction:column; align-items:center; gap:2px;
    transition:all 0.12s;
    min-width:46px;
}
.tdna-prof:hover { background:#f5f5f5; color:#1a1a1a; }
.tdna-prof.active {
    background:#FF385C; color:white;
}
.tdna-prof.active .tdna-prof-label { color:white; }
.tdna-prof-icon { width:14px; height:14px; }
.tdna-prof-label { font-size:9px; }

.tdna-body { padding:8px; max-height:380px; overflow-y:auto; }
.tdna-loading, .tdna-error, .tdna-hint {
    font:500 11px 'Outfit', sans-serif;
    color:#9a9a9a; padding:6px 4px 10px;
    line-height:1.4;
}
.tdna-error { color:#dc2626; }

.tdna-row {
    width:100%;
    display:grid; grid-template-columns:16px 60px 1fr 26px;
    gap:8px; align-items:center;
    background:none; border:none; cursor:pointer;
    padding:5px 4px; border-radius:6px;
    font:inherit; text-align:left;
    transition:background 0.12s;
}
.tdna-row:hover { background:rgba(255,56,92,0.06); }
.tdna-row.tdna-top { background:rgba(255,56,92,0.08); }
.tdna-row.tdna-active { background:#FF385C; color:white; }
.tdna-row.tdna-active .tdna-val { color:white; }

.tdna-icon { width:14px; height:14px; }
.tdna-label { font:500 11px 'Outfit', sans-serif; }
.tdna-bar {
    height:6px; background:#e8e8e8; border-radius:4px; overflow:hidden;
}
.tdna-fill {
    height:100%; border-radius:4px;
    transition:width 0.4s cubic-bezier(0.4,0,0.2,1);
}
.tdna-val { font:600 10px 'Outfit', sans-serif; text-align:right; color:#1a1a1a; }
.tdna-row.tdna-active .tdna-label { color:white; }

.tdna-reset {
    width:100%; margin-top:6px;
    background:#f5f5f5; border:none;
    padding:6px 10px; border-radius:6px;
    font:600 10px 'Outfit', sans-serif; color:#6b6b6b;
    cursor:pointer; transition:all 0.12s;
}
.tdna-reset:hover { background:#FF385C; color:white; }

/* Mobile */
@media (max-width: 640px) {
    .tdna-widget { width:200px; top:8px; right:8px; }
    .tdna-body { max-height:280px; }
}

/* ─── REISE-MODUS-SWITCHER (floating unten mittig) ─── */
.modesw {
    position:absolute; bottom:14px; left:50%; transform:translateX(-50%);
    display:flex; gap:4px;
    background:rgba(255,255,255,0.95);
    padding:5px;
    border-radius:999px;
    box-shadow:0 4px 16px rgba(0,0,0,0.14);
    z-index:402;
    font-family:'Outfit', sans-serif;
    backdrop-filter:blur(6px);
}
.modesw-btn {
    border:none; background:transparent; cursor:pointer;
    padding:6px 12px; border-radius:999px;
    font:600 11px 'Outfit', sans-serif;
    color:#6b6b6b;
    display:inline-flex; align-items:center; gap:5px;
    transition:all 0.15s;
}
.modesw-btn:hover { background:#f5f5f5; color:#1a1a1a; }
.modesw-btn.active {
    background:#1a1a1a; color:white;
    box-shadow:0 2px 6px rgba(0,0,0,0.18);
}
.modesw-icon { width:14px; height:14px; flex-shrink:0; }
.modesw-label { white-space:nowrap; }

/* ─── HIDDEN GEM Marker (lila Edelstein) ─── */
.ml-gem {
    width:34px; height:34px;
    background:linear-gradient(135deg, #a855f7 0%, #ec4899 100%);
    border-radius:50%;
    display:flex; align-items:center; justify-content:center;
    border:2px solid white;
    box-shadow:0 2px 8px rgba(168,85,247,0.35);
    animation:mlGemFloat 4s ease-in-out infinite;
    color:#fff;
}
.ml-gem [data-lucide] { width:18px; height:18px; stroke-width:2.5; }
@keyframes mlGemFloat {
    0%,100% { transform:translateY(0) rotate(-5deg); }
    50%     { transform:translateY(-2px) rotate(5deg); }
}
.ml-badge-gem {
    background:linear-gradient(135deg, rgba(168,85,247,0.18) 0%, rgba(236,72,153,0.18) 100%) !important;
    color:#a855f7 !important;
    font-weight:700 !important;
}

/* ─── Mode-Match-Indikator auf POI ─── */
.ml-poi-mode {
    position:absolute; bottom:-2px; right:-2px;
    width:12px; height:12px;
    background:#22c55e; border:1.5px solid white;
    border-radius:50%;
}

/* Mobile: kompakter, Labels weg */
@media (max-width: 640px) {
    .modesw { bottom:8px; padding:4px; }
    .modesw-btn { padding:5px 9px; }
    .modesw-label { display:none; }
}

/* ─── IMPORTANCE-TIER (oben links der Karte) ─── */
.imptier {
    position:absolute; top:14px; left:14px;
    display:flex; align-items:center; gap:3px;
    background:rgba(255,255,255,0.95);
    padding:4px 6px 4px 10px;
    border-radius:999px;
    box-shadow:0 4px 16px rgba(0,0,0,0.14);
    z-index:401;
    font-family:'Outfit', sans-serif;
    backdrop-filter:blur(6px);
}
.imptier-label {
    font:600 10px 'Outfit', sans-serif;
    color:#6b6b6b; margin-right:4px;
    white-space:nowrap;
}
.imptier-btn {
    border:none; background:transparent; cursor:pointer;
    padding:4px 9px; border-radius:999px;
    font:600 10px 'Outfit', sans-serif;
    color:#6b6b6b;
    transition:all 0.15s;
}
.imptier-btn:hover { background:#f5f5f5; color:#1a1a1a; }
.imptier-btn.active {
    background:#FF385C; color:white;
}

/* Mobile */
@media (max-width: 640px) {
    .imptier { top:8px; left:8px; padding:3px 5px 3px 8px; }
    .imptier-label { display:none; }
    .imptier-btn { padding:3px 7px; font-size:9px; }
}

/* ─── WETTER-INDIKATOR (unten rechts) ─── */
.wxind {
    position:absolute; bottom:14px; right:14px;
    display:inline-flex; align-items:center; gap:6px;
    background:rgba(255,255,255,0.95);
    padding:6px 12px;
    border-radius:999px;
    border:none; cursor:pointer;
    box-shadow:0 4px 16px rgba(0,0,0,0.14);
    z-index:401;
    font:600 11px 'Outfit', sans-serif;
    color:#1a1a1a;
    backdrop-filter:blur(6px);
    transition:transform 0.15s;
}
.wxind:hover { transform:translateY(-1px); }
.wxind-icon { width:14px; height:14px; flex-shrink:0; }
.wxind-text { white-space:nowrap; }
.wxind[data-cat="sunny"]  { background:linear-gradient(90deg, rgba(251,191,36,0.18), rgba(255,255,255,0.95) 60%); }
.wxind[data-cat="rainy"]  { background:linear-gradient(90deg, rgba(59,130,246,0.18), rgba(255,255,255,0.95) 60%); }
.wxind[data-cat="snowy"]  { background:linear-gradient(90deg, rgba(186,230,253,0.35), rgba(255,255,255,0.95) 60%); }
.wxind[data-cat="cold"]   { background:linear-gradient(90deg, rgba(165,180,252,0.25), rgba(255,255,255,0.95) 60%); }
.wxind[data-cat="hot"]    { background:linear-gradient(90deg, rgba(239,68,68,0.18), rgba(255,255,255,0.95) 60%); }
.wxind[data-cat="foggy"]  { background:linear-gradient(90deg, rgba(156,163,175,0.25), rgba(255,255,255,0.95) 60%); }
.wxind[data-cat="stormy"] { background:linear-gradient(90deg, rgba(91,33,182,0.18), rgba(255,255,255,0.95) 60%); }

/* Mobile */
@media (max-width: 640px) {
    .wxind { bottom:54px; right:8px; padding:5px 9px; }
    .wxind-text { display:none; }
}

/* ─── Wetter-Match-Indikator auf POI (kleiner blauer/gelber Punkt links unten) ─── */
.ml-poi-weather {
    position:absolute; bottom:-2px; left:-2px;
    width:12px; height:12px;
    background:#3b82f6; border:1.5px solid white;
    border-radius:50%;
}

/* ═══════════════════════════════════════════════════════════
   AI CONCIERGE Widget (Bubble + Panel rechts unten)
   ═══════════════════════════════════════════════════════════ */
.aic-bubble {
    position:absolute; bottom:60px; right:14px;
    width:48px; height:48px;
    border:none; border-radius:50%;
    background:linear-gradient(135deg, #FF385C 0%, #ec4899 100%);
    color:white; cursor:pointer;
    display:flex; align-items:center; justify-content:center;
    box-shadow:0 6px 18px rgba(255,56,92,0.35);
    z-index:403;
    transition:transform 0.15s, box-shadow 0.15s;
}
.aic-bubble:hover {
    transform:translateY(-2px);
    box-shadow:0 8px 22px rgba(255,56,92,0.45);
}
.aic-bubble [data-lucide] { width:22px; height:22px; stroke-width:2.2; }
.aic-bubble-open { transform:scale(0.9); }

.aic-panel {
    position:absolute; bottom:118px; right:14px;
    width:340px; max-height:520px;
    background:white;
    border-radius:14px;
    box-shadow:0 12px 36px rgba(0,0,0,0.18);
    z-index:404;
    display:flex; flex-direction:column;
    font-family:'Outfit', sans-serif;
    overflow:hidden;
    animation:aicSlideIn 0.18s ease-out;
}
@keyframes aicSlideIn {
    from { opacity:0; transform:translateY(8px) scale(0.97); }
    to   { opacity:1; transform:none; }
}

.aic-head {
    display:flex; align-items:center; gap:8px;
    padding:12px 14px;
    border-bottom:1px solid #f0f0f0;
    background:linear-gradient(90deg, rgba(255,56,92,0.05), transparent);
}
.aic-head-icon { width:18px; height:18px; color:#FF385C; }
.aic-head-title { flex:1; font:700 14px 'Outfit', sans-serif; color:#1a1a1a; }
.aic-close {
    width:24px; height:24px; border:none;
    background:transparent; cursor:pointer; color:#6b6b6b;
    border-radius:50%; display:inline-flex; align-items:center; justify-content:center;
}
.aic-close [data-lucide] { width:14px; height:14px; }
.aic-close:hover { background:#f5f5f5; color:#1a1a1a; }

.aic-new-btn {
    width:24px; height:24px; border:none;
    background:transparent; cursor:pointer; color:#6b6b6b;
    border-radius:50%; display:inline-flex; align-items:center; justify-content:center;
    margin-right:2px;
}
.aic-new-btn [data-lucide] { width:14px; height:14px; }
.aic-new-btn:hover { background:#f0f7ff; color:#3b82f6; }
.aic-new-btn:hover [data-lucide] { stroke:#3b82f6; }

.aic-loading {
    display:flex; gap:3px; padding:10px 12px;
    align-self:flex-start;
}

.aic-body {
    flex:1; min-height:200px; max-height:340px;
    overflow-y:auto;
    padding:12px;
    display:flex; flex-direction:column; gap:8px;
}

.aic-msg {
    max-width:85%;
    padding:8px 12px; border-radius:14px;
    font:500 13px 'Outfit', sans-serif;
    line-height:1.45;
    word-wrap:break-word;
}
.aic-msg-user {
    align-self:flex-end;
    background:#FF385C; color:white;
    border-bottom-right-radius:4px;
}
.aic-msg-bot {
    align-self:flex-start;
    background:#f5f5f5; color:#1a1a1a;
    border-bottom-left-radius:4px;
}
.aic-msg em { color:#6b6b6b; font-style:italic; }
.aic-msg code { background:rgba(0,0,0,0.06); padding:1px 4px; border-radius:3px; font-size:11px; }

.aic-typing { display:flex; gap:3px; padding:10px 12px; }
.aic-dot {
    width:6px; height:6px; border-radius:50%;
    background:#9a9a9a;
    animation:aicDot 1.2s infinite ease-in-out;
}
.aic-dot:nth-child(2) { animation-delay:0.15s; }
.aic-dot:nth-child(3) { animation-delay:0.3s; }
@keyframes aicDot {
    0%,80%,100% { opacity:0.3; transform:scale(0.8); }
    40%         { opacity:1;   transform:scale(1); }
}

.aic-quick {
    display:flex; flex-wrap:wrap; gap:4px;
    padding:8px 12px;
    border-top:1px solid #f0f0f0;
}
.aic-quick-btn {
    border:1px solid #e8e8e8; background:white;
    cursor:pointer; padding:5px 9px;
    border-radius:999px;
    font:600 10px 'Outfit', sans-serif;
    color:#6b6b6b;
    display:inline-flex; align-items:center; gap:4px;
    transition:all 0.12s;
}
.aic-quick-btn:hover { border-color:#FF385C; color:#FF385C; }
.aic-quick-btn [data-lucide] { width:11px; height:11px; }

.aic-form {
    display:flex; gap:6px;
    padding:10px 12px 12px;
    border-top:1px solid #f0f0f0;
    background:#fafafa;
}
.aic-input {
    flex:1; padding:8px 12px;
    border:1px solid #e8e8e8; border-radius:999px;
    font:500 13px 'Outfit', sans-serif;
    background:white; color:#1a1a1a;
    outline:none;
}
.aic-input:focus { border-color:#FF385C; }
.aic-send {
    width:34px; height:34px;
    border:none; border-radius:50%;
    background:#FF385C; color:white;
    cursor:pointer;
    display:inline-flex; align-items:center; justify-content:center;
    transition:filter 0.12s;
}
.aic-send:hover { filter:brightness(0.92); }
.aic-send [data-lucide] { width:14px; height:14px; }

/* Mobile */
@media (max-width: 640px) {
    .aic-bubble { bottom:100px; right:8px; width:44px; height:44px; }
    .aic-panel { bottom:152px; right:8px; left:8px; width:auto; max-height:60vh; }
}

/* ═══════════════════════════════════════════════════════════
   BUSINESS-STATS Widget (oberhalb des AI-Bubbles)
   ═══════════════════════════════════════════════════════════ */
.biz-bubble {
    position:absolute; bottom:118px; right:14px;
    width:48px; height:48px;
    border:none; border-radius:50%;
    background:linear-gradient(135deg, #8b5cf6 0%, #6366f1 100%);
    color:white; cursor:pointer;
    display:flex; align-items:center; justify-content:center;
    box-shadow:0 6px 18px rgba(139,92,246,0.35);
    z-index:403;
    transition:transform 0.15s;
}
.biz-bubble:hover { transform:translateY(-2px); }
.biz-bubble [data-lucide] { width:22px; height:22px; }

.biz-panel {
    position:absolute; bottom:176px; right:14px;
    width:340px; max-height:520px;
    background:white;
    border-radius:14px;
    box-shadow:0 12px 36px rgba(0,0,0,0.18);
    z-index:404;
    display:flex; flex-direction:column;
    font-family:'Outfit', sans-serif;
    overflow:hidden;
}
.biz-head {
    display:flex; align-items:center; gap:8px;
    padding:12px 14px;
    border-bottom:1px solid #f0f0f0;
    background:linear-gradient(90deg, rgba(139,92,246,0.05), transparent);
}
.biz-head-icon { width:18px; height:18px; color:#8b5cf6; }
.biz-head-title { flex:1; font:700 14px 'Outfit', sans-serif; }
.biz-close {
    width:24px; height:24px; border:none;
    background:transparent; cursor:pointer; color:#6b6b6b;
    border-radius:50%; display:inline-flex; align-items:center; justify-content:center;
}
.biz-close [data-lucide] { width:14px; height:14px; }
.biz-close:hover { background:#f5f5f5; color:#1a1a1a; }

.biz-body {
    flex:1; overflow-y:auto;
    padding:12px;
}

.biz-quota {
    display:inline-flex; align-items:center; gap:5px;
    padding:4px 10px;
    background:rgba(22,163,74,0.12); color:#15803d;
    border-radius:999px;
    font:600 10px 'Outfit', sans-serif;
    margin-bottom:10px;
}
.biz-quota [data-lucide] { width:11px; height:11px; }

.biz-section-title {
    font:700 11px 'Outfit', sans-serif;
    text-transform:uppercase; letter-spacing:0.5px;
    color:#9a9a9a;
    margin:10px 0 6px;
    display:flex; align-items:center; justify-content:space-between;
}

.biz-scores { display:flex; flex-direction:column; gap:6px; }
.biz-score-row {
    display:grid; grid-template-columns:16px 92px 1fr 28px;
    gap:6px; align-items:center;
}
.biz-score-icon { width:14px; height:14px; }
.biz-score-label { font:500 11px 'Outfit', sans-serif; color:#6b6b6b; }
.biz-score-bar { height:6px; background:#e8e8e8; border-radius:4px; overflow:hidden; }
.biz-score-fill { height:100%; border-radius:4px; transition:width 0.4s; }
.biz-score-val { text-align:right; font:600 11px 'Outfit', sans-serif; }

.biz-new-btn {
    border:none; background:#8b5cf6; color:white;
    padding:3px 8px; border-radius:999px;
    font:600 9px 'Outfit', sans-serif; cursor:pointer;
    display:inline-flex; align-items:center; gap:3px;
    text-transform:none; letter-spacing:0;
}
.biz-new-btn [data-lucide] { width:9px; height:9px; }
.biz-new-btn:hover { background:#7c3aed; }

.biz-keys { display:flex; flex-direction:column; gap:6px; }
.biz-empty { color:#9a9a9a; font-size:11px; padding:8px 0; }
.biz-key-row {
    background:#f9f9f9; border-radius:8px; padding:8px 10px;
    display:flex; flex-direction:column; gap:3px;
    position:relative;
}
.biz-key-row.revoked { opacity:0.5; }
.biz-key-name {
    font:600 12px 'Outfit', sans-serif;
    display:flex; align-items:center; gap:6px;
}
.biz-key-status {
    font-size:9px; font-weight:700; text-transform:uppercase;
    padding:1px 5px; border-radius:3px;
}
.biz-key-status.active { background:rgba(22,163,74,0.15); color:#15803d; }
.biz-key-status.revoked { background:rgba(220,38,38,0.15); color:#b91c1c; }
.biz-key-meta {
    font:500 10px 'Outfit', sans-serif;
    color:#6b6b6b;
}
.biz-key-meta code {
    background:white; padding:1px 4px; border-radius:3px;
    border:1px solid #e8e8e8;
    font-family:Menlo, monospace; font-size:10px;
}
.biz-key-revoke {
    position:absolute; top:6px; right:6px;
    border:none; background:transparent; color:#dc2626;
    cursor:pointer; padding:4px;
    border-radius:4px;
    display:inline-flex; align-items:center; justify-content:center;
}
.biz-key-revoke:hover { background:rgba(220,38,38,0.1); }
.biz-key-revoke [data-lucide] { width:13px; height:13px; }

/* Mobile */
@media (max-width: 640px) {
    .biz-bubble { bottom:160px; right:8px; width:44px; height:44px; }
    .biz-panel { bottom:212px; right:8px; left:8px; width:auto; max-height:60vh; }
}
