/* ========================================================= */
/* TARCZA ANTY-ELEMENTOROWA (Izolacja Styli Wtyczki)         */
/* ========================================================= */
.rem-investment-container {
    all: initial; /* Całkowity reset dziedziczenia styli motywu/Elementora */
    display: block;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    line-height: 1.6;
    color: #1e293b;
    width: 100%;
    max-width: 1200px;
    margin: 40px auto;
}

.rem-investment-container *,
.rem-investment-container *::before,
.rem-investment-container *::after {
    box-sizing: inherit !important;
}

/* Ochrona tabeli przed stylami globalnymi */
.rem-investment-container table.rem-front-table {
    border: none !important;
    margin: 0 !important;
    width: 100% !important;
}
.rem-investment-container table.rem-front-table th,
.rem-investment-container table.rem-front-table td {
    background: transparent;
    border-right: none !important;
    border-left: none !important;
}

/* Ochrona list w sidebarze */
.rem-investment-container ul.rem-room-list {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}
.rem-investment-container ul.rem-room-list li {
    margin: 0 !important;
    padding: 8px 0 !important;
    list-style-type: none !important;
}

.rem-investment-container button {
    outline: none !important;
    box-shadow: none;
    text-shadow: none !important;
}

/* ========================================================= */
/* GŁÓWNA NAWIGACJA I PRZEŁĄCZNIKI WOKÓŁ MAKIET              */
/* ========================================================= */
.rem-map-nav-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    width: 100%;
    margin-bottom: 14px;
}

/* Przycisk powrotu do osiedla */
.rem-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    color: #334155;
    padding: 10px 24px;
    border-radius: var(--rem-btn-radius, 30px) !important; /* Dynamiczny kształt */
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
    transition: all 0.2s ease;
}
.rem-back-btn:hover { 
    background: #f8fafc; 
    color: #0f172a; 
    box-shadow: 0 4px 12px rgba(0,0,0,0.06); 
    transform: translateY(-1px); 
}

.rem-svg-box-container {
    position: relative;
    width: 100%;
}

/* Przełącznik Parter/Piętro nad rzutem, bez zasłaniania SVG */
.rem-svg-box-container .rem-floor-switcher {
    position: static;
    transform: none;
    z-index: 10;
    display: flex;
    justify-content: center;
    gap: 6px;
    width: fit-content;
    max-width: 100%;
    margin: 0 auto 14px auto;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 6px;
    border-radius: var(--rem-btn-radius, 40px) !important; /* Dynamiczny kształt */
    border: 1px solid rgba(0,0,0,0.06);
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.rem-floor-btn {
    background: transparent;
    border: none;
    padding: 8px 20px;
    font-size: 13px;
    font-weight: 600;
    border-radius: var(--rem-btn-radius, 30px) !important; /* Dynamiczny kształt */
    cursor: pointer;
    transition: all 0.2s ease;
    color: #475569;
}
.rem-floor-btn.active {
    background: var(--rem-btn-bg, #000000) !important; /* Dynamiczny kolor akcentu */
    color: var(--rem-btn-text, #ffffff) !important;    /* Dynamiczny kolor tekstu */
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.rem-floor-btn:hover:not(.active) {
    background: rgba(0,0,0,0.04);
    color: #0f172a;
}

@media(max-width: 520px) {
    .rem-svg-box-container .rem-floor-switcher {
        width: 100%;
    }

    .rem-floor-btn {
        flex: 1;
        padding: 8px 12px;
    }
}

/* ========================================================= */
/* INTERAKTYWNE SEKCJE I POLIGONY SVG W MAKIETACH            */
/* ========================================================= */
.rem-svg-wrapper { 
    width: 100%; 
    background: #ffffff; 
    border-radius: 16px; 
    box-shadow: 0 10px 40px rgba(0,0,0,0.04); 
    padding: 30px; 
    box-sizing: border-box; 
    margin-bottom: 40px; 
    position: relative;
    overflow: hidden;
}
.rem-svg-wrapper svg { 
    width: 100%; 
    height: auto; 
    display: block; 
    transform-origin: 0 0;
    will-change: transform;
    user-select: none;
    -webkit-user-select: none;
}

#remMasterMapWrapper.rem-map-pan-ready {
    cursor: grab;
    touch-action: none;
}

#remMasterMapWrapper.rem-map-pan-ready.rem-map-panning {
    cursor: grabbing;
}

#remMasterMapWrapper.rem-map-pan-ready svg {
    transition: none;
}

#remMasterMapWrapper.rem-map-pan-ready.rem-map-panning svg {
    transition: none;
}

