#suppbro-pwa-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #000;
    color: #fff;
    display: flex;
    flex-wrap: nowrap; /* nie zawijaj, żeby X był w linii */
    align-items: center;
    justify-content: space-between;
    padding: 10px 15px;
    z-index: 10000;
    font-family: sans-serif;
    height: auto;
    min-height: 70px;
    box-sizing: border-box;
}

#suppbro-pwa-bar img {
    width: 40px;
    height: 40px;
    margin-right: 10px;
    flex-shrink: 0;
}

.suppbro-pwa-text {
    flex-grow: 1;
    flex-shrink: 1;
    min-width: 0; /* pozwala tekstowi się łamać */
    font-size: 16px; /* większy tekst */
    line-height: 1.2;
    word-break: break-word;
    white-space: normal;
}

#suppbro-install-btn {
    background: #fff;
    color: #000;
    border: none;
    padding: 8px 16px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px; /* większy font */
    font-weight: 400 !important;
    display: none; /* domyślnie ukryty */
    flex-shrink: 0;
    margin-left: 15px;
}

#suppbro-ios-tip {
    position: fixed;
    bottom: 60px;
    left: 10px;
    right: 10px;
    background: #0D47A1;
    color: #ffffff;
    padding: 15px 20px; 
    font-size: 14px;
    border: none;
    border-radius: 5px;
    z-index: 10001;
    max-width: 600px; 
    margin: 15px auto; 
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    display: none;
}

#suppbro-ios-tip.active {
    display: block !important;
}

.suppbro-close {
    background: transparent;
    color: #fff;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 15px;
    border: none;
    line-height: 1;
    padding: 0;
    user-select: none;
}

html.suppbro-pwa-hidden #suppbro-pwa-bar,
html.suppbro-pwa-hidden #suppbro-ios-tip {
    display: none !important;
}

.wp-bottom-menu {
    position: fixed;
    bottom: 55px; /* pod paskiem PWA */
    z-index: 9999;
}

/* Responsywność: na małych ekranach zmniejszamy font */
@media (max-width: 400px) {
    .suppbro-pwa-text {
        font-size: 14px;
    }
    
    #suppbro-install-btn {
        font-size: 14px;
        padding: 6px 12px;
    }
    
    .suppbro-close {
        font-size: 24px;
        width: 36px;
        height: 36px;
        margin-left: 10px;
    }
}
