/**
 * widget-dnia.css
 * Pełny arkusz stylów dla Profilu Basic (Wersja Finalna)
 */

:root {
    /* Paleta kolorów */
    --rp-bg-page: #f9fafb;       /* Jasne tło strony */
    --rp-bg-card: #ffffff;       /* Tło kart */
    --rp-primary: #1e40af;       /* Główny granat */
    --rp-primary-light: #eff6ff; /* Jasne tło pod ikonami */
    --rp-accent: #f59e0b;        /* Pomarańczowy/Złoty (CTA) */
    --rp-accent-hover: #d97706;
    --rp-text-main: #111827;     /* Główny tekst */
    --rp-text-muted: #6b7280;    /* Szary tekst */
    --rp-border: #e5e7eb;        /* Ramki */
    --rp-radius: 8px;            /* Zaokrąglenia */
    --rp-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}

/* --- KONTENER GŁÓWNY --- */

.regioner-profile-wrapper *,
.regioner-profile-wrapper *::before,
.regioner-profile-wrapper *::after {
    box-sizing: inherit;
}

.regioner-top-box {
    background: #ffffff;
    padding: 22px 24px;
    border-radius: var(--rp-radius);
    border: 1px solid var(--rp-border);
    box-shadow: 0 10px 24px -22px rgba(15, 23, 42, 0.35);
    margin-bottom: 24px;
}

.regioner-profile--free .regioner-top-box {
    border: none;
}

/* --- NAGŁÓWEK (HEADER) --- */
.regioner-profile-header {
    margin: 0 0 28px;
}

.regioner-profile-demo-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    line-height: 1;
    padding: 5px 12px;
    margin-bottom: 10px;
    color: #7c5c00;
    background: #fef3c7;
    border: 1px solid #fde68a;
    border-radius: 6px;
    letter-spacing: 0.02em;
}

.regioner-breadcrumbs {
    font-size: 0.85rem;
    color: var(--rp-text-muted);
    margin-bottom: 10px;
}
.regioner-breadcrumbs a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s;
}
.regioner-breadcrumbs a:hover {
    text-decoration: underline;
    color: var(--rp-text-main);
}
.regioner-breadcrumbs .sep {
    margin: 0 8px;
    opacity: 0.5;
}

.regioner-company-heading {
    display: block;
}
.regioner-company-heading--has-logo {
    display: flex;
    align-items: center;
    gap: 16px;
}
.regioner-company-logo {
    width: 56px;
    height: 56px;
    object-fit: contain;
    border-radius: 10px;
    border: 1px solid var(--rp-border, #e5e7eb);
    background: #fff;
    flex-shrink: 0;
}
.regioner-company-title {
    margin: 0;
    font-size: clamp(1.3rem, 2.2vw, 1.8rem);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -0.01em;
    color: var(--rp-text-main);
}

.regioner-company-title--basic {
    position: relative;
    padding-bottom: 14px;
    font-weight: 750;
    line-height: 1.06;
    letter-spacing: -0.02em;
}

.regioner-company-title--basic::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: min(260px, 50%);
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--rp-primary), var(--rp-accent));
    opacity: 0.72;
}

.regioner-profile--free .regioner-profile-header {
    margin: 13px 0 0;
}
.regioner-profile--free .regioner-company-title {
    margin-top: 16px;
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    font-weight: 600;
    letter-spacing: -0.025em;
    color: #0f172a;
    padding-bottom: 10px;
    position: relative;
}
.regioner-profile--free .regioner-company-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: min(200px, 40%);
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, #0284c7, #0ea5e9);
    opacity: 0.6;
}

.regioner-company-title-check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 0.3em;
    min-width: 1.18em;
    height: 1.18em;
    padding: 0 0.2em;
    background: #dcfce7;
    border: 1px solid #86efac;
    border-radius: 8px;
    color: #16a34a;
    font-size: 0.66em;
    font-weight: 700;
    line-height: 1;
    vertical-align: middle;
}

.regioner-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.regioner-tag {
    display: inline-block;
    font-size: 0.75rem;
    background: #e0e7ff;
    color: #3730a3;
    padding: 4px 12px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.2s;
}
.regioner-tag:hover {
    background: #c7d2fe;
}
.regioner-tag--status {
    background: #f3f4f6;
    color: var(--rp-text-muted);
    border: 1px solid var(--rp-border);
}

/* --- UKŁAD KART (GRID) --- */
.regioner-top-grid {
    display: grid;
    grid-template-columns: 1fr; /* Domyślnie 1 kolumna (mobile) */
    gap: 20px;
    margin-bottom: 24px;
}

@media (min-width: 768px) {
    .regioner-top-grid {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 24px;
    }
}

.regioner-card {
    border-radius: var(--rp-radius);
    padding: 24px;
    height: 100%; /* Wyrównanie wysokości w gridzie */
}

.regioner-top-grid .regioner-card {
    border: none;
    background: #ffffff;
    box-shadow: 0 8px 22px -24px rgba(15, 23, 42, 0.55);
}

.regioner-card__title {
    margin: 0 0 20px 0;
    font-size: 1.1rem;
    font-weight: 700;
    color: #374151;
    padding-bottom: 12px;
    border-bottom: 1px solid #f3f4f6;
}

.regioner-card--service-area,
.regioner-card--about,
.regioner-card--gallery {
    margin-bottom: 24px;
    border: 1px solid var(--rp-border);
    background: #ffffff;
}
.regioner-service-area__line {
    margin: 0 0 6px;
    font-size: 0.92rem;
    line-height: 1.5;
    color: var(--rp-text-main, #1e293b);
}
.regioner-service-area__line:last-child {
    margin-bottom: 0;
}

.regioner-profile--free .regioner-card--about,
.regioner-profile--free .regioner-card--gallery,
.regioner-profile--free .regioner-card--full-map {
    border: none;
}

.regioner-card__body--about,
.regioner-card__body--gallery {
    padding: 0;
}

.regioner-basic-about {
    color: var(--rp-text-main);
    line-height: 1.7;
    font-size: 0.97rem;
}

.regioner-basic-about > *:first-child {
    margin-top: 0;
}

.regioner-basic-about > *:last-child {
    margin-bottom: 0;
}

.regioner-basic-gallery {
    display: flex;
    flex-wrap: nowrap;
    gap: 12px;
    justify-content: center;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
}

.regioner-basic-gallery__item {
    display: block;
    flex: 0 0 clamp(110px, 30vw, 180px);
    border-radius: 10px;
    overflow: hidden;
    background: #e2e8f0;
    border: 1px solid var(--rp-border);
    aspect-ratio: 4 / 3;
}

.regioner-basic-gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.2s ease;
}