.rem-map-zoom-controls {
    position: static;
    z-index: 20;
    display: flex;
    gap: 6px;
    padding: 6px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(148, 163, 184, 0.35);
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

#remMasterMapWrapper > .rem-map-zoom-controls {
    display: none !important;
}

.rem-map-zoom-btn {
    min-width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e2e8f0 !important;
    border-radius: 8px !important;
    background: #ffffff !important;
    color: #0f172a !important;
    font-size: 16px;
    font-weight: 800;
    line-height: 1;
    cursor: pointer;
    padding: 0 10px;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.rem-map-zoom-btn:hover {
    background: var(--rem-btn-bg, #0f172a) !important;
    border-color: var(--rem-btn-bg, #0f172a) !important;
    color: var(--rem-btn-text, #ffffff) !important;
}

.rem-map-reset-btn {
    width: auto;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.rem-svg-wrapper [id^="lokal-"] { 
    cursor: pointer; 
    transition: fill 0.3s ease, opacity 0.3s ease; 
}
.rem-svg-wrapper .status-available { 
    fill: rgba(46, 204, 113, 0.25); 
    stroke: #2ecc71; 
    stroke-width: 2; 
}
.rem-svg-wrapper .status-available:hover { 
    fill: rgba(46, 204, 113, 0.5); 
}
.rem-svg-wrapper .status-reserved { 
    fill: rgba(241, 196, 15, 0.3); 
    stroke: #f1c40f; 
    stroke-width: 2; 
}
.rem-svg-wrapper .status-reserved:hover { 
    fill: rgba(241, 196, 15, 0.5); 
}
.rem-svg-wrapper .status-sold { 
    fill: rgba(149, 165, 166, 0.2); 
    stroke: #95a5a6; 
    stroke-width: 1; 
    opacity: 0.6; 
    cursor: not-allowed !important; 
}

/* ========================================================= */
/* INTELIGENTNY DYMEK PODĄŻAJĄCY ZA CURSOREM (TOOLTIP)       */
/* ========================================================= */
.rem-tooltip-modern {
    position: absolute !important; 
    visibility: hidden;
    opacity: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: var(--rem-btn-radius, 16px) !important; /* Dynamiczny kształt całej karty dymka */
    padding: 0;
    width: 260px;
    box-shadow: 0 10px 40px rgba(15,23,42,0.12), 0 2px 10px rgba(15,23,42,0.04);
    z-index: 99999999 !important; 
    pointer-events: auto;
    transition: opacity 0.15s ease, visibility 0.15s ease;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: #1e293b;
    overflow: hidden; /* Zabezpieczenie ścinania dolnego przycisku do promienia karty */
}

.rem-tooltip-modern::before {
    content: "";
    display: block;
    height: 3px;
    background: var(--rem-btn-bg, #0f172a);
}

.tip-header { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    gap: 8px;
    padding: 16px 20px; 
    border-bottom: 1px solid rgba(0,0,0,0.05); 
    background: #f8fafc; 
    border-radius: var(--rem-btn-radius, 16px) var(--rem-btn-radius, 16px) 0 0 !important; /* Dynamiczny kształt góry dymka */
}
.tip-title { font-weight: 700; font-size: 16px; color: #0f172a; margin-right: auto; }
.tip-close {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 28px;
    border: 1px solid #e2e8f0 !important;
    border-radius: 8px !important;
    background: #ffffff !important;
    color: #475569 !important;
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
}
.tip-close:hover {
    color: #0f172a !important;
    border-color: #cbd5e1 !important;
    background: #f8fafc !important;
}
.tip-body { padding: 16px 20px; }
.tip-row { display: flex; align-items: center; margin-bottom: 8px; font-size: 13px; color: #475569; }
.tip-row:last-child { margin-bottom: 0; }
.tip-icon { margin-right: 8px; font-size: 14px; }
.tip-row strong { margin-left: auto; color: #0f172a; font-size: 14px; }
.tip-footer { padding: 12px 20px; border-top: 1px dashed rgba(0,0,0,0.08); text-align: right; }
.tip-price-old { text-decoration: line-through; color: #94a3b8; font-size: 12px; margin-right: 8px; }
.tip-price-new { color: #e11d48; font-weight: 800; font-size: 18px; }
.tip-price-regular { color: #0f172a; font-weight: 800; font-size: 18px; }

/* Dolny pasek akcji wewnątrz dymka hover (ZINTEGROWANY Z PERSONALIZACJĄ ACCENTU) */
.tip-action { 
    display: block;
    width: 100%;
    background: var(--rem-btn-bg, #0f172a) !important;       /* Dynamiczny kolor akcentu marki */
    color: var(--rem-btn-text, #ffffff) !important;         /* Dynamiczny kolor tekstu */
    border: 0 !important;
    text-align: center; 
    padding: 12px; 
    font-size: 11px; 
    font-weight: 700; 
    text-transform: uppercase;
    border-radius: 0 0 var(--rem-btn-radius, 16px) var(--rem-btn-radius, 16px) !important; /* Dynamiczny kształt dołu dymka */
    letter-spacing: 0.5px; 
    cursor: pointer;
}

/* ========================================================= */
/* RESPONSYWNA TABELA PORÓWNAWCZA LOKALI                     */
/* ========================================================= */
.rem-table-wrapper { 
    margin-top: 40px; 
}
.rem-section-title { 
    font-size: 20px; 
    font-weight: 700; 
    margin-bottom: 20px; 
    color: #1e272e; 
}

.rem-table-responsive-container {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch; 
    border-radius: 12px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.03);
    background: #fff;
}

@media(max-width: 700px) {
    .rem-investment-container {
        margin: 24px auto;
    }

    .rem-map-nav-top {
        justify-content: flex-end;
    }

    #remMasterMapWrapper {
        min-height: 430px;
        height: 54vh;
        padding: 16px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    #remMasterMapWrapper svg {
        width: 100%;
        height: 100%;
    }

    .rem-tooltip-modern {
        width: calc(100vw - 28px);
        max-width: 320px;
    }

    .rem-table-responsive-container::before {
        content: "⇆ Przesuń tabelę";
        display: flex;
        justify-content: flex-end;
        align-items: center;
        padding: 10px 12px 8px;
        color: #64748b;
        font-size: 12px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.04em;
        background: #ffffff;
        position: sticky;
        left: 0;
    }
}

.rem-front-table { 
    width: 100%; 
    border-collapse: separate; 
    border-spacing: 0; 
}
.rem-front-table th { 
    background: #f8f9fa; 
    font-size: 12px; 
    text-transform: uppercase; 
    letter-spacing: 0.5px; 
    color: #747d8c; 
    border-bottom: 2px solid #eaeded; 
}
.rem-front-table td { 
    border-bottom: 1px solid #f1f2f6; 
    font-size: 14px; 
}
.rem-front-table tr:last-child td { 
    border-bottom: none; 
}

.rem-front-table th, 
.rem-front-table td {
    white-space: nowrap !important;
    padding: 16px 20px !important;
    vertical-align: middle !important;
    text-align: left !important; 
}

.rem-front-table th:nth-child(4), .rem-front-table td:nth-child(4),
.rem-front-table th:nth-child(6), .rem-front-table td:nth-child(6),
.rem-front-table th:nth-child(7), .rem-front-table td:nth-child(7),
.rem-front-table th:nth-child(8), .rem-front-table td:nth-child(8) {
    text-align: center !important;
}

.rem-badge-hit { background: #ff4757; color: #fff; font-size: 10px; font-weight: bold; padding: 2px 6px; border-radius: 3px; margin-left: 6px; }
.rem-old-price { text-decoration: line-through; color: #a4b0be; font-size: 12px; }
.rem-promo-price { color: #ff4757; font-weight: bold; font-size: 15px; }
.rem-omnibus-price { font-size: 11px; color: #747d8c; font-style: italic; }
.rem-regular-price { font-weight: bold; font-size: 15px; }

/* Przycisk pobierania PDF karty */
.rem-pdf-btn {
    background: #f1f2f6;
    color: #2f3542;
    padding: 6px 12px;
    border-radius: var(--rem-btn-radius, 4px) !important; 
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
}
.rem-pdf-btn:hover { background: #e4e7eb; }

.rem-open-unit-details {
    background: #ffffff !important;
    color: var(--rem-btn-bg, #0f172a) !important;
    border: 1px solid #cbd5e1 !important;
    padding: 8px 14px;
    border-radius: var(--rem-btn-radius, 6px) !important;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}
.rem-open-unit-details:hover {
    background: #f8fafc !important;
    border-color: var(--rem-btn-bg, #0f172a) !important;
}

/* Przycisk wywołania kontaktu w tabeli */
.rem-trigger-modal {
    background: var(--rem-btn-bg, #000000) !important;     
    color: var(--rem-btn-text, #ffffff) !important;        
    border: none !important;
    padding: 8px 16px;
    border-radius: var(--rem-btn-radius, 6px) !important;  
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}
.rem-trigger-modal:hover {
    background: var(--rem-btn-hover, #2f3542) !important;  
}

/* ========================================================= */
/* USTANDARYZOWANE ODZNAKI STATUSU (TABELA / SIDEBAR / DYMEK) */
/* ========================================================= */
.rem-status-badge,
.tip-badge {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 6px 14px !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.06em !important;
    border-radius: 6px !important; /* Elegancki prostokąt dla wszystkich odznak */
    line-height: 1 !important;    
    text-align: center !important;
    border: 1px solid transparent !important;
}

.rem-status-badge br,
.tip-badge br { 
    display: none !important; 
}

.rem-status-badge.badge-available,
.tip-badge-green { 
    background: #ecfdf5 !important; 
    color: #065f46 !important; 
    border-color: #a7f3d0 !important; 
}

.rem-status-badge.badge-reserved,
.tip-badge-orange { 
    background: #fffbeb !important; 
    color: #92400e !important; 
    border-color: #fde68a !important; 
}

.rem-status-badge.badge-sold { 
    background: #f8fafc !important; 
    color: #64748b !important; 
    border-color: #e2e8f0 !important; 
}

/* ========================================================= */
/* DWUKOLUMNOWA KARTA DETALICZNA LOKALU                      */
/* ========================================================= */
.rem-detail-layout { 
    display: grid; 
    grid-template-columns: 2fr 1fr; 
    gap: 30px; 
    align-items: start; 
}
@media(max-width: 900px) { 
    .rem-detail-layout { grid-template-columns: 1fr; } 
}

.rem-detail-sidebar { 
    background: #ffffff; 
    border-radius: 16px; 
    padding: 30px; 
    box-shadow: 0 10px 40px rgba(0,0,0,0.06); 
    border: 1px solid #f1f2f6; 
    position: sticky; 
    top: 20px; 
}
.rem-sidebar-title { font-size: 28px; font-weight: 800; color: #0f172a; margin: 0 0 15px 0; }
.rem-sidebar-badges { margin-bottom: 25px; }
.rem-sidebar-stats { display: flex; flex-direction: column; gap: 12px; margin-bottom: 25px; padding-bottom: 25px; border-bottom: 1px solid #e2e8f0; }
.rem-stat-box { display: flex; justify-content: space-between; font-size: 15px; color: #475569; }
.rem-stat-box strong { color: #0f172a; font-weight: 700; font-size: 16px; }
.rem-sidebar-price-box { margin-bottom: 30px; }
.rem-side-price-regular { font-size: 26px; font-weight: 800; color: #0f172a; }
.rem-side-price-old { text-decoration: line-through; color: #94a3b8; font-size: 15px; margin-bottom: 4px; }
.rem-side-price-promo { font-size: 28px; font-weight: 800; color: #e11d48; margin-bottom: 6px; }
.rem-side-price-omni { font-size: 12px; color: #64748b; font-style: italic; }

.rem-room-list-container { background: #f8fafc; border-radius: 12px; padding: 20px; margin-bottom: 25px; }
.rem-room-list-title { font-size: 14px; font-weight: 700; color: #334155; margin: 0 0 15px 0; text-transform: uppercase; letter-spacing: 0.5px; }
.rem-room-item { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px dashed #cbd5e1; font-size: 14px; color: #475569; }
.rem-room-total { margin-top: 8px; padding-top: 12px; border-top: 2px solid #cbd5e1; font-weight: 800; color: #0f172a; }

/* Przycisk zapytania w panelu bocznym sidebaru */
.rem-sidebar-contact-btn {
    width: 100%;
    background: var(--rem-btn-bg, #0f172a) !important;      
    color: var(--rem-btn-text, #ffffff) !important;         
    border: none !important;
    padding: 16px;
    border-radius: var(--rem-btn-radius, 12px) !important;  
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15);
}
.rem-sidebar-contact-btn:hover {
    background: var(--rem-btn-hover, #1e293b) !important;   
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.2);
}

/* ========================================================= */
/* PLACEHOLDER DLA LOKALI BEZ PLANSZ SVG (DOSTĘPNE WKRÓTCE)  */
/* ========================================================= */
.rem-svg-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 40px;
    background: #f8fafc;
    border: 2px dashed #cbd5e1;
    border-radius: 16px;
    min-height: 450px;
    box-sizing: border-box;
}
.rem-placeholder-icon {
    font-size: 54px;
    margin-bottom: 20px;
    animation: remPulse 2s infinite ease-in-out;
}
.rem-svg-placeholder h4 {
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 12px 0;
}
.rem-svg-placeholder p {
    font-size: 14px;
    color: #64748b;
    max-width: 360px;
    margin: 0;
    line-height: 1.6;
}

/* ========================================================= */
/* EKSKLUZYWNY POP-UP MODAL FORMULARZA Z WPISAMI RODO        */
/* ========================================================= */
.rem-modal {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.4); 
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    justify-content: center;
    align-items: center;
    z-index: 999999999 !important;
}

.rem-modal-content {
    background: #ffffff;
    padding: 40px;
    border-radius: 20px;
    max-width: 480px;
    width: 100%;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.15), 0 0 0 1px rgba(15,23,42,0.02);
    box-sizing: border-box;
    animation: remFadeIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) ease;
}

.rem-modal-close {
    position: absolute;
    right: 24px;
    top: 20px;
    font-size: 24px;
    font-weight: 400;
    cursor: pointer;
    color: #94a3b8;
    transition: color 0.2s;
    line-height: 1;
}
.rem-modal-close:hover { color: #0f172a; }

.rem-modal-header-block {
    margin-bottom: 24px;
    text-align: left;
}
.rem-modal-inv-badge {
    display: inline-block;
    background: #f1f5f9;
    color: #475569;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    border: 1px solid #e2e8f0;
}
.rem-modal-main-title { font-size: 22px !important; font-weight: 800 !important; color: #0f172a !important; margin: 0 0 6px 0 !important; }
.rem-modal-desc { font-size: 14px !important; color: #64748b !important; margin: 0 !important; line-height: 1.5; }

/* Pola wejściowe formularza w pop-upie */
.rem-form-group {
    margin-bottom: 16px;
    width: 100%;
    box-sizing: border-box;
}
.rem-form-group input[type="text"],
.rem-form-group input[type="email"],
.rem-form-group input[type="tel"],
.rem-form-group textarea {
    width: 100% !important;
    padding: 12px 16px !important;
    border: 1px solid #cbd5e1 !important;
    background: #ffffff !important;
    border-radius: 10px !important;
    font-size: 14px !important;
    color: #0f172a !important;
    box-shadow: none !important;
    transition: all 0.2s ease;
    box-sizing: border-box !important;
}
.rem-form-group input:focus,
.rem-form-group textarea:focus {
    border-color: #0f172a !important;
    outline: none !important;
    box-shadow: 0 0 0 4px rgba(15, 23, 42, 0.06) !important;
}

/* --- KOREKTA ZGODY RODO & AKCENT STRUKTURALNY LINKU --- */
.rem-form-group.rem-rodo-group {
    margin-top: 20px !important;
    margin-bottom: 24px !important;
}
.rem-rodo-label {
    display: flex !important;
    align-items: flex-start !important; 
    gap: 12px !important;
    cursor: pointer !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 100%;
}
.rem-rodo-label br {
    display: none !important; 
}
.rem-rodo-checkbox {
    width: 16px !important;
    height: 16px !important;
    margin: 1px 0 0 0 !important; 
    flex-shrink: 0 !important;
    cursor: pointer !important;
    border-radius: 4px !important;
    border: 1px solid #cbd5e1 !important;
}
.rem-rodo-text {
    font-size: 12.5px !important;
    line-height: 1.5 !important;
    color: #475569 !important;
    text-align: left !important;
    user-select: none;
}

/* NOWOŚĆ: Link RODO automatycznie dziedziczy dynamiczny akcent marki dewelopera */
.rem-rodo-link {
    color: var(--rem-btn-bg, #0f172a) !important;
    text-decoration: underline !important;
    font-weight: 700 !important;
    transition: color 0.15s;
}
.rem-rodo-link:hover { 
    color: var(--rem-btn-hover, #475569) !important; 
}

/* Główny przycisk wysyłki wiadomości w oknie */
.rem-form-submit-btn {
    width: 100% !important;
    background: var(--rem-btn-bg, #0f172a) !important;      
    color: var(--rem-btn-text, #ffffff) !important;         
    border: none !important;
    padding: 14px !important;
    border-radius: var(--rem-btn-radius, 12px) !important;  
    font-size: 14px !important;
    font-weight: 700 !important;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.1) !important;
    transition: all 0.2s ease;
}
.rem-form-submit-btn:hover:not(:disabled) {
    background: var(--rem-btn-hover, #1e293b) !important;   
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.15) !important;
}
.rem-form-submit-btn:disabled {
    background: #94a3b8 !important;
    cursor: not-allowed !important;
}

/* ========================================================= */
/* MIĘKKIE INTERFEJSOWE ANIMACJE SYSTEMOWE                  */
/* ========================================================= */
@keyframes remFadeIn { from { opacity: 0; transform: scale(0.95); } to { opacity: 1; transform: scale(1); } }
@keyframes remPulse { 0%, 100% { transform: scale(1); opacity: 0.6; } 50% { transform: scale(1.08); opacity: 1; } }

/* --- STYLE PODŚWIETLANIA DLA MAKETY SVG --- */

/* 1. Domyślny stan poligonów - ukryte, gotowe do interakcji */
.rem-interactive-unit {
    fill: #ffffff !important;
    fill-opacity: 0 !important;
    stroke: #1e293b !important;
    stroke-width: 2px !important;
    stroke-opacity: 0 !important;
    cursor: pointer;
    transition: all 0.25s ease-in-out !important;
}

/* 2. HOVER (Kolor akcentu po najechaniu myszką) */
.rem-interactive-unit:hover {
    fill: var(--rem-btn-bg, #0f172a) !important;
    fill-opacity: 0.35 !important;
    stroke: var(--rem-btn-bg, #0f172a) !important;
    stroke-width: 4px !important;
    stroke-opacity: 1 !important;
}

/* 3. LOKAL WOLNY (Zielony) */
.rem-interactive-unit.status-available {
    fill: #10b981 !important;
    fill-opacity: 0.1 !important;
    stroke: #059669 !important;
    stroke-opacity: 0.5 !important;
}
.rem-interactive-unit.status-available:hover {
    fill-opacity: 0.4 !important;
    stroke-opacity: 1 !important;
    stroke-width: 4px !important;
}

/* 4. LOKAL W REZERWACJI (Żółty/Pomarańczowy) */
.rem-interactive-unit.status-reserved {
    fill: #f59e0b !important;
    fill-opacity: 0.15 !important;
    stroke: #d97706 !important;
    stroke-opacity: 0.6 !important;
}
.rem-interactive-unit.status-reserved:hover {
    fill-opacity: 0.45 !important;
    stroke-opacity: 1 !important;
}

/* 5. LOKAL SPRZEDANY (Czerwony - blokada klikania) */
.rem-interactive-unit.status-sold {
    fill: #ef4444 !important;
    fill-opacity: 0.08 !important;
    stroke: #dc2626 !important;
    stroke-opacity: 0.4 !important;
    cursor: not-allowed !important;
}
