/* spoty-dronowe.pl — dopiski przy Bootstrap */

/* --- Strona główna --- */
.home-page {
    --home-radius: 1.25rem;
}

.home-section-lead {
    max-width: 36rem;
}

.home-open-cat {
    border-radius: var(--home-radius);
}

.home-open-cat__visual {
    background:
        radial-gradient(circle at 30% 40%, rgba(255, 255, 255, 0.12), transparent 55%),
        linear-gradient(165deg, #134e4a 0%, #115e59 45%, #0f766e 100%);
}

.home-open-cat__glyph {
    font-size: clamp(3.5rem, 8vw, 5rem);
    color: rgba(255, 255, 255, 0.92);
    line-height: 1;
    filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.25));
}

.home-open-cat__bullet {
    flex-shrink: 0;
    width: 2rem;
    height: 2rem;
    border-radius: 0.6rem;
    background: rgba(13, 148, 136, 0.12);
    color: #0f766e;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
}

.home-open-cat__list {
    max-width: 46rem;
}

.home-open-cat__lead {
    border-bottom: 1px solid rgba(15, 118, 110, 0.12);
}

.home-open-cat__bullet--sky {
    background: rgba(14, 165, 233, 0.14);
    color: #0369a1;
}

.home-open-cat__bullet--amber {
    background: rgba(245, 158, 11, 0.14);
    color: #b45309;
}

.home-open-cat__sources {
    background: linear-gradient(160deg, rgba(13, 148, 136, 0.06) 0%, rgba(14, 165, 233, 0.05) 100%);
    border: 1px solid rgba(13, 148, 136, 0.15);
}

.home-open-cat__sources-list a {
    font-weight: 600;
}

.home-open-cat__footnote {
    max-width: 48rem;
}

.hero-spoty {
    color: #fff;
    border-radius: var(--home-radius);
    padding: clamp(2rem, 5vw, 3rem);
    background:
        radial-gradient(ellipse 95% 75% at 92% 8%, rgba(255, 255, 255, 0.14), transparent 52%),
        radial-gradient(ellipse 65% 55% at 12% 88%, rgba(244, 63, 94, 0.22), transparent 50%),
        linear-gradient(152deg, #0c1222 0%, #3730a3 38%, #831843 100%);
    box-shadow: 0 25px 50px -12px rgba(55, 48, 163, 0.35);
}

.hero-spoty__aurora {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(
        118deg,
        transparent 36%,
        rgba(255, 255, 255, 0.07) 48%,
        transparent 58%
    );
    pointer-events: none;
}

.hero-spoty__content {
    z-index: 1;
}

.hero-spoty__logo-wrap {
    z-index: 0;
    opacity: 1;
}

.hero-spoty__badge {
    display: inline-flex;
    align-items: center;
    padding: 0.45rem 1rem;
    border-radius: 999px;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.28);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.hero-spoty__title {
    letter-spacing: -0.025em;
    line-height: 1.12;
    text-shadow: 0 2px 28px rgba(0, 0, 0, 0.14);
}

.hero-spoty__lead {
    color: rgba(255, 255, 255, 0.92);
    max-width: 38rem;
}

.hero-spoty__btn-primary {
    border: none;
}

.hero-spoty__btn-ghost:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

.hero-spoty__meta {
    color: rgba(255, 255, 255, 0.76);
}

.hero-spoty__meta-dot {
    opacity: 0.55;
    margin: 0 0.35rem;
}

.hero-spoty-watermark {
    opacity: 0.34;
    max-width: min(280px, 46vw);
    height: auto;
}

.home-hero-glass {
    border-radius: var(--home-radius);
    background: rgba(255, 255, 255, 0.11);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.14);
}

.home-hero-glass__list {
    list-style: none;
    color: rgba(255, 255, 255, 0.9);
}

