/* Komunikat o naruszeniu ochrony danych osobowych */
.data-breach-bar {
    background: #8b1e2d;
    color: #fff;
    font-family: Poppins-SemiBold, Arial, sans-serif;
    font-size: 15px;
    line-height: 1.45;
    text-align: center;
    padding: 11px 15px;
    position: relative;
    z-index: 1051;
}

.data-breach-bar a {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 3px;
    margin-left: 6px;
    font-family: Poppins-Bold, Arial, sans-serif;
}

.data-breach-bar a:hover,
.data-breach-bar a:focus {
    color: #fff;
    opacity: .9;
}

.data-breach-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(12, 24, 51, .76);
}

.data-breach-modal.is-visible {
    display: flex;
}

.data-breach-modal__dialog {
    width: min(760px, 100%);
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, .28);
    position: relative;
}

.data-breach-modal__header {
    background: #142958;
    color: #fff;
    padding: 22px 70px 20px 28px;
}

.data-breach-modal__eyebrow {
    display: block;
    margin-bottom: 5px;
    font-family: Poppins-SemiBold, Arial, sans-serif;
    font-size: 13px;
    letter-spacing: .08em;
    text-transform: uppercase;
    opacity: .85;
}

.data-breach-modal__title {
    margin: 0;
    color: #fff;
    font-family: Poppins-Bold, Arial, sans-serif;
    font-size: 28px;
    line-height: 1.22;
}

.data-breach-modal__close {
    position: absolute;
    top: 15px;
    right: 18px;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .14);
    color: #fff;
    font-size: 28px;
    line-height: 38px;
    cursor: pointer;
}

.data-breach-modal__close:hover,
.data-breach-modal__close:focus {
    background: rgba(255, 255, 255, .24);
    outline: 2px solid rgba(255, 255, 255, .65);
    outline-offset: 2px;
}

.data-breach-modal__body {
    padding: 28px;
    color: #25324d;
    font-family: Poppins-Regular, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.65;
}

.data-breach-modal__body p {
    margin: 0 0 16px;
}

.data-breach-modal__body strong {
    font-family: Poppins-SemiBold, Arial, sans-serif;
}

.data-breach-modal__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 22px;
}

.data-breach-modal__primary,
.data-breach-modal__secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 11px 18px;
    border-radius: 3px;
    font-family: Poppins-SemiBold, Arial, sans-serif;
    font-size: 14px;
    text-decoration: none;
    cursor: pointer;
}

.data-breach-modal__primary {
    border: 2px solid #108351;
    background: #108351;
    color: #fff;
}

.data-breach-modal__primary:hover,
.data-breach-modal__primary:focus {
    background: #0c6d43;
    border-color: #0c6d43;
    color: #fff;
}

.data-breach-modal__secondary {
    border: 2px solid #d6dbe5;
    background: #fff;
    color: #142958;
}

.data-breach-modal__secondary:hover,
.data-breach-modal__secondary:focus {
    background: #f4f6fa;
    color: #142958;
}

body.data-breach-modal-open {
    overflow: hidden;
}

/* Nowe mapy bez Google Maps JavaScript API */
#maps .map-wrapper {
    position: relative;
    min-height: 500px;
    overflow: hidden;
    background: #e9edf4;
}

#maps .map-embed {
    display: block;
    width: 100%;
    height: 500px;
    border: 0;
}

#maps .map-info-card {
    position: absolute;
    z-index: 3;
    top: 28px;
    left: 50%;
    transform: translateX(-50%);
    width: min(330px, calc(100% - 36px));
    padding: 15px 18px;
    background: #108351;
    color: #fff;
    text-align: center;
    box-shadow: 0 8px 24px rgba(20, 41, 88, .16);
    pointer-events: none;
}

#maps .map-info-card::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -10px;
    width: 20px;
    height: 20px;
    background: #108351;
    transform: translateX(-50%) rotate(45deg);
}

#maps .map-info-card h3 {
    margin: 0 0 2px;
    color: #fff;
    font-family: Poppins-SemiBold, Arial, sans-serif;
    font-size: 25px;
}

#maps .map-info-card h4 {
    margin: 0 0 8px;
    color: #fff;
    font-family: Poppins-SemiBold, Arial, sans-serif;
    font-size: 17px;
}

#maps .map-info-card ul {
    list-style: none;
    margin: 0;
    padding: 0;
    font-family: Poppins-SemiBold, Arial, sans-serif;
    font-size: 15px;
    line-height: 1.55;
}

/* Podstrona zawiadomienia */
.data-breach-page {
    padding-top: 20px;
    padding-bottom: 60px;
}

.data-breach-page .notice-lead {
    margin: 0 0 28px;
    padding: 18px 22px;
    border-left: 5px solid #8b1e2d;
    background: #f7f3f4;
    color: #25324d;
}

.data-breach-page .notice-company {
    margin-bottom: 28px;
    font-family: Poppins-SemiBold, Arial, sans-serif;
    line-height: 1.65;
}

.data-breach-page h2 {
    margin: 34px 0 14px;
    color: #142958;
    font-family: Poppins-Bold, Arial, sans-serif;
    font-size: 25px;
}

.data-breach-page p,
.data-breach-page li {
    color: #25324d;
    font-family: Poppins-Regular, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.75;
}

.data-breach-page ul {
    margin-bottom: 18px;
}

.data-breach-page a {
    overflow-wrap: anywhere;
}

.data-breach-footer-link {
    display: inline-block;
    margin-top: 14px;
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.data-breach-footer-link:hover,
.data-breach-footer-link:focus {
    color: #fff;
    opacity: .9;
}

@media (max-width: 767px) {
    .data-breach-bar {
        font-size: 13px;
        padding: 10px 12px;
    }

    .data-breach-bar a {
        display: block;
        margin: 3px 0 0;
    }

    .data-breach-modal {
        padding: 12px;
    }

    .data-breach-modal__header {
        padding: 20px 58px 18px 20px;
    }

    .data-breach-modal__title {
        font-size: 22px;
    }

    .data-breach-modal__body {
        padding: 20px;
        font-size: 15px;
    }

    .data-breach-modal__actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    #maps .map-wrapper,
    #maps .map-embed {
        min-height: 420px;
        height: 420px;
    }

    #maps .map-info-card {
        top: 18px;
    }
}