.regioner-basic-gallery__item:hover img {
    transform: scale(1.02);
}

@media (max-width: 600px) {
    .regioner-basic-gallery {
        justify-content: flex-start;
    }
}

.regioner-basic-lightbox {
    position: fixed;
    inset: 0;
    z-index: 1000000;
    display: none;
}

.regioner-basic-lightbox.is-open {
    display: block;
}

.regioner-basic-lightbox__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.84);
}

.regioner-basic-lightbox__panel {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 28px 16px;
}

.regioner-basic-lightbox__img {
    max-width: min(96vw, 1200px);
    max-height: 84vh;
    width: auto;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 16px 40px rgba(2, 6, 23, 0.45);
    background: #0f172a;
}

.regioner-basic-lightbox__close,
.regioner-basic-lightbox__nav {
    position: absolute;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    color: #0f172a;
    width: 42px;
    height: 42px;
    font-size: 24px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.regioner-basic-lightbox__close {
    top: 14px;
    right: 14px;
    font-size: 30px;
}

.regioner-basic-lightbox__nav--prev {
    left: 14px;
}

.regioner-basic-lightbox__nav--next {
    right: 14px;
}

.regioner-basic-lightbox__counter {
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.72);
    color: #ffffff;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.2px;
}

body.regioner-basic-lightbox-open {
    overflow: hidden;
}

/* --- DANE KONTAKTOWE --- */
.regioner-data-row {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
    align-items: flex-start;
}
.regioner-data-row:last-child {
    margin-bottom: 0;
}

.regioner-data-row__icon {
    width: 40px;
    height: 40px;
    background: var(--rp-primary-light);
    color: var(--rp-primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.regioner-data-row__icon svg {
    width: 20px;
    height: 20px;
}

.regioner-data-row__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 2px;
}

.regioner-data-row__label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--rp-text-muted);
    font-weight: 700;
    margin-bottom: 2px;
}

.regioner-data-row__value {
    font-size: 0.95rem;
    color: var(--rp-text-main);
}
.regioner-data-row__value a {
    color: var(--rp-primary);
    text-decoration: none;
    font-weight: 500;
}
.regioner-data-row__value a:hover {
    text-decoration: underline;
}

/* --- REVEAL: telefon/email --- */
.regioner-data-row__reveal {
    display: block;
    width: 100%;
}

.regioner-data-row__reveal-btn {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    color: #0f172a;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.regioner-data-row__reveal-btn:hover {
    background: #e2e8f0;
    border-color: #cbd5e1;
}

.regioner-data-row__reveal-value {
    display: none;
}

.regioner-data-row__reveal.is-revealed .regioner-data-row__reveal-btn {
    display: none;
}

.regioner-data-row__reveal.is-revealed .regioner-data-row__reveal-value {
    display: block;
}

/* Adres w dwóch liniach */
.regioner-data-row__value div {
    display: block;
    line-height: 1.4;
    margin-bottom: 2px;
}

.regioner-card--address-hours .regioner-data-row__value div {
    margin-bottom: 4px;
}

.regioner-data-row--hours .regioner-data-row__value div {
    line-height: 1.75;
    margin-bottom: 6px;
}

/* Link "Uzupełnij..." */
.regioner-data-missing {
    font-size: 0.85rem;
    color: #9ca3af;
    font-style: italic;
    text-decoration: none;
    border-bottom: 1px dashed #d1d5db;
    transition: color 0.2s;
}
.regioner-data-missing:hover {
    color: var(--rp-accent);
    border-color: var(--rp-accent);
}

/* --- DANE REJESTROWE (Lista) --- */
.regioner-registry-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.registry-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #f3f4f6;
    padding: 10px 0;
}

.registry-row-pkd {
    display: grid;
}

.registry-row:first-child {
    padding-top: 0;
}
.registry-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.reg-label {
    color: var(--rp-text-muted);
    font-size: 0.9rem;
}

.reg-value {
    color: var(--rp-text-main);
    font-weight: 300;
    font-size: 0.95rem;
}

.regioner-text-muted {
    font-size: 0.9rem;
    color: var(--rp-text-muted);
    font-style: italic;
}

/* Sekcja PKD wewnątrz karty rejestrowej */
.regioner-pkd-block {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 2px solid #f3f4f6;
}

.regioner-pkd-details {
    margin-top: 8px;
}
.regioner-pkd-details summary {
    cursor: pointer;
    color: var(--rp-primary);
    font-size: 0.85rem;
    font-weight: 500;
}
.regioner-pkd-content {
    margin-top: 8px;
    background: #f8fafc;
    padding: 10px;
    border-radius: 6px;
    font-size: 0.85rem;
    line-height: 1.4;
    color: #475569;
}

/* --- MAPA (Pełna szerokość) --- */
.regioner-card--full-map {
    padding: 0;
    overflow: hidden;
    margin-bottom: 24px;
    height: auto;
    border: 1px solid var(--rp-border);
}

.regioner-card--full-map .regioner-card__title {
    margin: 0;
    padding: 15px 24px;
    border-bottom: none;
    background: #fff;
    position: relative;
    z-index: 2;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.regioner-map-wrapper-wide {
    background: #e2e8f0;
    height: 350px;
    width: 100%;
    position: relative;
    z-index: 1;
}

.regioner-map-iframe{
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.regioner-map-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: var(--rp-text-muted);
    font-size: 1rem;
    background: #f1f5f9;
}

/* --- ŹRÓDŁO DANYCH + RAPORTOWANIE --- */
.regioner-source-row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 40px;
    padding: 20px;
    background: #f1f5f9;
    border-radius: var(--rp-radius);
}

.regioner-source-text {
    flex: 1 1 400px; /* Zajmuje większość miejsca */
}
.regioner-source-text p {
    margin: 0 0 10px 0;
    font-size: 0.85rem;
    line-height: 1.6;
    color: #64748b;
}
.regioner-source-text p:last-child {
    margin-bottom: 0;
}
.regioner-source-text strong {
    color: #334155;
    font-weight: 600;
}

.regioner-source-action {
    flex: 0 0 auto;
}

