/* PWA Install Banner */
.install-banner {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;

    width: calc(100% - 30px);
    max-width: 460px;

    background: #ffffff;
    border-radius: 22px;
    padding: 22px;

    box-shadow:
        0 15px 45px rgba(0, 0, 0, .15),
        0 5px 20px rgba(13, 110, 253, .08);

    display: none;
    animation: bannerUp .35s ease;
}

@keyframes bannerUp {
    from {
        opacity: 0;
        transform: translate(-50%, 40px);
    }

    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

/* Close */

.install-close {
    position: absolute;
    top: 14px;
    right: 14px;

    opacity: 1;
    filter: invert(20%) sepia(95%) saturate(5000%) hue-rotate(345deg);
    transition: .25s;
}

.install-close:hover {
    transform: rotate(90deg) scale(1.1);
    opacity: 1;
}

/* Content */

.install-content {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Logo */

.install-logo {
    flex-shrink: 0;
}

.install-logo img {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    object-fit: cover;

    box-shadow:
        0 8px 25px rgba(13, 110, 253, .18);

    border: 3px solid #fff;
}

/* Badge */

.install-badge {
    display: inline-block;

    background: #e9f2ff;
    color: #2487ce;

    padding: 4px 12px;

    border-radius: 50px;

    font-size: 12px;
    font-weight: 700;

    margin-bottom: 8px;
}

/* Text */

.install-text h5 {
    margin-bottom: 6px;
    font-weight: 700;
    color: #124265;
}

.install-text p {
    margin: 0;
    color: #6c757d;
    font-size: 14px;
    line-height: 1.5;
}

/* Button */

.install-btn {
    width: 100%;
    margin-top: 18px;

    border: none;
    border-radius: 14px;

    padding: 13px;

    background: linear-gradient(135deg, #2487ce, #4b8cff);
    color: #fff;

    font-weight: 600;
    font-size: 15px;

    transition: .3s;
}

.install-btn:hover {
    transform: translateY(-2px);

    box-shadow:
        0 10px 25px rgba(13, 110, 253, .35);
}

/* Mobile */

@media (max-width:576px) {

    .install-banner {
        bottom: 12px;
        padding: 18px;
    }

    .install-logo img {
        width: 54px;
        height: 54px;
        border-radius: 14px;
    }

    .install-text h5 {
        font-size: 17px;
    }

    .install-text p {
        font-size: 13px;
    }
}

/* PWA Install Banner */