/* Renova PWA — Install Banner Styles */

.renovapwa-banner {
    position: fixed;
    left: 0;
    right: 0;
    z-index: 999999;
    display: none;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease;
    opacity: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.renovapwa-banner--bottom { bottom: 0; transform: translateY(100%); }
.renovapwa-banner--top { top: 0; bottom: auto; transform: translateY(-100%); }

.renovapwa-banner--visible {
    transform: translateY(0) !important;
    opacity: 1;
}

.renovapwa-banner__content {
    display: flex;
    align-items: center;
    gap: 14px;
    max-width: 680px;
    margin: 16px auto;
    padding: 14px 20px;
    background: rgba(15, 15, 20, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    color: #ffffff;
}

.renovapwa-banner__icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    flex-shrink: 0;
    object-fit: cover;
}

.renovapwa-banner__text {
    flex: 1;
    min-width: 0;
}

.renovapwa-banner__title {
    display: block;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 2px;
    color: #ffffff;
}

.renovapwa-banner__desc {
    display: block;
    font-size: 13px;
    color: #a0a0a8;
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.renovapwa-banner__btn {
    flex-shrink: 0;
    padding: 10px 22px;
    background: #e4584b;
    color: #ffffff;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
    white-space: nowrap;
}

.renovapwa-banner__btn:hover {
    background: #d04538;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(228, 88, 75, 0.3);
}

.renovapwa-banner__close {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.06);
    border: none;
    border-radius: 8px;
    color: #888;
    font-size: 18px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    line-height: 1;
}

.renovapwa-banner__close:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

/* Mobile responsive */
@media (max-width: 600px) {
    .renovapwa-banner__content {
        margin: 10px;
        padding: 12px 14px;
        gap: 10px;
        border-radius: 14px;
    }

    .renovapwa-banner__icon {
        width: 40px;
        height: 40px;
    }

    .renovapwa-banner__desc {
        display: none;
    }

    .renovapwa-banner__btn {
        padding: 8px 16px;
        font-size: 13px;
    }
}