/* --- PANEL "UZUPEŁNIJ DANE" (Positive Todo) --- */
.regioner-missing-panel {
    background: #fff;
    border: 2px solid var(--rp-accent); /* Wyróżnienie kolorem */
    border-radius: var(--rp-radius);
    padding: 30px;
    margin-bottom: 40px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 30px;
    box-shadow: 0 10px 25px -5px rgba(245, 158, 11, 0.1);
}

.regioner-missing-content {
    flex: 1 1 300px;
}

.regioner-missing-title {
    margin: 0 0 10px 0;
    font-size: 1.3rem;
    color: #111827;
    font-weight: 800;
}
.regioner-missing-panel p {
    margin: 0;
    color: #4b5563;
    font-size: 1rem;
}

/* Lista z "ptaszkami" */
.regioner-todo-list {
    list-style: none;
    padding: 0;
    margin: 20px 0 0 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}
@media (min-width: 600px) {
    .regioner-todo-list {
        grid-template-columns: 1fr 1fr;
    }
}

.regioner-todo-list li {
    font-size: 0.95rem;
    color: #374151;
    display: flex;
    align-items: center;
    gap: 10px;
}

.regioner-todo-list li .check {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: #dcfce7; /* Jasny zielony */
    color: #166534;      /* Ciemny zielony */
    border-radius: 50%;
    font-size: 0.8rem;
    font-weight: bold;
    flex-shrink: 0;
}

.regioner-todo-list li strong {
    color: #111827;
}

.regioner-missing-action {
    flex: 0 0 auto;
    text-align: center;
}

/* --- BLOK REKLAMOWY (Promo / Dark) --- */
.regioner-promo-block {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    color: #fff;
    border-radius: var(--rp-radius);
    padding: 50px 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Subtelny efekt tła */
.regioner-promo-block::before {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0) 70%);
    border-radius: 50%;
    pointer-events: none;
}

.regioner-promo-header h3 {
    margin: 0 0 10px 0;
    font-size: 1.6rem;
    color: #fff;
    font-weight: 700;
}
.regioner-promo-header p {
    color: #cbd5e1;
    font-size: 1.1rem;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.regioner-promo-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 40px;
}
@media (min-width: 768px) {
    .regioner-promo-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.regioner-promo-card {
    background: rgba(255, 255, 255, 0.08);
    padding: 24px;
    border-radius: 12px;
    text-align: left;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    transition: transform 0.2s, background 0.2s;
}
.regioner-promo-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.12);
}

.promo-icon {
    font-size: 2rem;
    margin-bottom: 15px;
}

.regioner-promo-card h4 {
    margin: 0 0 8px 0;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
}

.regioner-promo-card p {
    margin: 0;
    font-size: 0.9rem;
    color: #cbd5e1;
    line-height: 1.5;
}

/* --- PRZYCISKI (BUTTONS) --- */
.regioner-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

