/* PWA Simple Styles - Solo instalación básica desde login */

/* PWA Install Banner - Solo para login */
.pwa-install-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: linear-gradient(135deg, #1e64f9, #4285f4);
    color: white;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transform: translateY(100%);
    transition: transform 0.3s ease-out;
    z-index: 10000;
    box-shadow: 0 -2px 15px rgba(0,0,0,0.2);
    border-radius: 10px;
}

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

.pwa-install-banner .message {
    flex: 1;
    margin-right: 15px;
}

.pwa-install-banner .message h4 {
    margin: 0 0 5px 0;
    font-size: 1.1em;
    font-weight: 600;
}

.pwa-install-banner .message p {
    margin: 0;
    opacity: 0.9;
    font-size: 0.9em;
}

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

.pwa-install-banner button {
    background: rgba(255,255,255,0.2);
    border: 1px solid rgba(255,255,255,0.3);
    color: white;
    padding: 8px 16px;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
    font-size: 0.9em;
}

.pwa-install-banner button:hover {
    background: rgba(255,255,255,0.3);
}

.pwa-install-banner button.primary {
    background: white;
    color: #1e64f9;
    font-weight: bold;
}

.pwa-install-banner button.primary:hover {
    background: #f8f9fa;
}

/* iOS Install Instructions */
.ios-install-hint {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: #007AFF;
    color: white;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    z-index: 10000;
    animation: slideUp 0.3s ease-out;
}

.ios-install-hint button {
    background: rgba(255,255,255,0.2);
    border: none;
    color: white;
    padding: 5px 10px;
    border-radius: 3px;
    margin-left: 10px;
    cursor: pointer;
}

.ios-install-hint button:hover {
    background: rgba(255,255,255,0.3);
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Responsive adjustments */
@media (max-width: 480px) {
    .pwa-install-banner {
        left: 10px;
        right: 10px;
        bottom: 10px;
        padding: 12px 15px;
    }
    
    .pwa-install-banner .actions {
        flex-direction: column;
        gap: 8px;
        width: 100%;
    }
    
    .pwa-install-banner button {
        width: 100%;
        padding: 10px;
    }
    
    .ios-install-hint {
        left: 10px;
        right: 10px;
        bottom: 10px;
    }
}
