/* Kontener wtyczki – tło przeźroczyste, używasz własnego BG */
.zac-map {
    background: transparent;
    padding: 0;
    color: #ffffff;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.zac-map__inner {
    position: relative;
}

/* Zdjęcie + SVG */
.zac-map__photo-wrapper {
    position: relative;
    display: inline-block;
    z-index: 1;
}

.zac-map__image {
    display: block;
    max-width: 100%;
    height: auto;
    position: relative;
    z-index: 1;
}

.zac-map__svg {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}

/* Dolne sterowanie pod obrazkiem */
.zac-map__bottom-controls {
    margin-top: 24px;
    display: flex;
    justify-content: flex-start;
}

.zac-map__controls {
    display: flex;
    gap: 24px;
}

.zac-map__control {
    position: relative;
    z-index: 5;
}

.zac-map__btn {
    padding: 10px 46px;
    border: 1px solid #ffffff;
    background: transparent;
    color: #ffffff;
    font-size: 15px;
	min-width: 250px;
    cursor: pointer;
    letter-spacing: 0.03em;
    text-transform: none;
}

/* Dropdowny – otwierane do góry */
.zac-map__dropdown {
    position: absolute;
    left: 0;
    background: rgba(0, 40, 51, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.35);
    min-width: 260px;
    max-width: 320px;
    max-height: 280px;
    overflow-y: auto;
    display: none;
    z-index: 10;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}

.zac-map__dropdown--up {
    bottom: calc(100% + 10px);
}

.zac-map__dropdown--open {
    display: block;
}

.zac-map__dropdown-item {
    display: block;
    width: 100%;
    padding: 8px 18px;
    border: none;
    background: transparent;
    color: #ffffff;
    font-size: 14px;
    text-align: left;
    cursor: pointer;
    white-space: nowrap;
}

.zac-map__dropdown-item:hover {
    background: rgba(255, 255, 255, 0.10);
}

/* Karta lokalu w prawym dolnym rogu */
.zac-map__card {
    position: absolute;
    right: -20px;
    bottom: 0;
    transform: translateY(18%);
    min-width: 360px;
    max-width: 380px;
    background: #072B37;
    border: 1px solid #ffecb7;
    padding: 28px 30px 26px;
    box-sizing: border-box;
    z-index: 3;
}

.zac-map__card-inner {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.zac-map__title {
    margin: 0 0 18px;
    font-size: 36px;
    font-weight: 600;
    color: #ffecb7;
}

.zac-map__row {
    margin: 0 0 6px;
    font-size: 24px;
}

.zac-map__value {
    font-weight: 600;
}

.zac-map__status {
    font-weight: 700;
}

/* Kolory statusów tekstu */
.zac-status--dostepny {
    color: #34c759;
}

.zac-status--zarezerwowany {
    color: #ffcc00;
}

.zac-status--niedostepny {
    color: #ff3b30;
}

/* Przycisk PDF */
.zac-map__pdf-btn {
    display: inline-block;
    margin-top: 16px;
    padding: 10px 22px;
    border: 1px solid #ffffff;
    text-decoration: none;
    font-size: 14px;
    text-align: center;
    min-width: 170px;
    background: transparent;
    color: #ffffff;
}
@media (max-width: 960px) {

.zac-map__btn {
	min-width: 220px;
}


/* Responsywność */
@media (max-width: 900px) {
    .zac-map__card {
        position: static;
        transform: none;
        margin-top: 24px;
        max-width: 100%;
    }

    .zac-map__inner {
        text-align: center;
    }

    .zac-map__photo-wrapper {
        display: inline-block;
        max-width: 100%;
    }

    .zac-map__bottom-controls {
        justify-content: center;
    }
}

@media (max-width: 450px) {
	.zac-map__bottom-controls {
    margin-top: 5px;
    display: block;
    justify-content: flex-start;
}

	.zac-map__controls {
    display: block;
    gap: 24px;
}
	
	.zac-map__control {
    margin-top: 10px;
}
	.zac-map__btn {
	min-width: 250px;
}
    .zac-map__card {
        min-width: 250px;
        max-width: 100%;
}
	.zac-map__row {
		font-size: 19px;
}