.tc-sas-hallplan-page {
    padding: 0;
}

.tc-sas-hallplan-embed {
    width: 100%;
    overflow: hidden;
}

.tc-sas-hallplan-embed__placeholder {
    margin: 0;
    padding: 1.5rem;
    text-align: center;
    color: #666;
    background: #f6f6f6;
    border: 1px dashed #ccc;
}

.tc-sas-hallplan {
    position: relative;
    width: 100%;
    min-height: 100vh;
    overflow: hidden;
    background: transparent;
}

.tc-sas-hallplan-embed .tc-sas-hallplan--embedded,
.tc-sas-hallplan-embed .tc-sas-hallplan {
    height: 100%;
    min-height: 0;
}

.tc-sas-hallplan-embed .tc-sas-hallplan__map {
    height: 100%;
    min-height: 0;
}

.tc-sas-hallplan .leaflet-container {
    background: transparent;
}

.tc-sas-hallplan__map {
    min-height: 100vh;
    width: 100%;
}

.tc-sas-hallplan.is-error::after {
    content: "Le plan n'a pas pu être chargé.";
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.9);
    font-weight: 600;
}

.tc-sas-hallplan__map-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.4rem;
    height: 2.4rem;
    border: 0;
    border-radius: 0.4rem;
    background: #fff;
    color: #202020;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
}

.tc-sas-hallplan__map-action.is-disabled {
    opacity: 0.45;
    cursor: default;
}

.leaflet-popup.tc-sas-hallplan-popup-wrapper .leaflet-popup-content-wrapper {
    border-radius: 0.5rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.14);
    padding: 0;
}

.leaflet-popup.tc-sas-hallplan-popup-wrapper .leaflet-popup-content {
    margin: 0;
    min-width: 14rem;
    max-width: 18rem;
}

.leaflet-popup.tc-sas-hallplan-popup-wrapper .leaflet-popup-tip {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.tc-sas-hallplan-popup {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    text-align: center;
}

.tc-sas-hallplan-popup__logo {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 4.5rem;
    padding: 1rem 1.25rem 0.75rem;
    background: #f7f7f7;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.tc-sas-hallplan-popup__logo img {
    display: block;
    max-width: 100%;
    max-height: 4rem;
    width: auto;
    height: auto;
    object-fit: contain;
}

.tc-sas-hallplan-popup__body {
    padding: 0.85rem 1.25rem 0.25rem;
}

.tc-sas-hallplan:not(.tc-sas-hallplan--embedded) .tc-sas-hallplan-popup__body {
    padding-bottom: 1.15rem;
}

.tc-sas-generalplanembed .tc-sas-hallplan-popup__body {
    padding: 0.85rem 1.25rem 1.25rem;
}

.tc-sas-generalplanembed .tc-sas-hallplan-popup__actions--zone-page {
    margin: 0 1.25rem 1.15rem;
}

.tc-sas-hallplan-popup__title {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.3;
    color: #1a1a1a;
}

.tc-sas-hallplan-popup__description,
.tc-sas-hallplan-popup__stand {
    margin: 0.35rem 0 0;
    font-size: 0.8125rem;
    line-height: 1.35;
    color: #666;
}

.tc-sas-hallplan:not(.tc-sas-hallplan--embedded) .tc-sas-hallplan-popup__actions--exhibitor {
    display: none !important;
}

.tc-sas-hallplan-popup__actions {
    display: inline-block;
    margin: 0.85rem 1.25rem 1.15rem;
    align-self: center;
}

.tc-sas-hallplan-popup__actions a {
    text-decoration: none;
}

@media (max-width: 1023px) {
    .tc-sas-hallplan:not(.tc-sas-hallplan--embedded) .tc-sas-hallplan__map {
        min-height: 100vh;
    }
}
