/* PWA Install Button Styles */

#pwa-install-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1050;
    display: none;
    box-shadow: 0 6px 20px rgba(102, 16, 242, 0.4);
    border-radius: 50px;
    padding: 14px 28px;
    font-weight: 600;
    font-size: 15px;
    border: none;
    background: linear-gradient(135deg, #6610f2 0%, #5a0cd9 100%);
    color: white;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    min-width: 150px;
    letter-spacing: 0.3px;
}

#pwa-install-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(102, 16, 242, 0.5);
    background: linear-gradient(135deg, #7520ff 0%, #6610f2 100%);
}

#pwa-install-btn:active {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(102, 16, 242, 0.4);
}

#pwa-install-btn i {
    margin-right: 10px;
    font-size: 16px;
}

/* Адаптив для мобильных */
@media (max-width: 768px) {
    #pwa-install-btn {
        bottom: 15px;
        right: 15px;
        left: 15px;
        width: auto;
        padding: 14px 20px;
        font-size: 15px;
        text-align: center;
    }
}

/* iOS Safari инструкция (показывается для iOS пользователей) */
#ios-install-hint {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
    color: white;
    padding: 15px 20px;
    text-align: center;
    z-index: 1049;
    display: none;
    box-shadow: 0 -4px 12px rgba(0,0,0,0.15);
}

#ios-install-hint .close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    background: transparent;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    line-height: 30px;
}

#ios-install-hint p {
    margin: 0;
    font-size: 14px;
}

#ios-install-hint strong {
    font-weight: 700;
}

