/* ── Rentals24 PWA Install Banner ───────────────────────────────────────────── */

.r24-pwa-banner {
    position: fixed;
    bottom: -120px;           /* starts hidden below the viewport */
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    width: calc(100% - 2rem);
    max-width: 480px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.14);
    padding: 0.875rem 1rem 0.875rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: bottom 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 1px solid #e8ecf0;
}

.r24-pwa-banner--visible {
    bottom: 1.25rem;
}

/* Icon */
.r24-pwa-banner__icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    overflow: hidden;
}

.r24-pwa-banner__icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Text */
.r24-pwa-banner__text {
    flex: 1;
    min-width: 0;
}

.r24-pwa-banner__title {
    font-size: 0.8125rem;
    font-weight: 700;
    color: #1a1f2b;
    line-height: 1.2;
    margin-bottom: 0.125rem;
}

.r24-pwa-banner__sub {
    font-size: 0.73rem;
    color: #6c7a8d;
    line-height: 1.3;
}

/* Actions */
.r24-pwa-banner__actions {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    flex-shrink: 0;
}

.r24-pwa-banner__btn-install {
    background: #1B84FF;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 0.5rem 0.875rem;
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.15s;
    line-height: 1;
}

.r24-pwa-banner__btn-install:hover {
    background: #056EE9;
}

.r24-pwa-banner__btn-dismiss {
    background: transparent;
    border: none;
    color: #9aa3af;
    cursor: pointer;
    padding: 0.375rem;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.15s, background 0.15s;
    flex-shrink: 0;
}

.r24-pwa-banner__btn-dismiss:hover {
    color: #4b5563;
    background: #f3f4f6;
}

/* Responsive: stack on very narrow screens */
@media (max-width: 360px) {
    .r24-pwa-banner {
        flex-wrap: wrap;
    }
    .r24-pwa-banner__actions {
        width: 100%;
        justify-content: flex-end;
    }
}
