/* PWA Install Prompt Styles */
.pwa-install-prompt {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: #ffffff;
    padding: 20px;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
    z-index: 10000;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}

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

.pwa-install-prompt-content {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.pwa-install-prompt-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    padding: 6px;
}

.pwa-install-prompt-icon img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.pwa-install-prompt-text {
    flex: 1;
}

.pwa-install-prompt-text h4 {
    margin: 0 0 5px 0;
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
}

.pwa-install-prompt-text p {
    margin: 0;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.4;
}

.pwa-install-timer-bar {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 15px;
}

.pwa-install-timer-progress {
    height: 100%;
    background: #ffffff;
    border-radius: 2px;
    transition: width 0.1s linear;
    width: 100%;
}

.pwa-install-prompt-actions {
    display: flex;
    gap: 10px;
}

.pwa-install-btn {
    flex: 1;
    background: #ffffff;
    color: #dc3545;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.pwa-install-btn:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.pwa-install-btn:active {
    transform: translateY(0);
}

.pwa-install-close-btn {
    background: transparent;
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.5);
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pwa-install-close-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #ffffff;
}

/* Mobil cihazlar için özel stil */
@media (max-width: 768px) {
    .pwa-install-prompt {
        padding: 16px;
    }
    
    .pwa-install-prompt-content {
        gap: 12px;
    }
    
    .pwa-install-prompt-icon {
        width: 36px;
        height: 36px;
        padding: 5px;
    }
    
    .pwa-install-prompt-icon img {
        width: 26px;
        height: 26px;
    }
    
    .pwa-install-prompt-text h4 {
        font-size: 16px;
    }
    
    .pwa-install-prompt-text p {
        font-size: 13px;
    }
    
    .pwa-install-btn,
    .pwa-install-close-btn {
        padding: 10px 20px;
        font-size: 14px;
    }
}

/* Masaüstünde gizle */
@media (min-width: 769px) {
    .pwa-install-prompt {
        display: none !important;
    }
}

/* iOS Talimatları için özel stil */
.pwa-install-instructions {
    max-height: 80vh;
    overflow-y: auto;
}

.pwa-install-instructions .pwa-install-prompt-text p {
    font-size: 14px;
    line-height: 1.6;
}

/* Animasyonlar */
@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

.pwa-install-prompt.show {
    animation: slideUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

