/* Mobil "Uygulamayı Yükle" banner (PWA) */

.pearl-app-install {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 1050;
    display: none;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    background: #fff;
    border: 1px solid #e5e9ef;
    border-radius: 14px;
    box-shadow: 0 10px 28px rgba(3, 30, 35, 0.18);
    transform: translateY(120%);
    transition: transform 0.28s ease;
}

.pearl-app-install.is-visible {
    display: flex;
    transform: translateY(0);
}

.pearl-app-install__close {
    position: absolute;
    top: 6px;
    right: 8px;
    border: 0;
    background: transparent;
    color: #8a93a2;
    width: 28px;
    height: 28px;
    line-height: 1;
    padding: 0;
}

.pearl-app-install__icon img {
    display: block;
    width: 48px;
    height: 48px;
    border-radius: 10px;
    border: 1px solid #e5e9ef;
    object-fit: contain;
    background: #fff;
}

.pearl-app-install__body {
    flex: 1;
    min-width: 0;
    padding-right: 8px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.pearl-app-install__title {
    font-size: 0.95rem;
    color: #031e23;
    line-height: 1.25;
}

.pearl-app-install__sub {
    font-size: 0.75rem;
    color: #6c757d;
}

.pearl-app-install__btn {
    flex-shrink: 0;
    border-radius: 999px;
    padding-left: 1rem;
    padding-right: 1rem;
    font-weight: 600;
}

body.has-app-install-banner {
    padding-bottom: 88px;
}

/* iOS yardım sheet */
.pearl-app-install-ios {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1060;
    background: rgba(3, 30, 35, 0.45);
    align-items: flex-end;
    justify-content: center;
    padding: 16px;
}

.pearl-app-install-ios.is-open {
    display: flex;
}

.pearl-app-install-ios__sheet {
    position: relative;
    width: 100%;
    max-width: 420px;
    background: #fff;
    border-radius: 16px 16px 12px 12px;
    padding: 20px 20px 24px;
    box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.15);
}

.pearl-app-install-ios__sheet h3 {
    font-size: 1.15rem;
    margin: 0 0 12px;
    color: #007ac9;
}

.pearl-app-install-ios__sheet ol {
    margin: 0 0 12px;
    padding-left: 1.2rem;
}

.pearl-app-install-ios__sheet li {
    margin-bottom: 8px;
    color: #031e23;
}

.pearl-app-install-ios__close {
    position: absolute;
    top: 10px;
    right: 12px;
    border: 0;
    background: transparent;
    color: #8a93a2;
    width: 32px;
    height: 32px;
}

@media (min-width: 992px) {
    .pearl-app-install,
    .pearl-app-install-ios {
        display: none !important;
    }

    body.has-app-install-banner {
        padding-bottom: 0;
    }
}