.home-hero-glass__num {
    flex-shrink: 0;
    width: 1.85rem;
    height: 1.85rem;
    border-radius: 0.55rem;
    background: rgba(255, 255, 255, 0.18);
    font-weight: 700;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.home-icon-chip {
    display: inline-flex;
    width: 2.35rem;
    height: 2.35rem;
    align-items: center;
    justify-content: center;
    border-radius: 0.65rem;
    font-size: 1.1rem;
}

.home-icon-chip--light {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.home-stat-tile {
    padding: 1.6rem 1.15rem;
    background: #fff;
    border-radius: var(--home-radius);
    border: 1px solid rgba(15, 23, 42, 0.06);
    box-shadow: 0 4px 22px rgba(15, 23, 42, 0.06);
    transition:
        transform 0.22s ease,
        box-shadow 0.22s ease;
}

.home-stat-tile:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 40px rgba(15, 23, 42, 0.1);
}

.home-stat-tile__icon {
    width: 3.35rem;
    height: 3.35rem;
    margin: 0 auto 0.85rem;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.home-stat-tile__icon--blue {
    background: linear-gradient(145deg, #dbeafe, #eff6ff);
    color: #2563eb;
}

.home-stat-tile__icon--violet {
    background: linear-gradient(145deg, #ede9fe, #f5f3ff);
    color: #7c3aed;
}

.home-stat-tile__icon--cyan {
    background: linear-gradient(145deg, #cffafe, #ecfeff);
    color: #0891b2;
}

.home-stat-tile__value {
    font-size: clamp(1.85rem, 4vw, 2.35rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
    color: #0f172a;
}

.home-stat-tile__label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    font-weight: 700;
    color: #64748b;
    margin-top: 0.35rem;
}

.home-feature-card {
    border-radius: var(--home-radius) !important;
    transition:
        transform 0.22s ease,
        box-shadow 0.22s ease;
}

.home-feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 1rem 2.25rem rgba(15, 23, 42, 0.12) !important;
}

.home-icon-bubble {
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.45rem;
}

.home-icon-bubble--rose {
    background: linear-gradient(145deg, #ffe4e6, #fff1f2);
    color: #e11d48;
}

.home-icon-bubble--emerald {
    background: linear-gradient(145deg, #d1fae5, #ecfdf5);
    color: #059669;
}

.home-icon-bubble--amber {
    background: linear-gradient(145deg, #fef3c7, #fffbeb);
    color: #d97706;
}

.home-icon-bubble--sky {
    background: linear-gradient(145deg, #e0f2fe, #f0f9ff);
    color: #0284c7;
}

.home-steps-panel {
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    border-radius: var(--home-radius);
    border: 1px solid rgba(15, 23, 42, 0.06);
    box-shadow: 0 4px 24px rgba(15, 23, 42, 0.05);
}

.home-step-card__icon {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    color: #fff;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.28);
}

.home-step-card__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.65rem;
    height: 1.65rem;
    padding: 0 0.45rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    background: #f1f5f9;
    color: #64748b;
}

.home-audience-list__ico {
    display: inline-flex;
    width: 2.25rem;
    height: 2.25rem;
    margin-right: 0.65rem;
    align-items: center;
    justify-content: center;
    border-radius: 0.55rem;
    font-size: 1rem;
    vertical-align: middle;
    background: linear-gradient(145deg, #eff6ff, #eef2ff);
    color: #2563eb;
}

.home-cta-card {
    border-radius: var(--home-radius) !important;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.09), rgba(124, 58, 237, 0.08));
    border: 1px solid rgba(37, 99, 235, 0.22) !important;
}

.home-icon-chip--cta {
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    color: #fff;
}

.home-bottom-card {
    border-radius: var(--home-radius) !important;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.home-bottom-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 0.85rem 2rem rgba(15, 23, 42, 0.1) !important;
}

.home-bottom-card__icon {
    display: inline-flex;
    width: 2.85rem;
    height: 2.85rem;
    margin-bottom: 0.65rem;
    align-items: center;
    justify-content: center;
    border-radius: 0.85rem;
    font-size: 1.35rem;
    background: linear-gradient(145deg, #eff6ff, #eef2ff);
    color: #2563eb;
}

#map {
    height: min(70vh, 640px);
    border-radius: 0.5rem;
    z-index: 1;
}

#map.sd-map--blocked {
    border-radius: 0.5rem;
}

.leaflet-container {
    font-family: system-ui, sans-serif;
}

.sd-marker-wrap {
    background: transparent !important;
    border: none !important;
}

.sd-marker-dot {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 3px solid #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

/* Kategoria otwarta — dodatkowa obwódka na mapie */
.sd-marker-dot.sd-marker-dot--ring {
    box-shadow:
        0 2px 10px rgba(0, 0, 0, 0.35),
        0 0 0 4px rgba(13, 148, 136, 0.45);
}

.home-hero-card {
    border-radius: 1rem !important;
}

.admin-subnav .nav-link.active {
    font-weight: 600;
}

.z-index-cookie {
    z-index: 1050;
}

.legal-page .h6 {
    margin-top: 1.75rem;
}

.legal-page ol,
.legal-page ul {
    padding-left: 1.25rem;
}

.cookie-consent {
    box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.25);
}

.site-logo-nav {
    height: 1.85rem;
    width: auto;
    max-width: 10rem;
    object-fit: contain;
}

@media (min-width: 992px) {
    .site-logo-nav {
        max-width: 12rem;
        height: 2.05rem;
    }
}

.site-logo-footer {
    width: auto;
    max-width: 11rem;
    height: auto;
    object-fit: contain;
    opacity: 0.98;
}

/* --- Panel administratora --- */
.admin-body {
    background: #f1f5f9;
}

.admin-main {
    background: #f8fafc;
}

.admin-shell__row {
    min-height: 100vh;
}

.admin-shell__sidebar {
    background: linear-gradient(165deg, #0f172a 0%, #1e293b 48%, #172554 100%);
    color: #fff;
}

@media (min-width: 992px) {
    .admin-shell__sidebar {
        position: sticky;
        top: 0;
        align-self: flex-start;
        min-height: 100vh;
    }
}

.admin-shell__logo {
    display: block;
    width: auto;
    max-width: 12rem;
    height: auto;
    opacity: 1;
}

.admin-shell__badge {
    font-size: 0.65rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 700;
    padding: 0.35rem 0.6rem;
    border-radius: 999px;
    background: rgba(56, 189, 248, 0.12);
    color: #7dd3fc;
    border: 1px solid rgba(125, 211, 252, 0.28);
}

.admin-shell__badge--moderator {
    background: rgba(167, 139, 250, 0.14);
    color: #ddd6fe;
    border-color: rgba(167, 139, 250, 0.35);
}

.admin-shell__nav-link {
    color: rgba(255, 255, 255, 0.72);
    font-weight: 500;
    transition:
        background 0.15s ease,
        color 0.15s ease;
}

.admin-shell__nav-link:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.07);
}

.admin-shell__nav-link.active {
    color: #fff;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.55), rgba(124, 58, 237, 0.45));
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.35);
}

.admin-shell__footer .btn-outline-light {
    border-color: rgba(255, 255, 255, 0.28);
}

.admin-card {
    border-radius: 1rem !important;
    overflow: hidden;
}

.admin-card--accent {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.06), rgba(124, 58, 237, 0.05));
    border: 1px solid rgba(37, 99, 235, 0.18) !important;
}

.admin-stat-card {
    border-radius: 1rem;
    padding: 1.15rem 1.25rem;
    border: 1px solid rgba(15, 23, 42, 0.06);
    background: #fff;
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.06);
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.admin-stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.1);
}

.admin-stat-card__icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 0.65rem;
}

.admin-stat-card__label {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
    color: #64748b;
}

.admin-stat-card__value {
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
    color: #0f172a;
}

.admin-stat-card--users .admin-stat-card__icon {
    background: linear-gradient(145deg, #dbeafe, #eff6ff);
    color: #2563eb;
}

.admin-stat-card--spots .admin-stat-card__icon {
    background: linear-gradient(145deg, #ede9fe, #f5f3ff);
    color: #7c3aed;
}

.admin-stat-card--community .admin-stat-card__icon {
    background: linear-gradient(145deg, #cffafe, #ecfeff);
    color: #0891b2;
}

.admin-stat-card--demo .admin-stat-card__icon {
    background: linear-gradient(145deg, #f1f5f9, #e2e8f0);
    color: #475569;
}

