.pwa-install-popup {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px;
    transform: translateY(100%);
    transition: transform 0.3s ease-in-out;
    z-index: 10000;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
}

.pwa-install-popup.show {
    transform: translateY(0);
}

.popup-content {
    max-width: 400px;
    margin: 0 auto;
    text-align: center;
}

.popup-icon {
    font-size: 48px;
    margin-bottom: 10px;
    display: block;
}

.popup-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 8px;
}

.popup-description {
    font-size: 14px;
    margin-bottom: 20px;
    opacity: 0.9;
    line-height: 1.4;
}

.popup-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.btn-install {
    background: white;
    color: #667eea;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
}

.btn-install:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.btn-later {
    background: transparent;
    color: white;
    border: 2px solid white;
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
}

.btn-later:hover {
    background: white;
    color: #667eea;
}

.popup-close {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
    opacity: 0.7;
}

.popup-close:hover {
    opacity: 1;
}

/* Mobile-specific styles */
@media (max-width: 768px) {
    .pwa-install-popup {
        padding: 16px;
    }

    .popup-icon {
        font-size: 40px;
    }

    .popup-title {
        font-size: 16px;
    }

    .popup-description {
        font-size: 13px;
    }

    .popup-buttons {
        flex-direction: column;
    }

    .btn-install, .btn-later {
        width: 100%;
        padding: 12px;
    }
}

/* Install instructions modal */
.install-instructions-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 10001;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.install-instructions-modal.show {
    display: flex;
}

.modal-content {
    background: white;
    border-radius: 12px;
    padding: 24px;
    max-width: 400px;
    width: 100%;
    text-align: center;
    color: #333;
}

.modal-title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 16px;
    color: #667eea;
}

.modal-steps {
    text-align: left;
    margin: 20px 0;
}

.modal-step {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    padding: 8px;
    background: #f8f9ff;
    border-radius: 8px;
}

.step-number {
    background: #667eea;
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    margin-right: 12px;
    flex-shrink: 0;
}

.step-text {
    font-size: 14px;
    line-height: 1.4;
}

.modal-close {
    background: #667eea;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: bold;
    margin-top: 16px;
}

/* Feature highlights */
.feature-list {
    display: flex;
    justify-content: space-around;
    margin: 15px 0;
    font-size: 12px;
}

.feature-item {
    text-align: center;
    opacity: 0.9;
}

.feature-icon {
    font-size: 20px;
    display: block;
    margin-bottom: 4px;
}
