.pwa-install-prompt {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #038169;
    color: white;
    padding: 12px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transform: translateY(-100%);
    transition: transform 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    height: 60px;
    box-sizing: border-box;
}

.pwa-install-prompt.show {
    transform: translateY(0);
}

.pwa-prompt-content {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.pwa-prompt-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.pwa-prompt-message {
    font-size: 14px;
    margin: 0;
}

.pwa-prompt-buttons {
    display: flex;
    gap: 10px;
    align-items: center;
}

.pwa-install-button {
    background: white;
    color: #038169;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
}

.pwa-install-button:hover {
    background: #f0f0f0;
}

.pwa-close-button {
    background: transparent;
    color: white;
    border: none;
    font-size: 20px;
    padding: 0 8px;
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.pwa-close-button:hover {
    opacity: 1;
}

/* Adjust main content when prompt is shown */
body.has-install-prompt {
    padding-top: 60px;
}

/* Mobile-specific adjustments */
@media (max-width: 768px) {
    .pwa-install-prompt {
        padding: 10px 15px;
        height: 50px;
    }
    
    .pwa-prompt-message {
        font-size: 13px;
    }
    
    .pwa-install-button {
        padding: 5px 10px;
        font-size: 13px;
    }
    
    body.has-install-prompt {
        padding-top: 50px;
    }
}

/* Redirect modal styles */
.pwa-redirect-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.pwa-redirect-modal.show {
    opacity: 1;
    visibility: visible;
}

.pwa-redirect-content {
    background: white;
    border-radius: 12px;
    padding: 25px;
    max-width: 400px;
    width: 90%;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.pwa-redirect-modal.show .pwa-redirect-content {
    transform: translateY(0);
}

.pwa-redirect-icon {
    font-size: 48px;
    margin-bottom: 15px;
    color: #038169;
}

.pwa-redirect-title {
    font-size: 20px;
    margin-bottom: 15px;
    color: #333;
}

.pwa-redirect-message {
    margin-bottom: 20px;
    color: #666;
    line-height: 1.5;
}

.pwa-redirect-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.pwa-redirect-button {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.pwa-redirect-open {
    background: #038169;
    color: white;
}

.pwa-redirect-open:hover {
    background: #026a56;
}

.pwa-redirect-cancel {
    background: #f1f1f1;
    color: #333;
}

.pwa-redirect-cancel:hover {
    background: #e1e1e1;
}