/* PWA Install Prompt Styles */
#pwa-install-prompt {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

#pwa-install-prompt.show {
    opacity: 1;
    visibility: visible;
}

.pwa-prompt-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(5px);
}

.pwa-prompt-content {
    position: relative;
    background: linear-gradient(135deg, #0D3834 0%, #0F4841 100%);
    border-radius: 20px;
    padding: 40px 30px;
    max-width: 400px;
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(38, 166, 154, 0.3);
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.pwa-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    color: white;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.pwa-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.pwa-icon {
    margin: 0 auto 20px;
    width: 80px;
    height: 80px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 3px solid rgba(38, 166, 154, 0.5);
}

.pwa-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pwa-prompt-content h3 {
    color: white;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
}

.pwa-prompt-content p {
    color: #A0B3B0;
    font-size: 16px;
    margin-bottom: 25px;
    line-height: 1.6;
}

.pwa-benefits {
    display: flex;
    justify-content: space-around;
    margin: 25px 0;
    gap: 15px;
}

.pwa-benefit {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    flex: 1;
}

.pwa-benefit i {
    font-size: 28px;
    color: #26A69A;
    background: rgba(38, 166, 154, 0.15);
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pwa-benefit span {
    color: #A0B3B0;
    font-size: 13px;
    font-weight: 500;
}

.pwa-install-btn,
.pwa-later-btn {
    width: 100%;
    padding: 14px 24px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    margin: 8px 0;
}

.pwa-install-btn {
    background: linear-gradient(135deg, #26A69A 0%, #1E8A7F 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(38, 166, 154, 0.3);
}

.pwa-install-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(38, 166, 154, 0.4);
}

.pwa-install-btn i {
    margin-right: 8px;
}

.pwa-later-btn {
    background: transparent;
    color: #A0B3B0;
    border: 1px solid rgba(160, 179, 176, 0.3);
}

.pwa-later-btn:hover {
    background: rgba(255, 255, 255, 0.05);
    color: white;
}

.pwa-prompt-content ol {
    color: #A0B3B0;
    line-height: 2;
}

.pwa-prompt-content ol li {
    margin: 10px 0;
}

/* Mobile Responsiveness */
@media (max-width: 480px) {
    .pwa-prompt-content {
        padding: 30px 20px;
    }
    
    .pwa-prompt-content h3 {
        font-size: 20px;
    }
    
    .pwa-benefits {
        flex-direction: column;
        gap: 15px;
    }
    
    .pwa-benefit {
        flex-direction: row;
        justify-content: center;
    }
    
    .pwa-benefit i {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
}