/* Accent Button (Pomarańczowy) */
.regioner-btn--accent {
    background: var(--rp-accent);
    color: #fff;
    box-shadow: 0 4px 6px rgba(245, 158, 11, 0.3);
}
.regioner-btn--accent:hover {
    background: var(--rp-accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(245, 158, 11, 0.4);
}

/* Outline Button (Szary obrys) */
.regioner-btn--outline {
    background: #fff;
    border-color: #cbd5e1;
    color: #475569;
}
.regioner-btn--outline:hover {
    background: #f8fafc;
    border-color: #94a3b8;
    color: #1e293b;
}

/* White Button (Dla ciemnego tła) */
.regioner-btn--white {
    background: #fff;
    color: #0f172a;
    padding: 14px 32px;
    font-size: 1rem;
}
.regioner-btn--white:hover {
    background: #f1f5f9;
}

.regioner-btn--large {
    padding: 14px 28px;
    font-size: 1rem;
}

/* ================================================================
   BASIC PROFILE REDESIGN — rb-* classes
   ================================================================ */

/* ── Accent strip ── */
.regioner-accent-strip { display: none; }

/* ── HERO (dark gradient) ── */
.regioner-profile--basic:not(.regioner-profile--free) .regioner-top-box {
    background: linear-gradient(180deg, var(--rp-primary-soft, #f0f6ff) 0%, #ffffff 100%);
    border: none; border-radius: 8px;
    border-bottom: 1px solid rgba(15,23,42,0.08);
    box-shadow: 0 4px 16px -6px rgba(15,23,42,0.08);
    padding: 28px 32px 32px; margin-bottom: 28px;
    position: relative; overflow: hidden;
}
.regioner-profile--basic:not(.regioner-profile--free) .regioner-top-box::before {
    content: ""; position: absolute; top: -40%; right: -20%; width: 60%; height: 140%;
    background: radial-gradient(ellipse, var(--rp-accent, #0ea5e9) 0%, transparent 70%);
    opacity: 0.06; pointer-events: none;
}
.regioner-profile--basic:not(.regioner-profile--free) .regioner-breadcrumbs { margin-bottom: 16px; }
.regioner-profile--basic:not(.regioner-profile--free) .regioner-breadcrumbs a { transition: color 0.15s; }
.regioner-profile--basic:not(.regioner-profile--free) .regioner-breadcrumbs a:hover { color: var(--rp-primary); text-decoration: none; }
.regioner-profile--basic:not(.regioner-profile--free) .regioner-company-heading--has-logo { gap: 24px; align-items: center; }
.regioner-profile--basic:not(.regioner-profile--free) .regioner-company-logo {
    width: 76px; height: 76px; border-radius: 8px;
    border: 1px solid rgba(15,23,42,0.08); box-shadow: 0 4px 12px -4px rgba(15,23,42,0.1); background: #fff;
}
.regioner-profile--basic:not(.regioner-profile--free) .regioner-company-title--basic {
    font-size: clamp(1.5rem, 3vw, 2.2rem); color: var(--rp-primary-dark, #0f172a); letter-spacing: -0.025em; font-weight: 800;
}
.regioner-profile--basic:not(.regioner-profile--free) .regioner-company-title--basic::after {
    height: 3px; opacity: 0.8; width: min(180px, 45%);
    background: linear-gradient(90deg, var(--rp-primary), var(--rp-accent));
}

/* ── Header desc + bar ── */
.regioner-header-desc { margin-top: 16px; font-size: 0.93rem; line-height: 1.7; color: #475569; max-width: 640px; }
.regioner-header-desc > *:first-child { margin-top: 0; }
.regioner-header-desc > *:last-child { margin-bottom: 0; }
.regioner-header-bar {
    display: flex; align-items: center; justify-content: space-between;
    gap: 12px; margin-top: 20px; flex-wrap: wrap; position: relative; z-index: 1;
}
.regioner-header-bar .regioner-category-tags { margin-top: 0; }
.regioner-header-share {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}
.regioner-header-share__label {
    font-size: 0.72rem;
    font-weight: 500;
    color: rgba(15, 23, 42, 0.5);
    letter-spacing: 0.02em;
    text-transform: uppercase;
    line-height: 1;
}
.regioner-header-share .regioner-share-icons { gap: 6px; }
.regioner-header-share .regioner-share-icon {
    width: 34px; height: 34px; border-radius: 999px;
    border: 1px solid rgba(15,23,42,0.1); background: #fff; color: #64748b;
    transition: all 0.15s;
}
.regioner-header-share .regioner-share-icon svg { width: 15px; height: 15px; }
.regioner-header-share .regioner-share-icon:hover { background: var(--rp-primary); color: #fff; border-color: var(--rp-primary); }
.regioner-category-tags, .regioner-area-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.regioner-category-tags { margin-top: 14px; }
.regioner-chip {
    display: inline-flex; align-items: center; padding: 5px 14px; border-radius: 8px;
    font-size: 0.8rem; font-weight: 600; background: var(--rp-accent-light, #e0f2fe); color: var(--rp-primary-dark, var(--rp-primary));
    border: 1px solid rgba(15,23,42,0.06); text-decoration: none; transition: all 0.15s;
}
a.regioner-chip:hover { background: var(--rp-primary); color: #fff; border-color: var(--rp-primary); text-decoration: none; }
.regioner-chip--strong { background: var(--rp-accent, #0ea5e9); color: #fff; border-color: transparent; }

/* ── rb-section (sekcje bez karty, np. PKD) ── */
.rb-section {
    margin-bottom: 24px;
}
.rb-section--compact {
    margin-bottom: 20px;
}

/* ── O firmie ── */
.rb-about {
    font-size: 0.95rem;
    line-height: 1.8;
    color: #334155;
    max-width: 720px;
}
.rb-about > *:first-child { margin-top: 0; }
.rb-about > *:last-child { margin-bottom: 0; }

/* ── rb-card: wspólna karta ── */
.rb-card {
    background: #fff;
    border: 1px solid rgba(15,23,42,0.06);
    border-radius: 8px;
    box-shadow: 0 4px 16px -6px rgba(15,23,42,0.08);
    padding: 24px 28px;
    margin-bottom: 24px;
}
.rb-card__title {
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #0f172a;
    margin: 0 0 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(15,23,42,0.06);
}
.rb-card--gallery {
    padding: 24px 28px 16px;
}
.rb-card--gallery .rb-mosaic {
    margin: 0 -4px;
}

/* ── Kontakt + Lokalizacja ── */
.rb-contact-loc {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    background: #fff;
    border-radius: 8px;
    border: 1px solid rgba(15,23,42,0.06);
    box-shadow: 0 10px 32px -10px rgba(15,23,42,0.08);
    overflow: hidden;
}
.rb-contact-loc__contact {
    padding: 28px 32px;
    border-right: 1px solid rgba(15,23,42,0.06);
}
.rb-contact-loc__location {
    padding: 28px 32px;
}
.rb-contact-loc .rb-section__heading {
    font-size: 1.1rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
}

/* ── Contact items ── */
.rb-contact-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(15,23,42,0.04);
    text-decoration: none;
    color: #1e293b;
    transition: color 0.15s;
}
.rb-contact-item:last-child { border-bottom: none; }
.rb-contact-item:hover { color: var(--rp-primary); }
.rb-contact-item__icon {
    width: 40px; height: 40px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    background: var(--rp-accent-light, #e0f2fe);
    color: var(--rp-primary-dark, var(--rp-primary));
    border-radius: 12px;
}
.rb-contact-item__icon svg { width: 20px; height: 20px; }
.rb-contact-item__text {
    font-size: 0.92rem;
    font-weight: 500;
}

/* ── Address ── */
.rb-address {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    margin-bottom: 12px;
}
.rb-address__icon {
    width: 40px; height: 40px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    background: var(--rp-accent-light, #e0f2fe);
    color: var(--rp-primary-dark, var(--rp-primary));
    border-radius: 12px;
}
.rb-address__icon svg { width: 20px; height: 20px; }
.rb-address__text {
    font-size: 0.92rem;
    line-height: 1.6;
    color: #1e293b;
    padding-top: 8px;
}

/* ── Area ── */
.rb-area {
    font-size: 0.85rem;
    color: #475569;
    padding: 10px 0;
    border-top: 1px solid rgba(15,23,42,0.04);
}
.rb-area__label {
    font-weight: 700;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #94a3b8;
}

/* ── Hours (inline, spójne z kontaktem) ── */
.rb-hours {
    border-top: 1px solid rgba(15,23,42,0.04);
}
.rb-hours .rb-contact-item {
    border-bottom: none;
}
.rb-hours__lines {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.rb-hours__line {
    font-size: 0.88rem;
    color: #1e293b;
}
.rb-hours__line strong {
    font-weight: 600;
    margin-right: 4px;
}
.rb-hours__line--closed {
    color: #94a3b8;
}

/* ── Mapa ── */
.rb-map {
    border-radius: 8px;
    overflow: hidden;
    height: 300px;
    box-shadow: 0 6px 20px -8px rgba(15,23,42,0.1);
    margin-bottom: 32px;
}
.rb-map__iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ── Galeria mozaika ── */
.rb-mosaic {
    display: grid;
    gap: 6px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 6px 20px -8px rgba(15,23,42,0.1);
}
.rb-mosaic--1 { grid-template-columns: 1fr; }
.rb-mosaic--1 .rb-mosaic__item { aspect-ratio: 16 / 9; }
.rb-mosaic--2 { grid-template-columns: 1fr 1fr; }
.rb-mosaic--2 .rb-mosaic__item { aspect-ratio: 4 / 3; }
.rb-mosaic--3 { grid-template-columns: 3fr 2fr; grid-template-rows: 1fr 1fr; }
.rb-mosaic--3 > :first-child { grid-row: 1 / -1; }
.rb-mosaic__item {
    display: block; overflow: hidden; background: #e2e8f0;
    position: relative; cursor: pointer;
}
.rb-mosaic__item img {
    width: 100%; height: 100%; object-fit: cover; display: block;
    transition: transform 0.4s ease;
}
.rb-mosaic__item::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(15,23,42,0.35));
    opacity: 0; transition: opacity 0.3s ease; pointer-events: none;
}
.rb-mosaic__item:hover img { transform: scale(1.06); }
.rb-mosaic__item:hover::after { opacity: 1; }

/* ── PKD ── */
.rb-pkd {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    background: #fff;
    border: 1px solid rgba(15,23,42,0.06);
    border-radius: 8px;
    box-shadow: 0 4px 12px -4px rgba(15,23,42,0.06);
    flex-wrap: wrap;
}
.rb-pkd__icon {
    width: 40px; height: 40px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    background: var(--rp-accent-light, #e0f2fe);
    color: var(--rp-primary-dark, var(--rp-primary));
    border-radius: 10px;
}
.rb-pkd__icon svg { width: 20px; height: 20px; }
.rb-pkd__label { font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.06em; font-weight: 700; color: #94a3b8; }
.rb-pkd__value { font-size: 0.88rem; color: #1e293b; font-weight: 500; }
.rb-pkd__alert {
    margin-left: auto;
    font-size: 0.78rem; font-weight: 600; color: #b45309;
    background: #fffbeb; border: 1px solid #fbbf24; border-radius: 8px;
    padding: 6px 12px; text-decoration: none;
    transition: background 0.15s;
}
.rb-pkd__alert:hover { background: #fef3c7; }

/* ── Share bar ── */
.rb-share-bar {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 32px;
    padding: 14px 20px;
    background: #f8fafc;
    border-radius: 12px;
}
.rb-share-bar__label {
    font-size: 0.78rem;
    font-weight: 600;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* ── Source row — COMPACT BADGE (basic template only) ──
   Opcja C: "✓ Dane zweryfikowane · Prowadzisz działalność? [link]  [Zgłoś]"
   Wszystko w jednej linii na desktop, pionowo na mobile. Bez czerwonego paska
   (ten wyglądał jak alert/ostrzeżenie, mimo że content pozytywny = confusing). */
.regioner-profile--basic:not(.regioner-profile--free) .regioner-source-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    padding: 10px 16px;
    margin-bottom: 20px;
    background: #f0fdf4;
    border: 1px solid rgba(16, 185, 129, 0.22);
    border-left: 1px solid rgba(16, 185, 129, 0.22);
    border-radius: 8px;
    box-shadow: none;
}
.regioner-profile--basic:not(.regioner-profile--free) .regioner-source-header {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 0;
    width: auto;
    flex: 1 1 auto;
    min-width: 0;
    flex-wrap: wrap;
}
.regioner-profile--basic:not(.regioner-profile--free) .regioner-source-info {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    color: #065f46;
    white-space: normal;
    overflow: visible;
    text-overflow: initial;
    max-width: 100%;
}
.regioner-profile--basic:not(.regioner-profile--free) .regioner-source-info::before {
    content: "✓";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #10b981;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    flex-shrink: 0;
    line-height: 1;
}
.regioner-profile--basic:not(.regioner-profile--free) .regioner-source-info strong {
    color: #065f46;
    font-weight: 600;
}
.regioner-profile--basic:not(.regioner-profile--free) .regioner-source-hint {
    padding: 0;
    margin: 0;
    font-size: 0.82rem;
    color: #64748b;
    text-align: left;
    position: relative;
    padding-left: 16px;
    line-height: 1.4;
}
.regioner-profile--basic:not(.regioner-profile--free) .regioner-source-hint::before {
    content: "·";
    position: absolute;
    left: 4px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-weight: 700;
    font-size: 1.1rem;
    line-height: 1;
}
.regioner-profile--basic:not(.regioner-profile--free) .regioner-source-hint a {
    color: #0284c7;
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.regioner-profile--basic:not(.regioner-profile--free) .regioner-source-hint a:hover {
    color: #0369a1;
}
.regioner-profile--basic:not(.regioner-profile--free) .regioner-source-action {
    margin-left: auto;
    flex-shrink: 0;
}
.regioner-profile--basic:not(.regioner-profile--free) .regioner-source-action .regioner-btn {
    padding: 4px 10px;
    font-size: 0.78rem;
    background: transparent;
    border: none;
    color: #64748b;
    box-shadow: none;
    text-decoration: none;
    transition: color 0.15s;
}
.regioner-profile--basic:not(.regioner-profile--free) .regioner-source-action .regioner-btn:hover {
    color: #dc2626;
    background: transparent;
}
@media (max-width: 640px) {
    .regioner-profile--basic:not(.regioner-profile--free) .regioner-source-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        padding: 12px 14px;
    }
    .regioner-profile--basic:not(.regioner-profile--free) .regioner-source-header {
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }
    .regioner-profile--basic:not(.regioner-profile--free) .regioner-source-hint {
        padding-left: 0;
    }
    .regioner-profile--basic:not(.regioner-profile--free) .regioner-source-hint::before {
        display: none;
    }
    .regioner-profile--basic:not(.regioner-profile--free) .regioner-source-action {
        margin-left: 0;
    }
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .rb-contact-loc { grid-template-columns: 1fr; }
    .rb-contact-loc__contact { border-right: none; border-bottom: 1px solid rgba(15,23,42,0.06); }
    .rb-mosaic--3 { grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; }
    .rb-mosaic--3 > :first-child { grid-row: auto; grid-column: 1 / -1; }
}
@media (max-width: 600px) {
    .regioner-profile--basic:not(.regioner-profile--free) .regioner-top-box {
        padding: 22px 20px 26px; border-radius: 8px;
    }
    .regioner-profile--basic:not(.regioner-profile--free) .regioner-company-logo {
        width: 60px; height: 60px; border-radius: 8px;
    }
    .regioner-profile--basic:not(.regioner-profile--free) .regioner-company-title--basic { font-size: 1.4rem; }
    .rb-contact-loc__contact, .rb-contact-loc__location { padding: 20px; }
    .rb-map { height: 220px; }
    .rb-mosaic--2 { grid-template-columns: 1fr; }
    .rb-mosaic--2 .rb-mosaic__item { aspect-ratio: 16 / 9; }
    .rb-section__heading { font-size: 1.1rem; }
    .rb-pkd { flex-direction: column; align-items: flex-start; }
    .rb-pkd__alert { margin-left: 0; }
}

/* --- RESPONSYWNOŚĆ (Media Queries) --- */
@media (max-width: 600px) {
    .regioner-profile-wrapper {
        padding: 20px 15px;
    }

    .regioner-top-box {
        padding: 16px;
    }

    .regioner-accent-strip {
        margin: -16px -16px 14px;
    }

    .regioner-company-logo {
        width: 44px;
        height: 44px;
    }
    .regioner-company-heading--has-logo {
        gap: 12px;
    }
    .regioner-company-title {
        font-size: 1.6rem;
    }

    .regioner-card {
        padding: 20px;
    }

    /* Ukrywanie ikon na mobile dla oszczędności miejsca (opcjonalnie) */
    .regioner-data-row__icon {
        width: 32px;
        height: 32px;
    }
    .regioner-data-row__icon svg {
        width: 16px;
        height: 16px;
    }
    
    .regioner-missing-panel {
        padding: 20px;
        text-align: center;
        justify-content: center;
    }
    
    .regioner-todo-list {
        text-align: left;
    }
    
    .regioner-promo-block {
        padding: 30px 20px;
    }
}

/* --- UNIFIED OWNER DASHBOARD (Elegant Version) --- */

.regioner-owner-dashboard {
    /* Tło: Spotlight Luxury (Biały środek, szarawe boki) */
    background: radial-gradient(circle at 50% 0%, #ffffff 50%, #f1f5f9 100%);
    border: 1px solid #e2e8f0;
    border-radius: var(--rp-radius);
    padding: 0; /* Padding zarządzany wewnątrz */
    margin-bottom: 40px;
    box-shadow: 0 4px 20px -5px rgba(0, 0, 0, 0.03); /* Bardzo subtelny cień */
    overflow: hidden;
}

/* Część 1: Nagłówek (Is this your company?) */
.regioner-dashboard-header {
    padding: 0;
}

.regioner-owner-grid{
    padding: 30px;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    align-items: center;
    gap: 24px;
}

.regioner-owner-eyebrow{
    display: inline-block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    color: #94a3b8;
    margin-bottom: 10px;
}

.regioner-owner-copy h3 {
    margin: 0 0 10px 0;
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
}

.regioner-owner-copy p {
    margin: 0 0 12px 0;
    font-size: 0.95rem;
    color: #64748b;
}

.regioner-owner-note{
    font-size: 0.85rem;
    color: #94a3b8;
    margin: 8px 0 0 0;
}

.regioner-owner-media{
    display: flex;
    align-items: center;
    justify-content: center;
}

.regioner-owner-media img{
    width: 100%;
    max-width: 320px;
    height: auto;
    display: block;
}

/* Przycisk: Outline (Elegancki, nie krzykliwy) */
.regioner-btn--primary-outline {
    background: transparent;
    border: 1px solid var(--rp-primary);
    color: var(--rp-primary);
    padding: 10px 24px;
    font-size: 0.9rem;
    font-weight: 600;
}
.regioner-btn--primary-outline:hover {
    background: var(--rp-primary);
    color: #fff;
    box-shadow: 0 4px 12px rgba(30, 64, 175, 0.2);
}

/* Divider z tekstem pośrodku */
.regioner-divider {
    position: relative;
    text-align: center;
    margin: 0 30px;
    height: 1px;
    background: #e2e8f0;
}
.regioner-divider span {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fdfefe; /* Dopasowane do tła gradientu w tym miejscu */
    padding: 0 15px;
    color: #94a3b8;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

/* Część 2: Siatka korzyści */
.regioner-benefits-grid {
    padding: 40px 30px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}
@media (min-width: 768px) {
    .regioner-benefits-grid {
        grid-template-columns: repeat(2, 1fr) 1.2fr; /* 2 kolumny + link */
    }
    /* Jeśli chcesz 4 elementy w rzędzie: */
    .regioner-benefits-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.benefit-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.benefit-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    border-radius: 10px;
    color: var(--rp-primary);
    border: 1px solid #f1f5f9;
}
.benefit-icon svg {
    width: 22px;
    height: 22px;
}

.benefit-content h4 {
    margin: 0 0 5px 0;
    font-size: 1rem;
    font-weight: 600;
    color: #334155;
}

.benefit-content p {
    margin: 0;
    font-size: 0.85rem;
    color: #94a3b8;
    line-height: 1.4;
}

/* Ostatni element - Link CTA */
.benefit-item--cta {
    display: flex;
    align-items: center;
    justify-content: center;
    border-left: 1px solid #e2e8f0;
    padding-left: 20px;
}
@media (max-width: 767px) {
    .benefit-item--cta {
        border-left: none;
        padding-left: 0;
        border-top: 1px solid #e2e8f0;
        padding-top: 20px;
        align-items: flex-start;
    }
}

.benefit-link {
    color: var(--rp-text-main);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    line-height: 1.4;
    transition: color 0.2s;
}
.benefit-link:hover {
    color: var(--rp-primary);
}

/* Responsywność dla dashboardu */
@media (max-width: 600px) {
    .dashboard-action {
        width: 100%;
    }
    .regioner-btn--primary-outline {
        display: block;
        width: 100%;
        text-align: center;
    }
    .regioner-owner-grid{
        grid-template-columns: 1fr;
        text-align: left;
    }
    .regioner-owner-media{
        justify-content: flex-start;
    }
    .regioner-divider {
        margin: 20px 0;
    }
    .regioner-benefits-grid {
        grid-template-columns: 1fr;
        padding: 30px 20px;
    }
}


/* Header: Jedna linia, elementy rozstrzelone na boki */
.regioner-source-header {
    display: flex;
    justify-content: space-between; /* Kluczowe: Tekst Lewo, Button Prawo */
    align-items: center;            /* Kluczowe: Wyrównanie w pionie */
    padding: 15px 25px;
    gap: 20px; /* Minimalny odstęp, gdy ekran się zwęzi */
    width: 100%;
}

.regioner-source-info {
    font-size: 0.95rem;
    color: #334155;
    white-space: nowrap; /* Zapobiega łamaniu nazwy źródła w dziwnym miejscu */
    overflow: hidden;
    text-overflow: ellipsis;
}

.regioner-source-hint {
    padding: 0 25px 14px;
    font-size: 0.78rem;
    color: #64748b;
    line-height: 1.35;
    text-align: center;
}

.regioner-source-hint a {
    color: #1d4ed8;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.regioner-source-hint a:hover {
    color: #1e40af;
}

.regioner-source-action {
    flex-shrink: 0; /* Zapobiega zgniataniu przycisku */
}

/* Treść pod spodem */
.regioner-source-content {
    padding: 20px 25px;
    background: #f8fafc; /* Bardzo delikatne tło dla treści, odróżnia od headera */
}

.regioner-source-content p {
    margin: 0 0 10px 0;
    font-size: 0.85rem;
    line-height: 1.6;
    color: #64748b;
}

.regioner-source-content p:last-child {
    margin-bottom: 0;
}

/* Stylizacja przycisku w tej sekcji */
.gd-report-problem {
    font-size: 0.8rem;
    padding: 6px 12px;
    height: 32px; /* Stała wysokość dla elegancji */
    background: #fff;
    border-color: #cbd5e1;
}
.gd-report-problem:hover {
    border-color: #94a3b8;
    background: #f1f5f9;
}

/* --- MODAL ZGŁOSZEŃ PROFILI --- */
.regioner-report{
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: none;
}

.regioner-report.is-open{
    display: block;
}

.regioner-report__backdrop{
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.62);
}

.regioner-report__panel{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: min(620px, calc(100vw - 32px));
    max-height: calc(100vh - 32px);
    overflow: auto;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 28px 70px rgba(15, 23, 42, 0.22);
    padding: 16px;
}

.regioner-report__head{
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 12px;
}

.regioner-report__title{
    margin: 0;
    font-size: 16px;
    font-weight: 800;
    color: #0f172a;
}

.regioner-report__close{
    appearance: none;
    border: 1px solid #e2e8f0;
    background: #fff;
    cursor: pointer;
    border-radius: 12px;
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    line-height: 1;
    color: #0f172a;
}

.regioner-report__close:hover{
    background: #f8fafc;
}

.regioner-report__note{
    font-size: 13px;
    line-height: 1.45;
    color: #475569;
    margin: 0 0 8px 0;
}

.regioner-report__place{
    font-size: 13px;
    color: #0f172a;
    margin: 0 0 12px 0;
    font-weight: 600;
}

.regioner-report__reasons{
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 12px 0;
}

.regioner-report__reason{
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 10px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    background: #fff;
}

.regioner-report__reason:hover{
    background: #f8fafc;
}

.regioner-report__reason input{
    margin-top: 3px;
}

.regioner-report__fields{
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 12px;
}

.regioner-report__field label{
    display: block;
    font-size: 12px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 6px 0;
}

.regioner-report__field input,
.regioner-report__field textarea{
    width: 100%;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 10px 12px;
    font-size: 14px;
    color: #0f172a;
    background: #fff;
}

.regioner-report__field textarea{
    min-height: 110px;
    resize: vertical;
}

.regioner-report__hint{
    font-size: 12px;
    color: #64748b;
    margin-top: 6px;
}

.regioner-report__message{
    margin-top: 10px;
    font-size: 13px;
    font-weight: 600;
}

.regioner-report__message.is-error{
    color: #b91c1c;
}

.regioner-report__message.is-success{
    color: #15803d;
}

.regioner-report__success{
    display: none;
    margin: 10px 0 16px;
    padding: 12px 12px 14px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
}

.regioner-report__success-title{
    margin: 0 0 8px;
    font-size: 16px;
    font-weight: 800;
    color: #0f172a;
}

.regioner-report__success-text{
    margin: 0 0 12px;
    font-size: 13px;
    line-height: 1.5;
    color: #475569;
}

.regioner-report__success-media{
    display: flex;
    justify-content: center;
}

.regioner-report__success-media img{
    width: min(260px, 100%);
    height: auto;
    display: block;
}

.regioner-report.is-success .regioner-report__success{
    display: block;
}

.regioner-report.is-success .regioner-report__form,
.regioner-report.is-success .regioner-report__note,
.regioner-report.is-success .regioner-report__place,
.regioner-report.is-success .regioner-report__message{
    display: none;
}

.regioner-report__actions{
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 14px;
}

.regioner-report__btn{
    appearance: none;
    border: 0;
    border-radius: 12px;
    padding: 10px 14px;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
}

.regioner-report__btn--ghost{
    background: #f1f5f9;
    color: #0f172a;
}

.regioner-report__btn--primary{
    background: #0284c7;
    color: #fff;
}

.regioner-report__btn[disabled]{
    opacity: 0.6;
    cursor: not-allowed;
}

.regioner-report__hp{
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* Responsywność: Na małych telefonach łamiemy linię */
@media (max-width: 600px) {
    .regioner-source-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    .regioner-source-action {
        width: 100%;
        display: flex;
        justify-content: flex-end; /* Przycisk nadal po prawej, ale pod spodem */
    }
    .regioner-source-info {
        white-space: normal;
    }
}

/* ══════════════════════════════════════════════
   Promo section — claim profile CTA
   ══════════════════════════════════════════════ */
.regioner-promo {
    margin: 32px 0 0;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    scroll-margin-top: 80px;
    border: 1px solid #e2e8f0;
}

/* Hero banner */
.regioner-promo__hero {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    align-items: stretch;
    gap: 0;
    padding: 0 0 0 40px;
    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #0c4a6e 100%);
    color: #fff;
}
.regioner-promo__eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #38bdf8;
    margin-bottom: 8px;
}
.regioner-promo__title {
    margin: 0 0 12px;
    font-size: clamp(22px, 3vw, 32px);
    font-weight: 800;
    line-height: 1.2;
    color: #fff;
}
.regioner-promo__subtitle {
    margin: 0 0 20px;
    font-size: 15px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.75);
}
.regioner-promo a.regioner-promo__cta,
.regioner-promo a.regioner-promo__cta:visited {
    display: inline-block;
    padding: 12px 28px;
    background: #0284c7;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    border-radius: 10px;
    text-decoration: none;
    transition: background 0.2s, transform 0.1s;
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.35);
}
.regioner-promo a.regioner-promo__cta:hover {
    background: #0369a1;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(2, 132, 199, 0.45);
}
.regioner-promo__trust {
    display: block;
    margin-top: 14px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.45);
}
.regioner-promo__hero-content {
    padding: 40px 0 40px 0;
}
.regioner-promo__hero-image {
    position: relative;
    overflow: hidden;
    margin: 0 -1px 0 0;
}
.regioner-promo__hero-image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.3));
}

/* Benefits */
.regioner-promo__benefits {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border-top: 1px solid #e2e8f0;
}
.regioner-promo__benefit {
    padding: 28px 24px;
    text-align: center;
    border-right: 1px solid #e2e8f0;
}
.regioner-promo__benefit:last-child {
    border-right: none;
}
.regioner-promo__benefit-icon {
    width: 40px;
    height: 40px;
    margin: 0 auto 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0f9ff;
    border-radius: 10px;
    color: #0284c7;
}
.regioner-promo__benefit-icon svg {
    width: 22px;
    height: 22px;
}
.regioner-promo__benefit h4 {
    margin: 0 0 6px;
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
}
.regioner-promo__benefit p {
    margin: 0;
    font-size: 13px;
    color: #64748b;
    line-height: 1.5;
}

/* Mini packages */
.regioner-promo__packages {
    padding: 32px 40px 40px;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
}
.regioner-promo__packages-title {
    text-align: center;
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 24px;
}
.regioner-promo__packages-sub {
    text-align: center;
    font-size: 14px;
    color: #64748b;
    margin: -16px 0 24px;
}
.regioner-promo__packages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.regioner-promo__pkg-img {
    width: 72px;
    height: 72px;
    object-fit: contain;
    margin-bottom: 12px;
}
.regioner-promo__pkg {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 24px 20px;
    text-align: center;
}
.regioner-promo__pkg-name {
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 8px;
}
.regioner-promo__pkg-desc {
    font-size: 13px;
    color: #64748b;
    line-height: 1.55;
    margin: 0 0 20px;
    flex: 1;
}
.regioner-promo a.regioner-promo__pkg-btn,
.regioner-promo a.regioner-promo__pkg-btn:visited {
    display: block;
    padding: 10px 16px;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    border-radius: 8px;
    border: 1px solid #0284c7;
    color: #fff;
    background: #0284c7;
    transition: background 0.2s, border-color 0.2s;
}
.regioner-promo a.regioner-promo__pkg-btn:hover {
    background: #0369a1;
    border-color: #0369a1;
    color: #fff;
}
.regioner-promo__pkg-btn--primary {
    background: #0284c7;
    border-color: #0284c7;
    color: #fff;
}
.regioner-promo__pkg-btn--primary:hover {
    background: #0369a1;
    border-color: #0369a1;
    color: #fff;
}
.regioner-promo__pkg-demo {
    display: block;
    margin-top: 8px;
    font-size: 12px;
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.2s;
}
.regioner-promo__pkg-demo:hover {
    color: #0284c7;
}

/* Mobile */
@media (max-width: 768px) {
    .regioner-promo__hero {
        grid-template-columns: 1fr;
        padding: 28px 20px 24px;
        text-align: center;
    }
    .regioner-promo__hero-image { display: none; }
    .regioner-promo__benefits { grid-template-columns: 1fr; }
    .regioner-promo__benefit { border-right: none; border-bottom: 1px solid #e2e8f0; }
    .regioner-promo__benefit:last-child { border-bottom: none; }
    .regioner-promo__packages { padding: 24px 16px 28px; }
    .regioner-promo__packages-grid { grid-template-columns: 1fr; gap: 12px; }
}

/* ══════════════════════════════════════════════
   Status firmy badge
   ══════════════════════════════════════════════ */
.regioner-status-badge {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 6px;
    line-height: 1.4;
}
.regioner-status--active {
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}
.regioner-status--suspended {
    background: #fffbeb;
    color: #92400e;
    border: 1px solid #fde68a;
}
.regioner-status--deleted {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

/* Spacer between address rows and share/manage rows */
.regioner-card--address-hours {
    display: flex;
    flex-direction: column;
}
.regioner-card--address-hours .regioner-card__body {
    flex: 1;
    display: flex;
    flex-direction: column;
}
.regioner-data-row-spacer {
    height: 1px;
    background: var(--rp-border);
    margin: auto 0 12px;
}

/* ══════════════════════════════════════════════
   Share icons (inside data-row)
   ══════════════════════════════════════════════ */
.regioner-share-icons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.regioner-share-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    background: #fff;
    color: #64748b;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
    text-decoration: none;
    padding: 0;
    font-size: 0;
}
.regioner-share-icon:hover {
    background: #f0f9ff;
    border-color: #0284c7;
    color: #0284c7;
}
.regioner-share-icon svg {
    width: 16px;
    height: 16px;
}

/* PKD section — full width under two columns */
.regioner-card--pkd-row {
    margin-top: -8px;
}
.regioner-pkd-section__main {
    display: flex;
    align-items: center;
    gap: 12px;
}
.regioner-pkd-section__main .regioner-data-row {
    flex: 1;
    min-width: 0;
    margin-bottom: 0;
}
/* PKD check button */
.regioner-pkd-check-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 8px 14px;
    background: #fffbeb;
    border: 1px solid #fbbf24;
    border-radius: 8px;
    text-decoration: none;
    flex-shrink: 0;
    transition: background 0.15s;
}
.regioner-pkd-check-btn:hover {
    background: #fef3c7;
    text-decoration: none;
}
.regioner-pkd-check-btn__label {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: #92400e;
    line-height: 1.3;
}
.regioner-pkd-check-btn__action {
    font-size: 12px;
    font-weight: 700;
    color: #b45309;
    line-height: 1.3;
}
/* PKD note — full width at bottom of actions card */
.regioner-pkd-section__note {
    margin: 20px 0 0;
    padding: 10px 16px 14px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    font-size: 11px;
    color: #94a3b8;
    line-height: 1.5;
    text-align: center;
}
.regioner-pkd-section__note a {
    color: var(--rp-primary, #0284c7);
    font-weight: 600;
}
@media (max-width: 480px) {
    .regioner-pkd-section__main {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Grid span full width */
.regioner-card--span-full {
    grid-column: 1 / -1;
}


/* Sidebar CTA — granatowy styl "Dodaj profil do katalogu" */
body.regioner-profile-basic .regioner-home-sidebar--right .regioner-directory-card--cta:first-child .regioner-directory-card__inner {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
}
body.regioner-profile-basic .regioner-home-sidebar--right .regioner-directory-card--cta:first-child .regioner-directory-card__inner:hover {
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.25);
}
body.regioner-profile-basic .regioner-home-sidebar--right .regioner-directory-card--cta:first-child .regioner-directory-card__cta-title {
    color: #fff;
    font-size: 15px;
}
body.regioner-profile-basic .regioner-home-sidebar--right .regioner-directory-card--cta:first-child .regioner-directory-card__cta-text {
    color: #94a3b8;
}
body.regioner-profile-basic .regioner-home-sidebar--right .regioner-directory-card--cta:first-child .regioner-directory-card__cta-media img {
    border-color: rgba(255, 255, 255, 0.15);
    background: #fff;
    border-radius: 8px;
    padding: 4px;
}
