.baksal-pwa-install {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 9999;
    display: none;
    align-items: center;
    gap: 10px;
    min-height: 48px;
    padding: 10px 16px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 14px;
    color: #ffffff;
    background: #061c4f;
    box-shadow: 0 12px 30px rgba(6, 28, 79, 0.32);
    font-family: Tahoma, Arial, sans-serif;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
    cursor: pointer;
    direction: rtl;
    -webkit-tap-highlight-color: transparent;
}

.baksal-pwa-install.is-visible { display: inline-flex; }

.baksal-pwa-install:hover,
.baksal-pwa-install:focus {
    color: #ffffff;
    background: #0a2b70;
    outline: 3px solid rgba(58, 231, 208, 0.32);
    outline-offset: 2px;
}

.baksal-pwa-install__icon {
    display: grid;
    width: 30px;
    height: 30px;
    place-items: center;
    flex: 0 0 30px;
    border-radius: 9px;
    color: #061c4f;
    background: #3ae7d0;
    font-size: 20px;
    font-weight: 900;
}

.baksal-pwa-dialog {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(0, 12, 40, 0.64);
    direction: rtl;
}

.baksal-pwa-dialog.is-visible { display: flex; }

.baksal-pwa-dialog__card {
    width: min(100%, 420px);
    padding: 24px;
    border-radius: 20px;
    color: #172033;
    background: #ffffff;
    box-shadow: 0 24px 70px rgba(0, 12, 40, 0.3);
    font-family: Tahoma, Arial, sans-serif;
    text-align: right;
}

.baksal-pwa-dialog__card h2 {
    margin: 0 0 12px;
    color: #061c4f;
    font-size: 21px;
    font-weight: 800;
}

.baksal-pwa-dialog__card p {
    margin: 0 0 18px;
    font-size: 15px;
    line-height: 1.8;
}

.baksal-pwa-dialog__close {
    width: 100%;
    min-height: 44px;
    border: 0;
    border-radius: 12px;
    color: #061c4f;
    background: #3ae7d0;
    font-weight: 800;
    cursor: pointer;
}

@media (max-width: 600px) {
    .baksal-pwa-install {
        right: 12px;
        bottom: 12px;
        max-width: calc(100vw - 24px);
    }
}

@media (display-mode: standalone) {
    .baksal-pwa-install { display: none !important; }
}
